Compaq StorageWorks HSG60 ACS Solution V8.6 for SGI IRIX Installation and Configuration Guide
1–14 HSG60 ACS Solution Software Version 8.6 for SGI Irix Installation and Configuration Guide
Assigning Unit Numbers
The controller keeps track of the unit with the unit number. Unit number can be from 0 -
199 prefixed by a D, which stands for disk drive. A unit can be presented as different
LUNs to different connections. The interaction of a unit and a connection is determined by
several factors:
■ Failover mode of the controller pair
■ The ENABLE_ACCESS_PATH and PREFERRED_PATH switches in the ADD UNIT
(or SET unit) commands
■ The UNIT_OFFSET switch in the ADD CONNECTIONS (or SET connections)
commands
■ The controller port to which the connection is attached
■ The SCSI_VERSION switch of the SET this_controller/other_controller command
The considerations for assigning unit numbers are discussed in the following sections.
Matching Units to Host Connections in Transparent Failover
Mode
In transparent failover mode, the ADD UNIT command creates a unit for host connections
to access and assigns it to either port 1 of both controllers or to port 2 of both controllers.
Unit numbers are assigned to ports as follows:
■ 0 - 99 are assigned to host port 1 of both controllers.
■ 100 - 199 are assigned to host port 2 of both controllers.
For example, unit D2 is on port 1, and unit D102 is on port 2.
The LUN number that a host connection assigns to a unit, is a function of the
UNIT_OFFSET switch of the
ADD (or SET) CONNECTIONS command. The relationship of
offset, LUN number, and unit number follows:
LUN number = unit number – offset
Where...
❏ LUN number is relative to the host (what the host sees the unit as)
❏ unit number is relative to the controller (what the controller sees the unit as)