Hardware Configuration Guidelines - Libraries Attached to a SAN

Table of Contents

Overview

The Basic SAN Setup

SAN Addressing Overview

SCSI-LUN Mapping Guidelines for SAN Libraries

SCSI Target Guidelines

Fibre Channel LUN Guidelines

Single Router, Multiple Library Configuration

Multiple Router, Single Library Configuration

Avoiding Common Errors

Avoiding Dynamic Address Changes

SAN Configuration Summary

Overview

Storage Area Networks (SAN) present additional configuration issues, that are discussed in the following sections.

Stop and disable Removable Storage Management (RSM) service on all Windows 2000 on a SAN, which can detect the shared tape/optical drives that are configured. These include other MediaAgents and even other machines which do not have any components installed. This is a very stringent requirement as data corruption occurs if both RSM and MediaAgent running on any machine in the SAN access the same drive at the same time.

We strongly recommend that in a SAN based environment, hardware zoning of tape drives be implemented so that only the designated MediaAgents can detect and control the devices. This will minimize unnecessary monitoring and access to the devices from non-designated machines.

The Basic SAN Setup

A Storage Area Network (SAN) is a Fibre Channel network that is dedicated to carrying backup data. SAN enhances backup and restore performance and eases congestion on an enterprise's Local Area Network (LAN), freeing it for normal business activities and communication. You can configure your SAN environment to take advantage of the Dynamic Drive Sharing (DDS) feature to share drives among multiple MediaAgents in a CommCell® group within a SAN environment. 

Basic SAN components include:

There are two basic SAN configurations:

SAN Addressing Overview

In order for backup devices to be available to the MediaAgent, the system must know which physical device is mapped to a given SCSI address. When a MediaAgent is directly attached to a storage device, the SCSI address is determined by the physical SCSI connection. SAN adds a Fibre Channel (FC) network between the MediaAgent and the SCSI backup device. However, the MediaAgent and the backup device still use the SCSI protocol to communicate across the FC network. Consequently, the MediaAgent still needs to be able to associate each physical device with a SCSI address. 

A SCSI address includes three identifiers. The table below lists the components of a SCSI address and its counterparts in the switched fibre and FC-AL addressing schemes.

SCSI Fibre Channel Arbitrated Loop (FC-AL)* Switched Fibre (FC-SW)*
Bus Loop Fabric
Target Arbitrated Loop Physical Address (AL_PA) Port_ID
Logical Unit Number (LUN) LUN LUN

* Conceptually, both a loop and fabric represent collections of addressable devices. In practice, this part of the address is generally the same as the port number of the HBA that connects the host to the FC network.

SCSI-LUN Mapping Guidelines for SAN Libraries

See the hardware manufacturer’s documentation for instructions on setting SCSI targets for storage devices and SCSI-to-FC address mapping for SAN routers.
LUN guidelines must be followed in order for the system to function properly. SCSI target guidelines are recommendations that can make system administration easier, but they are not requirements.

SCSI Target Guidelines

Observe the following guidelines when assigning SCSI targets to storage devices attached to a SAN:

Fibre Channel LUN Guidelines

Observe the following guidelines when assigning fibre channel LUNs to storage devices attached to a SAN:

The following illustrations provide several scenarios that demonstrate these guidelines.

Single Router, Multiple Library Configuration

Moving from left to right, the diagram depicts the following: A MediaAgent contains an HBA that connects it, via a fibre channel switch to a SAN router. Within the fibre network, SAN devices are addressed by fibre channel LUNs, which are set through the LUN mapping interface provided by the manufacturer of the router. The router is connected via SCSI buses and cables to two libraries. Within the libraries, each device has a SCSI target, which is set via the interface provided by the manufacturer of the library.

SCSI Target

When assigning SCSI targets, target 0 is assigned first with the rest in ascending order. The lowest target within the library is assigned to the library’s media changer. If the library has additional drives, target 7 would be skipped, because the SCSI controller uses SCSI ID 7 by default, and the assignments continue with target 8.

