
2–10
HSG80 Array Controller V8.7 Command Line Interface Reference Guide
CLI Command Descriptions
•
Logical unit number or LUN number = the logical unit number presented to
the host connection.
•
Unit number = the number assigned to the unit in the ADD UNITS command.
This is the number by which the unit is known internally to the controllers.
For example, a system has three host connections, each of which can see 8 LUNs.
Each connection designates its LUNs as 0 through 7. To define for each of these
connections a block of 8 units, set the offset for each connection, as follows:
CLI>SET SERVER1 UNIT_OFFSET=0
CLI>SET SERVER2 UNIT_OFFSET=10
CLI>SET SERVER3 UNIT_OFFSET=120
(It is not necessary to use offsets that are divisible by 10, but it
makes things simpler.)
The effects of these offset assignments are as follows:
•
Server1 accesses units D0 through D7, which it sees as LUNs 0 through 7.
•
Server2 accesses units D10 through D17, which it sees as LUNs 0 through 7.
•
Server3 accesses units D120 through D127, which it sees as LUNs 0
through 7.
There is one additional factor to consider when assigning unit numbers and
offsets. If the SCSI_VERSION qualifier of the SET THIS/OTHER
CONTROLLER command is set to SCSI-3, the command console LUN (CCL) is
presented as LUN 0 to every connection, superseding any unit assignments. For
more information see the ADD UNITS command.
Examples
This example shows how to add an entry for a connection named George to the table
of known connections, with the indicated host and adapter worldwide names, on port 2
of “this controller,” and with reservations checked using the port_id of the host bus
adapter.
ADD CONNECTIONS GEORGE HOST_ID=1000-0000-C920-1234
ADAPTER_ID=1000-0000-C920-5678 CONTROLLER=THIS PORT=2
RESERVATION_STYLE=HBA_PORT_ID_BASED