HSG80 ACS Solution Software V8.6 for IBM AIM Installation and Configuration Guide

Table Of Contents
114 HSG80 ACS Solution Software Version 8.6 for IBM AIX Installation and Configuration Guide
Assigning Unit Numbers
The controller keeps track of the unit with the unit number. The unit number can be from
0199 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 connection 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:
099 are assigned to host port 1 of both controllers.
100199 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 is shown in the following equation:
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)