LUN

When assigning fibre channel LUNs, we started at 0 and assigned contiguous LUNs in ascending order. The diagram only depicts those aspects of the SCSI and FC addresses that are commonly configured by the user. The tables below show the complete address translations that are performed by the router between SCSI addresses (Bus, Target, LUN) and fibre channel addresses (Loop, AL_PA, LUN), and the reverse translations that are performed by the MediaAgent’s HBA. The left-most SCSI addresses are the ones by which the SAN devices are identified in the Library and Drive Configuration window. See Library and Drive Configuration for additional information on configuring libraries and drives in the Library and Drive Configuration window. For details on SCSI and FC addressing schemes, see SAN Addressing Overview above. 

Note that values of zero have been assigned to Loop, AL _PA, and the SCSI bus and target in the address on the left. The actual values depend on the SAN configuration.

Multiple Router, Single Library Configuration

This configuration can maximize performance for a library containing many drives. Moving from left to right, the diagram depicts the following: A MediaAgent contains an HBA that connects it via a Fibre Channel network to a SAN switch. The switch is connected to two SAN routers. Within the fibre network, SAN devices are addressed by Fibre Channel LUNs, which are set through the LUN mapping interface provided by the manufacturer of the router. The router is connected via SCSI buses and cables to a single library containing six drives. Within the library, each device has a SCSI target, which is set via the interface provided by the manufacturer of the library.

SCSI Target

When assigning SCSI targets, we started at target 0 and went in ascending order. We assigned the lowest target within the library to the library’s media changer. Note that if the library had additional drives, we would skip target 7 and continue with target 8.

LUN

When assigning Fibre Channel LUNs, we started at 0 and assigned contiguous LUNs in ascending order. We restarted LUN numbering with the second router. The diagram depicts only those aspects of the SCSI and FC addresses that are commonly configured by the user. The tables below show the complete address translations that are performed by the router between SCSI addresses (Bus, Target, LUN) and Fibre Channel addresses (Loop, AL_PA, LUN), and the reverse translations that are performed by the MediaAgent’s HBA. The left most SCSI addresses are the ones by which the SAN devices are identified in the Library and Drive Configuration window. For more information on configuring SAN devices using the Library and Drive Configuration window from the CommCell Console, see SAN-Attached Libraries. Each router is represented in the addresses on the left as a separate SCSI target. For details on SCSI and FC addressing schemes, see SAN Addressing Overview above. 

Note that in the tables below, values have been assigned to Loop, AL_PA, and the SCSI bus and target in the address on the left. The actual values depend on the system configuration.

Avoiding Common Errors

In setting up a SAN for use by a MediaAgent, the essential goal is to ensure that each physical device is represented in the CommCell® group by one, and only one, SCSI address, (bus, target and LUN) and that this SCSI address remains consistent through all layers of the SAN, at all times. If a single device is represented by multiple SCSI addresses, or if multiple instances of a single address for a device exist within the network, resource contention can occur as different MediaAgents attempt to use the same drive simultaneously.

Avoiding Dynamic Address Changes 

A fibre channel address can change at either the AL_PA/ Port_ID level or at the LUN level. In either case, the HBA translated SCSI address of affected devices changes as well. If the SCSI address of a configured device changes, the MediaAgent will be unable to access the device. The sections that follow tell you how to maintain address stability within your SAN.

AL_PAs and Port_IDs

AL_PAs and Port_IDs can be set in one of two ways:

LUNs

Fibre channel LUNs are set by bridges, routers and gateways, which translate the SCSI addresses (SCSI port, target, and LUN) of attached devices to fibre channel addresses. Routers have two addressing modes:

SAN Configuration Summary

The following items summarize the SAN configuration issues that can impact the ability of the MediaAgent to successfully detect and use SAN storage devices:

Back to Top