Beruflich Dokumente
Kultur Dokumente
For problems with a storage area network, there are many possible causes. SAN
problems may be with software on the machine trying to use the device, the
connections to the device, or the device itself.
The first question to ask whenever a SAN problem is encountered is "Has anything
been changed?" Changes anywhere between the machine trying to use the device and
the device itself may be suspect, especially if the device worked prior to a given
change and stopped working after that change.
Fibre channel
Fibre channel denotes a fibre-optical connection to a device or component.
This is typically abbreviated as FC.
Host bus adapter
A host bus adapter is used by a given machine to access a storage area
network. A host bus adapter is similar in function to a network adapter and
how it provides access for a machine to a local area network or wide area
network. This is typically abbreviated as HBA.
Storage area network
A storage area network is a network of shared devices that can typically be
accessed using fibre. Often, a storage area network is used to share devices
between many different machines. This is typically abbreviated as SAN.
Diagnosing a SAN
• Know your SAN configuration
• Supported devices
• Considerations for a HBA
• HBA configuration issues
• FC switch configuration issues
• Verify data gateway port settings
• Verify the SAN configuration between devices
Device supported
For a given device, verify with the device vendor that it is supported in a SAN. This
includes whether or not it is supported by the HBAs used in your SAN environment,
which means verifying with the vendors of the hubs, gateways, and switches that
make up the SAN that this device is supported.
The HBA is critical device for the proper functioning of a SAN. Problems that arise
relating to HBAs range from improper configuration to outdated bios or device
drivers.
BIOS
Host bus adapters have an imbedded BIOS that can be updated. The vendor
for the HBA will have utilities for updating the BIOS in an HBA. Periodically,
the HBAs in use on your SAN should be checked to see if there are BIOS
updates that should be applied.
Device driver
Host bus adapters use device drivers to work with the operating system to
provide connectivity to the SAN. The vendor will typically provide a device
driver for use with their HBA. Similarly, the vendor will provide instructions
and any necessary tools or utilities for updating the device driver. Periodically
the device driver level should be compared to what is available from the
vendor and if needed, it should be updated to pick up the latest fixes and
support.
Configuration
Host bus adapters typically have a number of configurable settings. The
following settings typically affect how TSM functions with a SAN device:
Host bus adapters typically have many different configuration settings and options.
The vendor for the HBA should provide information about the settings for your HBA
and the appropriate values for these settings. Similarly, the HBA vendor should
provide a utility and other instructions on how to configure your HBA. The settings
that typically affect using TSM with a SAN are:
SAN topology
The HBA should be set appropriately based on the SAN topology being used.
For example, if your SAN is an arbitrated loop, the HBA should be set for this
configuration. If the HBA connects to a Switch, this HBA port should be set to
"point to point" and not "loop".
With TSM SAN Device Mapping perform SAN discovery on most of the
platforms, the persistent binding of the devices are not required. TSM server
can find the device if the device path has been changed due to reboot or other
reasons.
FC link speed
In many SAN topologies, the SAN can be configured with a maximum speed.
For example, if the FC switch maximum speed is 1GB/sec, the HBA should
also be set to this value. Or the HBA should be set for automatic (AUTO)
negotiation if the HBA supports this capability.
Is fibre channel tape support enabled?
TSM requires that an HBA is configured with tape support. TSM typically
uses SANs for access to tape drives and libraries. As such, the HBA setting to
support tapes must be enabled.
A FC switch typically supports many different configurations. The ports on the switch
need to be configured appropriately for the type of SAN that is setup as well as the
attributes of the SAN.
The vendor for the switch should provide information about the appropriate settings
and configuration based upon the SAN topology being deployed. Similarly, the switch
vendor should provide a utility and other instructions on how to configure it. The
settings that typically affect how TSM uses a switched SAN are:
FC link speed
In many SAN topologies, the SAN can be configured with a maximum speed.
For example, if the FC switch maximum speed is 1GB/sec, the HBA should
also be set to this value. Or the HBA should be set for automatic (AUTO)
negotiation if the HBA supports this capability.
Port mode
The ports on the switch need to be configured appropriately for the type of
SAN topology being implemented. For example, if the SAN is an arbitrated
loop, the port should be set to FL_PORT. For another example, if the HBA is
connected to a Switch. The HBA options should be set to point-to-point and
not to loop.
A data gateway in a SAN translates fibre channel to SCSI for SCSI devices attached
to the gateway. Because data gateways are popular in SANs because they allow the
use of SCSI devices, it is important that the port settings for a data gateway are
correct.
The vendor for the data gateway should provide information about the appropriate
settings and configuration based upon the SAN topology being deployed and SCSI
devices being used. Similarly, the vendor should provide a utility and other
instructions on how to configure it. The following settings can be used for the FC port
mode on the connected port on a data gateway:
Private target
Only the SCSI devices attached to the data gateway are visible and usable
from this port. For the available SCSI devices, the gateway simply passes the
frames to a given target device. Private target port settings are typically used
for arbitrated loops.
Private target and initiator
Only the SCSI devices attached to the data gateway are visible and usable
from this port. For the available SCSI devices, the gateway simply passes the
frames to a given target device. As an initiator, this data gateway may also
initiate and manage data movement operations. Specifically, there are
extended SCSI commands that allow for third-party data movement. By
setting a given port as an initiator, it is eligible to be used for third-party data
movement SCSI requests.
Public target
All SCSI devices attached to the data gateway as well as other devices
available from the fabric are visible and usable from this port.
Public target and initiator
All SCSI devices attached to the data gateway as well as other devices
available from the fabric are visible and usable from this port. As an initiator,
this data gateway may also initiate and manage data movement operations.
Specifically, there are extended SCSI commands that allow for third-party
data movement. By setting a given port as an initiator, it is eligible to be used
for third-party data movement SCSI requests.
Devices in a SAN, such as a data gateway or a switch, typically provide utilities that
display what that device sees on the SAN. It is possible to use these utilities to better
understand and troubleshoot the configuration of your SAN.
The vendor for the data gateway or switch should provide a utility for configuration.
As part of this configuration utility, there is typically information about how this
device is configured and other information that this device sees about the SAN
topology that it is apart of. These vendor utilities can be used to verify the SAN
configuration between devices:
Data gateway
A data gateway should report all the FC devices as well as the SCSI devices
that are available in the SAN.
Switch
A switch should report information about the SAN fabric.
TSM Management Console
The TSM management console will display device names and the paths to
those devices. This can be useful to help verify that the definitions for TSM
match what is actually available.
Most SAN devices provide monitoring tools that can be used to report information
about errors and performance statistics.
The vendor for the device should provide a utility for monitoring. If a monitoring tool
is available, it will typically report errors also. The errors that are often seen are: