36
4.1.8 Mapping commands
Access to SCSI devices is via Fibre Port and Fibre LUN addresses mapped to SCSI bus, target and
LUNs. CLI commands are used to modify the mapping.
The AddressMap, AutoMap and RouteXxxxx
map Fibre Channel Port/LUN to SCSI
bus/target/LUN. Host applications use the Fibre
Port and Fibre LUN to access specific SCSI
devices and set up port failover. See Chapter 3.1
and Chapter 3.1.1 for more information.
Appendix B shows the sequence of AutoMap and
RouteXxxxx commands.
AddressMap
Enables port failover, the automatic substitution of the mapping from a failed port to a port reserved to take over for it.
set AddressMap A
configures the FibreBridge to enable mapping of specific devices to a specific Fibre Channel port and LUN
set AddressMap B 1
maps all devices to one port, leaving one port offline and one line reserved to take over in case the port fails
set AddressMap B 2
maps all devices across two ports, leaving the third reserved to take over in case a port fails
set AddressMap C
shows the FibreBridge as a single Fibre Channel device with three ports to a host. All devices are available on
each Fibre Channel port at the same LUN.
Default: A
Actions:
set AddressMap [ A | B [ 1 | 2 ] | C ] ]
SaveConfiguration
Information
: get AddressMap
AutoMap
Automatically maps all currently operational SCSI devices attached to the FibreBridge and distributes the devices among optional,
user-specified Fibre Channel ports. Issue an FCPortList and a SCSIPortList command before issuing an AutoMap command
because AutoMap will ignore devices attached to a non-operational SCSI busses and will assign devices to a non-operational Fibre
Channel port if specified.
Limits: Automapping skips unavailable (offline or failed) SCSI ports; skips unavailable Fibre Channel ports unless specified.
Actions:
.
AutoMap
BootFibreDelay
Initialization of the Fibre Channel port is delayed by 0, 15 or 30 seconds to allow a connected Fibre switch to fully initialize before the
FibreBridge announces its presence.
Limits: 0, 15 or 30 seconds
Default: 0 (no delay)
Action:
set BootFibreDelay [0|15|30]
Information:
get BootFibreDelay
SaveConfiguration
BootScan
Provides dynamic mapping of SCSI devices to the Fibre port/LUN combination via a SCSI bus scan at boot time. All devices discovered during
the bus scans will be assigned to a Fibre port, Fibre LUN combination until the next reset/power cycle. This dynamic mapping will replace the
current, static mapping of the FibreBridge.
Limits: enabled, disabled
Default: disabled
Action: set
BootScan [enabled|disabled]
Information:
get BootScan
SaveConfiguration
BootScanPorts
For legacy applications, selects/displays the ports to be used for a boot scan. Port failover (
AddressMap B)
will override
bootscanports
Action:
set BootScanPorts [fp | all | auto]
Information:
get BootScanPorts
SaveConfiguration
DispFcPortDB
Displays the contents of the specified FC port’s internal port database which contains Fibre Channel addressing information for each FC target
device visible to the FibreBridge.
Action:
none
Information:
DispFcPortDB <fp>
Returns: Node name, 24-bit port ID, 8-bit internal loop ID of each FC
device