Digital Equipment Corporation
Maynard, Massachusetts
HSOF Version 3.1
March 1997
While Digital Equipment Corporation believes the information included in this manual is correct as of the date of publication, it
is subject to change without notice. DIGITAL makes no representations that the interconnection of its products in the manner
described in this document will not infringe existing or future patent rights, nor do the descriptions contained in this document
imply the granting of licenses to make, use, or sell equipment or software in accordance with the description. No responsibility is
assumed for the use or reliability of firmware on equipment not supplied by DIGITAL or its affiliated companies. Possession,
use, or copying of the software or firmware described in this documentation is authorized only pursuant to a valid written license
from DIGITAL, an authorized sublicensor, or the identified licensor.
Commercial Computer Software, Computer Software Documentation and Technical Data for Commercial Items are licensed to
the U.S. Government with DIGITAL’S standard commercial license and, when applicable, the rights in DFAR 252.227-7015,
“Technical Data—Commercial Items.”
CI, DIGITAL, HSC, HSJ, HSD, HSZ, OpenVMS, StorageWorks, VAX, VAXcluster, VMS, VMScluster, and the DIGITAL logo
are trademarks of Digital Equipment Corporation. All other trademarks and registered trademarks are the property of their
respective holders.
UNIX is a registered trademark in the United States and other countries licensed exclusively through X/Open Company LTD.
SUN is a registered trademark of Sun Microsystems Corp.
IBM is a registered trademark of International Business Machines Corp.
Windows NT is a registered trademark of Microsoft Corporation.
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC
Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated
in a commercial environment. This equipment generates, uses and can radiate radio frequency energy and, if not installed and
used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this
equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the
interference at his own expense. Restrictions apply to the use of the local-connection port on this series of controllers; failure to
observe these restrictions may result in harmful interference. Always disconnect this port as soon as possible after completing
the setup operation. Any changes or modifications made to this equipment may void the user's authority to operate the
equipment.
Warning!
This is a Class A product. In a domestic environment this product may cause radio interference in which case the user may be
required to take adequate measures.
Achtung!
Dieses ist ein Gerät der Funkstörgrenzwertklasse A. In Wohnbereichen können bei Betrieb dieses Gerätes Rundfunkstörungen
auftreten, in welchen Fällen der Benutzer für entsprechende Gegenmaßnahmen verantwortlich ist.
Avertissement!
Cet appareil est un appareil de Classe A. Dans un environnement résidentiel cet appareil peut provoquer des brouillages
radioélectriques. Dans ce cas, il peut être demandé à l’ utilisateur de prendre les mesures appropriées.
Table of Contents
1 Introduction to the CLI .............................................................1–1
The command line interpreter (CLI) is one of the user interfaces to the StorageWorks™
array controllers in your subsystem. The CLI commands allow you to manage the
subsystem by viewing and modifying the configuration of the controllers and the devices
attached to them. You also use the CLI to start controller diagnostic and utility programs.
CLI commands for configuring and viewing the controllers use the relative terms
THIS_CONTROLLER and OTHER_CONTROLLER. T
the controller that is running the current CLI session. You may have a maintenance
terminal or PC directly connected to the terminal port on the front of the controller, or you
may be using a virtual terminal connection through the host bus. In either case,
HIS_CONTROLLER
T
is the one that you are interacting with directly. This is shown in Figure
1–1.
HIS_CONTROLLER
always refers to
Figure 1–1 Identifying T
OTHER_CONTROLLER
THIS_CONTROLLER
THER_CONTROLLER
O
always refers to the controller that is not running the current CLI
HIS_CONTROLLER
THER_CONTROLLER
, O
CXO-5193A-MC
sessionthe one that is not connected to a terminal or terminal session.
The maintenance terminal port on the controller is meant to be used only for
initial configuration and required maintenance functions. Operation of this port
may cause harmful radio frequency interference. Always disconnect the terminal
and cable when you have finished working with the controller.
You can access the CLI from a maintenance terminal connected to the front bezel of the
controller (local connection) or through the host operating system using a VAXcluster™
system console (VCS), a diagnostic and utility protocol (DUP), or an HSZterm (remote
connection). You must use a local connection to perform initial controller configuration,
such as setting the controller ID. Once you have completed initial configuration and the
controller is visible on the host bus, you can perform all other configuration through a
remote connection.
In a dual-redundant controller configuration, you can view and set the configurations of
both controllers with one local or remote connection. Use T
change the configuration on the controller that is running the CLI session. Use
THER_CONTROLLER
O
commands to view or change the configuration on the partner
controller.
HIS_CONTROLLER
commands to
If you are using a remote DUP connection to the CLI, enter the
EXIT
command at the CLI
prompt to close the connection. You do not need to exit from a local connection.
HSZ40 Array ControllerCLI Reference Manual
1–4Introduction to the CLI
p
g
g
g
p
y
Capturing Your CLI Session
If you are using a remote terminal connection via DUP on an OpenVMS™ system and you
specify the /LOG switch on your command line, a log file of your CLI session is created.
You must use the
EXIT
command to exit the CLI in order to close and print the log file.
Entering CLI Commands
Use the following tips and techniques when entering CLI commands:
• Commands are not case sensitive.
• With few exceptions, you only need to enter enough of each command to make the
command unique (usually three characters). For example,
SHO
is equivalent to
• While the controller is processing a command, you can enter succeeding commands
without waiting for the CLI prompt. The controller will process each command when
it has completed the previous command. (A unit that is experiencing heavy I/O load
may be slow to respond to CLI commands.)
SHOW
.
• You can enter only one switch (or “qualifier”) with each
multiple switches for the same device or unit, you must use multiple
SET
command. To enter
SET
commands.
You can recall and edit the last five commands. This feature can save time and help
prevent mistakes when you need to enter similar commands during configuration. Use the
following keys to recall and edit commands:
KeyFunction
Up Arrow or Ctrl/B,
Down Arrow or
Ctrl/N
Left arrow or Ctrl/D,
Ri
ht arrow or
Ctrl/F
Ctrl/EMoves the cursor to the end of the line.
Ctrl/H or BackspaceMoves the cursor to the beginning of the line.
Ctrl/J or LinefeedDeletes the word to the left of the cursor.
Ctrl/UDeletes characters from the beginning of the line to the cursor.
Ctrl/AToggles between insert mode and overstrike mode. The default
Ctrl/RRecalls the contents of the command line. This is especiall
Ste
s backward and forward through the five most recent CLI
commands.
Moves the cursor left or right in a command line.
settin
is insert mode, which allows you to insert characters at the
cursor location, movin
Overstrike mode re
CLI returns to insert mode at the beginning of each line.
helpful if the system issues a message that interrupts your typing.
the existing characters to the right.
laces existing characters when you type. The
CLI Reference ManualHSZ40 Array Controller
Introduction to the CLI1–5
Specifying the Device PTL
Units accessed by the controller are commonly called logical units (LUN). Each logical
unit has a number that is device addressable through a target. Often, a command requires
that a device’s port-target-LUN (PTL) address be entered. The PTL address is a five-digit
address by which the controller identifies the location of the device.
• P—Designates the controller’s SCSI port number (1 through 6 for 6-port controllers).
• T—Designates the target identification (ID) number of the device. Valid target ID
numbers for a single-controller configuration are 0 through 6. Valid target ID numbers
for a dual-redundant-controller configuration are 0 through 5.
• L—Designates the LUN of the device (must be 0).
Place one space between the port number, target number, and the two-digit LUN number
when entering the PTL address. An example of a PTL address follows:
Commands to the controller must match the following command structure:
COMMAND PARAMETER SWITCHES
Q
Command—Instructs the controller to do something. For example, the SET
command instructs the controller to set something.
Q
Parameter—The object that receives the command and is assigned the task
of processing the command.
Q
Switches—Reserved words that have a special function. For example, the
member switch indicates that the term after it is the name or number of the
storage member.
CLI Reference ManualHSZ40 Array Controller
2
CLI Commands
Descriptions of all CLI Commands
Required Parameters
Optional Switches
Examples
2–2ADD CDROM
ADD CDROM
Adds a CD–ROM drive to the controller configuration and names the drive.
Format
ADD CDROM
Parameters
CDROM-name
Specifies a name for the CD−ROM drive. You use this name with the
to identify the CD−ROM drive as a host-addressable unit.
The name must start with a letter (A–Z) and can then consist of up to eight more
characters made up of letters A-Z, numbers 0-9, periods (.), dashes (-), or underscores (_),
for a total of nine characters.
SCSI-location
The SCSI-Location parameter assigns a PTL address to the CD-ROM that is used by the
controller. See page 1–5, Specifying the Device PTL, for an explanation of the PTL
numbering system.
Examples
To add a CD−ROM drive at port 1, target 0, LUN 0, named CD_PLAYER:
CDROM-name SCSI-location
ADD UNIT
command
See also
CLI> ADD CDROM CD_PLAYER 1 0 0
ADD UNIT
DELETE
SHOW CDROM
ADD DISK2–3
ADD DISK
Adds a disk drive to the controller configuration and names the drive.
Format
ADD DISK
Parameters
disk-name
Specifies a name for the disk drive. You use this name when adding the disk drive to a
storageset or with the
The name must start with a letter (A–Z) and can then consist of up to eight more
characters made up of letters A-Z, numbers 0-9, periods (.), dashes (-), or underscores (_),
for a total of nine characters.
SCSI-location
The SCSI-location parameter assigns a PTL address to the disk drive. See page 1–5,
Specifying the Device PTL, for an explanation of the PTL numbering system.
Switches
disk-name SCSI-location
ADD UNIT
command to create a single-disk host-addressable unit.
TRANSPORTABLE
NOTRANSPORTABLE (Default)
Specify the
TRANSPORTABLE
switch for any disk drive that you want to move to and from
disk drive does not contain any special information space and can be
moved to a non-StorageWorks environment with its data intact. You cannot use a
TRANSPORTABLE
Specify
NOTRANSPORTABLE
mirrorsets. Also use the
disk drive in any type of storageset, such as a stripeset or RAIDset.
for all disk drives that will be used in RAIDsets, stripesets, and
NOTRANSPORTABLE
switch for all single-disk units that will be
used exclusively in a StorageWorks or HSC™ controller.
The controller makes a small portion of nontransportable
disk drives inaccessible to the
host and uses the space to store information (metadata) that improves data reliability, error
detection, and recovery. Because of this metadata, only StorageWorks controllers can
retrieve user data from nontransportable disk drives.
HSZ40 Array ControllerCLI Reference Manual
2–4ADD DISK
Examples
To add nontransportable DISK100 at port 1, target 0, LUN 0:
CLI> ADD DISK DISK100 1 0 0
To add transportable disk DISK230 at port 2, target 3, LUN 0:
CLI> ADD DISK DISK230 2 3 0 TRANSPORTABLE
See also
DELETE
LOCATE
SHOW DISKS
SET disk-name
ADD MIRRORSET2–5
ADD MIRRORSET
Adds a mirrorset to the controller configuration and names the mirrorset. The number of
members is set to the number of devices specified in the command.
Format
ADD MIRRORSET
Parameters
mirrorset-name
Specifies a name for the mirrorset. You use this name with the
identify the mirrorset as a host-addressable unit.
The name must start with a letter (A–Z) and can then consist of up to eight more
characters made up of letters A-Z, numbers 0-9, periods (.), dashes (-), or underscores (_),
for a total of nine characters.
disk-name1 disk-nameN
The names of the disk drives that make up the mirrorset. A mirrorset contains 1 to 6 disk
drives.
switch allows you to set the speed at which the controller copies data from
normal mirrorset members to new members.
NORMAL
Select
to prioritize other controller operations over the copy operation. The
controller uses relatively few resources to perform the copy, and there is little impact on
performance.
FAST
Select
when the copy operation must take precedence over other controller
operations. The controller uses more resources and the copy takes less time, but overall
controller performance is reduced during the copy.
switch allows you to set the criteria the controller uses to choose a replacement
member from the spareset when a mirrorset member fails.
BEST_FIT
Select
to choose a replacement device from the spareset that most closely
matches the capacities of the remaining members. If more than one device in the spareset
is the correct size, the controller selects the device that gives the best performance.
BEST_PERFORMANCE
Select
to choose a replacement device from the spareset that results in
the best performance (the device should be on a different port than existing members). If
more than one device in the spareset has the best performance, the controller selects the
device that most closely matches the size of the remaining members.
switch allows you to control which mirrorset member is used by the
controller to satisfy a read request.
Select
mirrorset member in sequential membership order. No preference is given to any
member.
Select
member with the least busy work queue.
Select the disk-name of a specific member to cause the controller to direct all read requests
to that member. If that member fails out of the mirrorset, the controller reverts to the
LEAST_BUSY
Examples
To add DISK100, DISK210, and DISK320 as a mirrorset with the name MIRR1:
CLI> ADD DISK DISK100 1 0 0
CLI> ADD DISK DISK210 2 1 0
CLI> ADD DISK DISK320 3 2 0
CLI> ADD MIRRORSET MIRR1 DISK100 DISK210 DISK320
CLI> INITIALIZE MIRR1
CLI> ADD UNIT D305 MIRR1
ROUND_ROBIN
LEAST_BUSY
to cause the controller to direct read requests to each
to cause the controller to direct read requests to the
method for mirrorset read requests.
NORMAL
NORMAL
NORMAL
mirrorset
ADD MIRRORSET2–7
See also
ADD DISK
DELETE
INITIALIZE
MIRROR
REDUCE
SHOW MIRRORSETS
UNMIRROR
HSZ40 Array ControllerCLI Reference Manual
2–8ADD PASSTHROUGH
ADD PASSTHROUGH
Creates a passthrough container (command disk) to allow direct access to a device. HSZ
controllers use passthrough containers to communicate with tape drives and tape loaders.
Format
For tape drives and loaders attached to HSZ controllers:
ADD PASSTHROUGH
Parameters
passthrough-name
Specifies a name for the passthrough container. You use this name with the
command to identify the passthrough container as a host-addressable unit. You may want
to use a name that indicates the type of device served by the passthrough container, such as
“TAPE” or “LOADER.”
The name must start with a letter (A–Z) and can then consist of up to eight more
characters made up of letters A-Z, numbers 0-9, periods (.), dashes (-), or underscores (_),
for a total of nine characters.
SCSI-location
The SCSI-location parameter assigns a PTL address to the drive or loader. See page 1–5,
Specifying the Device PTL, for an explanation of the PTL numbering system.
Specifies a name for the RAIDset. You use this name with the
identify the RAIDset as a host-addressable unit.
The name must start with a letter (A–Z) and can then consist of up to eight more
characters made up of letters A-Z, numbers 0-9, periods (.), dashes (-), or underscores (_),
for a total of nine characters.
disk-name1 disk-name2 disk-nameN
The disks that will make up the RAIDset. A RAIDset can contain 3 to 14 member disks.
The
member from the spareset when a RAIDset member fails.
POLICY
RAIDset-name disk-name1 disk-name2 [disk-nameN]
ADD UNIT
command to
switch allows you to set the criteria the controller uses to choose a replacement
BEST_FIT
Select
to choose a replacement device from the spareset that most closely
matches the capacities of the remaining members. If more than one device in the spareset
is the correct size, the controller selects the device that gives the best performance.
BEST_PERFORMANCE
Select
to choose a replacement device from the spareset that results in
the best performance (the device should be on a different port than existing members). If
more than one device in the spareset has the best performance, the controller selects the
device that most closely matches the size of the remaining members.
NOPOLICY
Select
the RAIDset to run in a reduced state until a
selected, or a member is manually replaced in the RAIDset (see
to prevent the controller from replacing a failed disk drive. This causes
BEST_FIT
BEST_PERFORMANCE
or
SET
RAIDset-name).
policy is
RECONSTRUCT=NORMAL (Default)
RECONSTRUCT=FAST
RECONSTRUCT
The
switch allows you to set the speed at which the controller reconstructs
the data on a new RAIDset member that has replaced a failed member.
ADD RAIDSET2–11
NORMAL
Select
to balance other controller operations against the reconstruct operation.
The controller uses relatively few resources to perform the reconstruct, and there is little
impact on performance.
FAST
Select
when the reconstruct operation must take precedence over other controller
operations. The controller uses more resources and the reconstruct takes less time, but
overall controller performance is reduced during the reconstruct.
REDUCED
NOREDUCED (Default)
REDUCED
The
need to use the
NOREDUCED
The
switch allows you to add a RAIDset that is missing one member. You only
REDUCED
switch if you are re-adding a reduced RAIDset to the subsystem.
setting is the default and indicates that all RAIDset members that make
up the RAIDset are being specified, such as when creating a new RAIDset.
Examples
To create RAIDset RAID9 with disks DISK100, DISK210, and DISK320:
CLI> ADD DISK DISK100 1 0 0
CLI> ADD DISK DISK210 2 1 0
CLI> ADD DISK DISK320 3 2 0
CLI> ADD RAIDSET RAID9 DISK100 DISK210 DISK320
CLI> INITIALIZE RAID9
CLI> ADD UNIT D204 RAID9
To create RAIDset RAID8 with disks DISK100, DISK210, and DISK320, and use the
BEST_FIT
CLI> ADD DISK DISK100 1 0 0
CLI> ADD DISK DISK210 2 1 0
CLI> ADD DISK DISK320 3 2 0
CLI> ADD RAIDSET RAID8 DISK100 DISK210 DISK320 POLICY=BEST_FIT
CLI> INITIALIZE RAID8
CLI> ADD UNIT D205 RAID8
replacement policy:
This example shows creating a three-member RAIDset from the members of a fourmember RAIDset that was already reduced. Note that you must not initialize the RAIDset,
because it was initialized in its previous location.
CLI> ADD DISK DISK100 1 3 0
CLI> ADD DISK DISK210 2 4 0
CLI> ADD DISK DISK320 3 5 0
CLI> ADD RAIDSET RAID6 DISK130 DISK240 DISK350 REDUCED
CLI> ADD UNIT D205 RAID6
HSZ40 Array ControllerCLI Reference Manual
2–12ADD RAIDSET
See also
ADD UNIT
DELETE
SET RAIDSET
SHOW RAIDSET
INITIALIZE
ADD SPARESET2–13
ADD SPARESET
Adds a disk drive to the spareset and initializes the metadata on the drive. The spareset is a
pool of disk drives available to the controller to replace failing members of RAIDsets and
mirrorsets.
Format
ADD SPARESET
Parameters
disk-name
The name of the disk drive to add to the spareset. You can add only one drive to the
spareset with each command.
Creates a stripeset out of 2 to 14 disks or mirrorsets.
Format
ADD STRIPESET
Parameters
stripeset-name
Specifies a name for the stripeset. You use this name with the
identify the stripeset as a host-addressable unit.
The name must start with a letter (A–Z) and can then consist of up to eight more
characters made up of letters A-Z, numbers 0-9, periods (.), dashes (-), or underscores (_),
for a total of nine characters.
container-name1 container-nameN
The names of the disk drives or mirrorsets that make up the stripeset. A stripeset can be
made up of from 2 to 14 containers.
Examples
To create stripeset STRIPE1 with three disks: DISK100, DISK210, and DISK320:
stripeset-name container-name1 [container-nameN]
ADD UNIT
command to
CLI> ADD DISK DISK100 1 0 0
CLI> ADD DISK DISK210 2 1 0
CLI> ADD DISK DISK320 3 2 0
CLI> ADD STRIPESET STRIPE1 DISK100 DISK210 DISK320
CLI> INITIALIZE STRIPE1
CLI> ADD UNIT D403 STRIPE1
The next example shows creating a two-member striped mirrorset (a stripeset whose
members are mirrorsets). Note that you only need to initialize the stripeset; you do not
need to initialize the mirrorsets individually.
ADD UNIT
ADD MIRRORSET
DELETE
INITIALIZE
SHOW STRIPESET
HSZ40 Array ControllerCLI Reference Manual
2–16ADD UNIT
ADD UNIT
Identifies a device, container, or partition as a host-addressable logical unit. The controller
maps all requests from the host to the logical unit number as requests to the container
specified in the ADD UNIT command.
You must initialize the disk drive or container before you can add it as a unit.
Format
ADD UNIT
Parameters
unit-number
A number such as D104, where D represents a device-type letter, 1 is one of the controller
target IDs, and the 4 is a logical unit number (the middle number is always 0).
The device type letter is either “D” for disk containers (including CD–ROMs) or “P” for
passthrough containers created from tape drives and loaders.
The controller target ID must be in the range 0 to 7, and must be one of the IDs set with
SET THIS_CONTROLLER ID
the
out the target ID if it is 0, and only use the logical unit number.
unit-number container-name
SET OTHER_CONTROLLER ID
and
commands. You must leave
The logical unit number must be in the range 0 to 7. You can assign up to eight logical
units for each controller target ID.
Table 2–1 breaks out the components in HSZ unit numbering.
Table 2–1 HSZ Unit Numbering
Unit numberDevice typeTarget IDLUN
D401Disk41
P100Passthrough10
D5Disk05
On a partitioned container, all of the partitions must be addressed through a single
controller. Thus, the unit numbers for all partitions on a container must have the same
controller target ID.
container-name
The name of the container that is used to create the unit.
ADD UNIT2–17
Switches
Table 2–2 lists all switches for the
used with each type of device and storageset. Descriptions of the switches follow the table.
switch allows you to set the largest transfer (in blocks)
to be cached by the controller. The controller will not cache any transfers over this size.
Valid values are 1–1024.
The
through which the unit will be accessed. If you set
switch allows you to balance I/O load by specifying the controller
NOPREFERRED_PATH
for a unit, it can be
accessed through either controller.
The controllers only use the
PREFERRED_PATH
setting if they are in a dual-redundant
configuration. If one controller fails, all the devices are accessed through the remaining
controller, ignoring the
switches are valid only for HSZ
controllers in dual-redundant multiple bus-failover configurations. The preferred
path for units on dual-redundant HSZ controllers is determined by the first digit
in the unit number (the controller target ID) specified in the
When the failed controller is restarted, the drives automatically return to the controller
specified by the
You can specify the
PREFERRED_PATH
PREFERRED_PATH
switch.
switch on a single controller; however, the switch
will not take effect until you add a second controller and configure the two controllers for
dual-redundancy.
READ_CACHE (Default)
NOREAD_CACHE
READ_CACHE
The
switch allows you to enable or disable the use of read cache with a unit.
Read caching improves performance in almost all situations, so it is generally good to
leave it enabled. However, under certain workloads, like a backup, there may be a low
probability for a cache hit and it may be beneficial to turn read caching off to remove the
overhead of caching.
RUN (Default)
NORUN
RUN
The
switch allows you to enable and disable a unit's availability to the host.
Loading...
+ 88 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.