HP Storageworks: Modular Smart Array 1000 (Msa1000) Command Line Interface
HP Storageworks: Modular Smart Array 1000 (Msa1000) Command Line Interface
Guide
hp StorageWorks
Modular Smart Array 1000 (MSA1000)
Command Line Interface
First Edition (September 2003)
This guide details the use of the Command Line Interface used to configure storage on the
Modular Smart Array 1000.
Note: Documentation titled HP StorageWorks Modular SAN Array 1000 or HP StorageWorks Modular
Smart Array 1000 both refer to the HP StorageWorks MSA1000.
© Copyright 2002-2003 Hewlett-Packard Development Company, L.P.
Hewlett-Packard Company makes no warranty of any kind with regard to this material, including, but not limited to,
the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for
errors contained herein or for incidental or consequential damages in connection with the furnishing, performance,
or use of this material.
This document contains proprietary information, which is protected by copyright. No part of this document may be
photocopied, reproduced, or translated into another language without the prior written consent of Hewlett-Packard.
The information contained in this document is subject to change without notice.
Compaq Computer Corporation is a wholly-owned subsidiary of Hewlett-Packard Company.
Microsoft®, MS-DOS®, MS Windows®, Windows®, and Windows NT® are U.S. registered trademarks of
Microsoft Corporation.
Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The
information is provided “as is” without warranty of any kind and is subject to change without notice. The warranties
for Hewlett-Packard Company products are set forth in the express limited warranty statements for such products.
Nothing herein should be construed as constituting an additional warranty.
Printed in the U.S.A.
Contents
About this Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Text Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Equipment Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
HP Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
HP Website. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
HP Authorized Reseller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Overview
This section covers the following topics:
■ Intended Audience
■ Related Documentation
Intended Audience
This book is intended for use by administrators with a moderate amount of
SAN-management experience.
Related Documentation
In addition to this guide, refer to the HP StorageWorks MSA1000 Installation
Guide that ships with this system.
Conventions
Conventions consist of the following:
■ Document Conventions
■ Text Symbols
■ Equipment Symbols
Document Conventions
The document conventions included in Table 1 apply in most cases.
Table 1: Document Conventions
Element Convention
Cross-reference links Figure 1
Key and field names, menu items, Bold
buttons, and dialog box titles
File names, application names, and text Italics
emphasis
User input, command and directory Monospace font
names, and system responses (output COMMAND NAMES are uppercase
and messages) monospace font unless they are case
sensitive
Variables <monospace, italic font>
Website addresses Underlined sans serif font text:
http://www.hp.com
Text Symbols
The following symbols may be found in the text of this guide. They have the
following meanings:
WARNING: Text set off in this manner indicates that failure to follow
directions in the warning could result in bodily harm or death.
Caution: Text set off in this manner indicates that failure to follow directions
could result in damage to equipment or data.
Note: Text set off in this manner presents commentary, sidelights, or interesting points
of information.
Equipment Symbols
The following equipment symbols may be found on hardware for which this guide
pertains. They have the following meanings:
Any product or assembly marked with these symbols indicates that the
component exceeds the recommended weight for one individual to
handle safely.
Getting Help
If you still have a question after reading this guide, contact an HP authorized
service provider or access our website: http://www.hp.com.
HP Technical Support
In North America, call technical support at 1-800-652-6672, available 24 hours a
day, 7 days a week.
Outside North America, call technical support at the nearest location. Telephone
numbers for worldwide technical support are listed on the HP website under
support: http://www.hp.com.
Be sure to have the following information available before calling:
■ Technical support registration number (if applicable)
■ Product serial numbers
■ Product model names and numbers
■ Applicable error messages
■ Operating system type and revision level
■ Detailed, specific questions
HP Website
The HP website has the latest information on this product, as well as the latest
drivers. Access storage at: www.hp.com/go/msa1000. From this website, select the
appropriate product or solution.
HP Authorized Reseller
For the name of your nearest HP Authorized Reseller:
■ In the United States, call 1-800-345-1518
■ In Canada, call 1-800-263-5868
■ Elsewhere, see the HP website for locations and telephone numbers:
http://www.hp.com.
The CLI is accessed through a host server connected to the serial port of the
MSA1000.
Some CLI configuration and management tasks include configuring storage units
(LUNs), setting the addressing mode, limiting access to storage, and viewing
information on MSA1000 components (controller, unit, and cache).
This chapter discusses:
■ CLI Overview, page 14
■ CLI Setup, page 19
■ Help Commands, page 22
■ Display Commands, page 26
■ Array Controller Configuration Commands, page 33
■ LUN Management Commands, page 36
■ Server Connection Commands, page 51
■ Selective Storage Presentation/Access Control List Commands, page 55
CLI Overview
After accessing the interface, enter a command string at the CLI prompt (CLI>).
Commands must use a specific, preset syntax. After a declarative command is
entered and executed, the results are displayed at the CLI prompt.
When using the CLI, the following keystrokes have special meaning:
Table 2: CLI Special Keys
Keyboard Keys Arrow Key Meaning
Ctrl_B left arrow move the cursor back one
character
Ctrl_F right arrow move the cursor forward one
character
Ctrl_P up arrow recall the previous command in
the command buffer
Ctrl_N down arrow recall the next command in the
command buffer
Note: The CLI uses a zero-based numbering system. For example, LUN number
assignments begin with 0.
1 2 3 4 5
7 6
When the MSA1000 has two controllers, the same firmware image is run on both
controllers. The two controllers communicate with each other through a PCI bus
called the inter-controller link (ICL). Each controller has a serial port and has a
CLI available to the users who connect the serial port to a serial terminal.
Some CLI commands are entered from one controller’s CLI prompt but are for the
other controller to execute. Command syntax instructs the controller to accept
user input, pass the command to the other controller, and then display the result.
The following keywords are used in the CLI to indicate a specific controller:
■ this_controller-—is included in a command syntax to refer to the
controller that the CLI is connected to.
■ other_controller—is included in a command syntax to refer to the other
controller in the MSA1000.
Note: OpenVMS environments must assign a unique ID number to each LUN. See
“Assigning a Name or ID to a LUN” for instructions.
3. Enter server connection information to indicate the HBAs that will access the
MSA1000.
See “Server Connection Commands” for command descriptions.
Note: Each server accessing the MSA1000 must identify its profile type. See
“Managing Connection Profiles” for instructions.
CLI Setup
Before using the serial interface to connect to the MSA1000, a serial connection
to the controller must be established.
Note: Any terminal emulator program may be used, but the following instructions
demonstrate setting up the serial connection with HyperTerminal.
c. In the New Connection dialog box, type a name to associate with the
connection between the MSA1000 and the host server. Then click OK.
The Connect To dialog box is displayed.
See Figure 3 for an example of the Connect To dialog box.
e. In the COM1 Properties dialog box, enter the following settings, also
listed in Figure 4, and click OK.
Bits per Second: 19200
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
The CLI input screen is displayed.
f. In the CLI session screen, press Enter several times to display the
command prompt (CLI>).
Commands can now be entered at this CLI prompt.
Help Commands
Help commands can be used to display a list of all possible commands or to
display a detailed description of a specific command. Displayed information may
include required command syntax, a brief definition, the number of characters for
a command option value, or a list of allowed/disallowed characters.
■ Displaying a List of All Basic Commands
■ Displaying a List of All Available Commands
■ Displaying Help for a Specific Command
The basic command is HELP, but can be modified with command options to more
narrowly define the request.
Command Options
DISPLAY_ALL—a list of all currently supported commands will be displayed.
Example Command Output
CLI> HELP DISPLAY_ALL
Displaying list of all currently supported CLI commands:
? help
add unit add connection
add acl add spare
delete unit delete connection
delete acl delete spare
migrate unit expand unit
extend unit accept unit
accept units rename connection
set unit_id set this_controller_id
set other_controller_id set globals
set acl set connection
set prompt set unit
locate disk locate unit
locate bus locate box
locate all locate cancel
show connections show unit
show units show unit_id
show this_controller show other_controller
show version show disks
show globals show acl
show profile show tech_support
CLI>
Command Options
ADD ACL—the specific command about which to display help.
Example Command Output
CLI> HELP ADD
Possible command nouns:
unit connection acl
spare
Specify command noun:
Example Command
CLI> SHOW TECH_SUPPORT
The commands will execute using the standard output. For more information on
these commands, see the sections below.
Display Commands
Several commands are available to view system information and setup, including:
■ Viewing Physical Disk Information
■ Viewing LUN Information
■ Viewing LUN Names
■ Viewing Controller Settings
■ Viewing Global Settings
■ Viewing Version Information
Each of these procedures uses the SHOW command, which displays the
configuration of the MSA1000. These procedures are discussed in the following
paragraphs.
Example Command
CLI> SHOW DISKS
Basic Command
SHOW UNIT
Example Command
To display all defined LUNs:
CLI> SHOW UNITS
To display a specific LUN:
CLI> SHOW UNIT 1
Note: PDLA and VSA addressing method reference information is included in the
display. PDLA represents Peripheral Device LUN Addressing, which is used by the
majority of system profiles. VSA represents Volume Set Addressing, which is used by
the HP_UX profile.
Example Command
CLI> SHOW UNIT_ID 0
Command Options
0–the number of the LUN to display.
Example CLI Response
Unit 0: ABC
ABC represents the assigned user-defined name.
Example Command
CLI> SHOW THIS_CONTROLLER
Example Command
CLI> SHOW GLOBALS
Global Parameters:
System Name: ABC
Rebuild Priority: high
Expand Priority: high
Temperature:
EMU:30 Celsius,86 Farenheit
PS1:40 Celsius,104 Farenheit
PS2:40 Celsius,104 Farenheit
Example Command
CLI> SHOW VERSION
Example Command
SET GLOBALS EXPAND_PRIORITY=HIGH REBUILD_PRIORITY=HIGH
SYSTEM_NAME=”XXX” READ_CACHE=50 WRITE_CACHE=50
Command Options
EXPAND_PRIORITY=HIGH—the expand priority. Used when expanding an array
to set the priority of array expansions in relation to input/output operations.
See below for detailed information about these settings.
REBUILD_PRIORITY=HIGH—the rebuild priority. Used when rebuilding an
array to set the priority of an array rebuild in relation to input/output
operations.
■ Low—expansion or rebuild takes place only when the array controller is
not busy handling normal I/O requests. This setting has minimal effect on
normal I/O operations. However, there is an increased risk that data will
be lost if another physical drive fails while the rebuild is in progress.
■ Medium—expansion or rebuild occurs for half of the time, and normal
I/O requests are handled during the rest of the time.
■ High—rebuild or expansion occurs at the expense of normal I/O
operations. Although system performance is affected, this setting provides
better data protection because the array is vulnerable to additional drive
failures for a shorter time.
Example Command
CLI> SET THIS_CONTROLLER_ID 123
Command Options
123—the user-defined ID for the controller.
The ID can be up to 230 alphanumeric characters or a decimal number in the
range of 0 though 65535. In this example, the controller ID will be changed to
123.
Example CLI Response
CLI> SET THIS_CONTROLLER_ID 123
Controller identifier 123 created.
Example Command
CLI> SET PROMPT ABC
Command Options
ABC—the user-defined name for the prompt. The name can be up to 24
alphanumeric characters. In this example, the prompt will be changed to
ABC.
Example CLI Response
ABC>
Note: If a time limit is not included with the Locate command, the LEDs will blink for 30
seconds.
The basic command verb is LOCATE, but a variety of command nouns and
command options are available to customize the request.
Basic Command
LOCATE
Command Options
TIME=xxx—(optional) the length of time to flash the LEDs, where xxx
represents the number of seconds.
ALL—all drives connected to the MSA1000 storage sub-system will be
flashed.
BOX—the number of the storage enclosure whose disks you want to flash.
1=the MSA1000 drive shelf
2=the storage enclosure attached to SCSI port A
3=the storage enclosure attached to SCSI port B
BUS—the number of the bus whose disks you want to flash.
UNIT—the number of the LUN whose disks you want to flash.
DISKxxx-DISKyyy—a range of drives to flash. Disks are identified by box
number and bay number.
DISKzzz—a specific drive to flash. Disks are identified by box number and
bay number.
Creating LUNs
A LUN is a logical storage unit comprised of one or more hard drives.
When a LUN is initially created, the LUN Unit ID is automatically set to the
number assigned to the LUN. If desired, this LUN ID name can be changed. See
“Assigning a Name or ID to a LUN” for procedural information.
The basic command is ADD UNIT. A variety of options are available to modify
the command.
Basic Command
ADD UNIT
Command Options
DATA=“DISKzzz”—the number of an individual drive to incorporate into the
LUN. Disks are identified by box number and bay number. For example,
DISK110 identifies disk 10 in box number 1.
DATA=“DISKxxx-DISKyyy”—a range of drives is to be incorporated into the
LUN. Disks are identified by box number and bay number. For example,
DISK101-DISK105 identifies disks 1 through 5 in box number 1.
Note: Quotation marks must be entered both before and after the data disk drives that
are to be included in the LUN.
Note: If more than one pair of drives are included in a RAID 1 array, the data is
striped across the first half of the drives in the array and then each drive is mirrored to a
drive in the remaining half of the drives for fault tolerance. This method is referred to as
RAID 1+0.
Note: Maintain a record of the units as they are created. These Unit ID numbers are
used in other CLI commands. In addition to recording the unit number, the drives
included, RAID type and size, record the order in which they are created.
Command Options
0—LUN 0 is to be created.
DATA=”DISK101-DISK107 DISK110”—drives 1 through 7 and disk 10 in box
number 1 are to incorporated into the LUN.
RAID_LEVEL=ADG—RAID level ADG will be used when creating LUN 0.
STRIPE_SIZE=64—stripe size of 64 will be used when creating LUN 0.
Note: Maintain a record of the units as they are created. These Unit ID numbers are
used in other CLI commands. In addition to recording the unit number, the drives
included, RAID type and size, and record the order in which they are created.
Command Options
1—LUN 1 is to be created.
DATA=”DISK111-DISK114”—drives 11 through 14 in box number 1 to the
LUN.
RAID_LEVEL=5—RAID 5 will be used when creating the LUN.
STRIPE_SIZE=32—stripe size of 32 will be used when creating the LUN.
SIZE=1000MB—1000 MB of the available space will be used for the LUN.
Note: More than one spare can be assigned to the same LUN and the same spare can
be available to multiple LUNs.
Example Command
CLI> ADD UNIT 4 DATA=”DISK211-DISK212” RAID_LEVEL=1
SPARE=”DISK213”
Note: Maintain a record of the units as they are created. These Unit ID numbers are
used in other CLI commands. In addition to recording the unit number, the drives
included, RAID type and size, and record the order in which they are created.
Command Options
4—LUN 4 is to be created.
DATA=”DISK211-DISK212”—drives 11 through 12 in box number 2 are to be
incorporated into the LUN.
RAID_LEVEL=1—RAID 1 will be used when creating the LUN.
SPARE=”DISK213”—the drive in bay 13 of box 2 will be assigned as a spare
drive to the LUN.
Note: Quotation marks must be entered both before and after the disk drive that is to
be designated as a spare for the LUN.
Note: OpenVMS systems require each LUN to have a unique ID. No two devices in the
entire SAN for this OpenVMS system may share ID numbers. LUNs in different storage
systems must have different IDs.
Basic Command
SET UNIT_ID
Example Command
CLI> SET UNIT_ID 0 ABC
Command Options
0—LUN 0 is being assigned a name.
ABC—is the name to assign to LUN 0. The name of this LUN will be ABC.
Example CLI Response
Identifier “ABC” created for unit 0
Example Command
CLI> ADD SPARE UNIT=2 DISK109
Command Options
UNIT=2—the unit to assign the spare to. This is the same number that was
given to the unit when it was created with the ADD UNIT command. In this
example, LUN 2 will have use of the spare.
DISK109—indicates the drives to assign as the spare to the LUN. Disks are
identified by box number and bay number. In this example, drive 9 in box
number 1 is to be used.
Deleting LUNs
To delete the last created LUN:
Note: If more than one LUN has been created, only the last LUN created can be
deleted. It is important to maintain a record of the unit numbers and the order in which
they are created.
Note: After a LUN is deleted, its unit number goes unused until manually assigned to a
new LUN. Unit numbers are not automatically reassigned when a LUN is deleted.
Basic Command
DELETE UNIT
Example Command
CLI> DELETE UNIT 4
Command Options
4—the unit to delete. This is the same number that was given to the unit when
it was created with the ADD UNIT command. In this example, LUN 4 is to be
deleted.
Example CLI Response
Data will be lost after the unit is deleted.
Do you still want to DELETE unit 4 (Y/N)? Y
Please wait while unit 4 is being deleted…
Unit 4 is deleted successfully.
Deleting Spares
To remove a spare from use:
Basic Command
DELETE SPARE
Example Command
CLI> DELETE SPARE UNIT=2 DISK109
Command Options
UNIT 2—the unit that will no longer have access to the spare. This is the same
number that was given to the unit when it was created with the ADD UNIT
command. In this example, LUN 2 will no longer have access to the spare.
DISK109—the spare drive to remove from use. Disks are identified by box
number and bay number. In this example, drive 1 in box number 9 will no
longer be used as a spare for LUN 2.
Example Command
CLI> ACCEPT UNIT 2
Command Options
#—the unit that you want to activate, where # represents the unit number.
If a unit number is not specified, all units will be reset.
Note: Because this command affects the entire array, all LUNs made from the array are
also affected.
Basic Command
EXPAND UNIT
Example Command
CLI> EXPAND UNIT 4 DISK204-DISK207
Command Options
4—one of the LUN within the target array.
Note: Any LUN in the array can be entered to identify the array; the space is added to
the array and not the LUN.
Example Command
CLI> EXTEND UNIT 2 ADD_SIZE=1000MB
Command Options
2—the LUN to which the space will be added. In this example, LUN 2 is
being extended.
ADD_SIZE=1000MB—how much of the available space in the array to add to
the LUN. In this example, 1000 MB of space will be added. The size limit
must be specified as GB, MB, or KB. If no size is specified, the maximum
available space of the included disks will be assigned to the array.
NEW_SIZE=xxxxyy—can be used instead of ADD_SIZE to enter the total new
size of the LUN, where xxxx represents the size and yy indicates GB, MB, or
KB.
Example CLI Response
The actual new volume size will be 1992MB.
Unit 2 is being extended.
Use “show unit 2” to monitor progress.
Note: Before changing the RAID level or stripe size of a LUN, verify there is available,
unused space on the array. Migrating from one RAID level to another may require
additional space for parity and organizational purposes.
Basic Command
MIGRATE UNIT
Example Command
CLI> MIGRATE UNIT 0 RAID_LEVEL=5 STRIPE_SIZE=32
Command Options
UNIT 0—the number of the LUN to modify. In this example, LUN 0 will be
migrated.
RAID_LEVEL=xxx—RAID 5 will be assigned to the LUN.
RAID levels include:
0 = RAID 0 (no fault tolerance)
1 = RAID 1 (mirroring)
5 = RAID 5 (distributed parity)
ADG = Advanced Data Guarding (ADG)
STRIPE_SIZE=xxx—(optional) the stripe size of 32 will be used. Other stripe
size options include:
RAID 0 uses stripe sizes 8, 16, 32, 64, 128, and 256 (Default: 128 KB)
RAID 1 uses stripe sizes 8, 16, 32, 64, 128, and 256 (Default: 128 KB)
RAID 5 uses stripe sizes 8, 16, 32, and 64 (Default: 16KB)
RAID ADG uses stripe sizes 8, 16, 32, and 64 (Default: 16 KB)
Example Command
CLI> SET UNIT 0 CACHE=DISABLE
Command Options
UNIT 0—the number of the LUN to modify. In this example, LUN 0 will be
modified.
CACHE=ENABLE or DISABLE—either enables or disables the use of the array
accelerator cache for the specified LUN.
Example CLI Response
CLI> SET UNIT 0 CACHE=ENABLE
Cache for unit 0 has been enabled.
CLI> SET UNIT 1 CACHE=DISABLE
Cache for unit 1 has been disabled.
Example Command
CLI> SHOW CONNECTIONS
Command Options
CONNECTION NAME—the name of a specific connection to display.
WWPN—the WWPN of a specific connection to display.
Example Command
CLI> ADD CONNECTION ABC WWPN=12345678-12345678 PROFILE=WINDOWS
Command Options
ABC—the name to give the connection.
WWPN=12345678-12345678—the WWPN of the active HBA inside the server
attached to the MSA1000. The show connections command can be used to
obtain the WWPN.
WWNN—the WWNN of the active HBA inside the server attached to the
MSA1000. The show connections command can be used to obtain the
WWNN.
PROFILE=WINDOWS—the platform of the host. If a profile is not specified, the
default profile is used.
Profile options include:
Windows (default)
OVMS
Tru64
Linux
Solaris
NetWare
HP
OFFSET=X—(default: 0) the unit offset for assigning logical volumes.
Example CLI Response
Connection has been added successfully.
Profile Windows is set for the new connection.
Basic Command
SET CONNECTION X PROFILE=Y
Example Command
CLI> SET CONNECTION ABC PROFILE=WINDOWS
Command Options
ABC—the name of the connection to modify, in this example ABC.
WWPN=12345678-12345678—the WWPN of the connection to modify, using
the WWPN of the HBA. The “show connections” can be used to obtain the
WWPN.
WWNN=12345678-12345678—the WWNN of the connection to modify, using
the WWNN of the HBA. The “show connections” can be used to obtain the
WWNN.
PROFILE=WINDOWS—the platform of the host, which in this example is
Windows. See “Naming a Connection to a Server” for a list of profile types.
Example CLI Response
The Profile of Connection ABC is set to Windows successfully.
Note: Many commands are discussed in this section. To set up the ACL, the following
commands should be used in sequence:
■ Viewing the Connection Names
■ Naming a Connection to a server
■ Entering ACL information
Command Options
There are no available options for this command.
Example CLI Response
ACL is enabled:
Connection WWPN Units
ABC 11111111-22222222 0,1,2
XYZ 33333333-44444444 2,3,4
Inaccessible Units: 5,6
Command Options
CONNECTION=xxx—the name of the connection to grant access, where xxx
represents the connection name.
UNIT=xxx—which LUN to assign to the indicated server.
Options include:
An individual LUN can be assigned by entering one LUN ID (UNIT=0)
A group of LUN can be assigned by entering a range of LUN (UNIT=1-3)
Access to all units can be granted by entering UNIT=ALL.
Note: There is no command to activate the ACL. Immediately after the first entry is
added to the ACL, access to the storage is limited to the servers and LUNs listed in the
ACL.
Command Options
CONNECTION=ABC—entries will be added to the ACL of the connection named
ABC.
UNIT=ALL—all LUN will be accessible to the connection named ABC.
Example CLI Response
Allowing 12345678-12345678 access to unit 2.
Command Options
WWPN=12345678-12345678—entries will be added to the ACL of the
connection with a WWPN of 12345678-12345678.
UNIT=2—LUN 2 will be accessible to the named connection.
Command Options
CONNECTION=xxx—the name of the connection for which to remove
permissions.
UNIT=xxx—which LUNs to remove from the ACL of the indicated server.
Two methods of removing access to previously assigned LUNs are available:
■ Deleting information from the ACL using the connection name
■ Deleting information from the ACL using the WWPN
Note: If all entries in the ACL are being deleted, immediately after the last entry is
deleted, all connected servers have unlimited access to the storage.
Command Options
WWPN=12345678-12345678—entries will be deleted from the ACL of the
connection with a WWPN of 12345678-12345678.
UNIT=1—LUN 1 will be removed from the ACL of the named connection.
Example Command
CLI> RENAME CONNECTION ABC XYZ
Command Options
ABC—the current name of the connection that is to be changed.
XYZ—the new name to assign to the connection, up to 16 alphanumeric
characters.
Example CLI Response
Connection(s) has been renamed successfully.
Example Command
CLI> SET CONNECTION ABC WWPN=12345678-Y999999Y
Command Options
ABC—the connection to make the changes to.
WWPN=12345678-12345678—the World Wide Port Name (WWPN) of the new
HBA to associate with the connection.
WWNN=12345678-12345678—the World Wide Node Name (WWNN) of the
new HBA to associate with the connection.
Example CLI Response
Connection(s) has been set successfully.
The WWPN of connection ABC is set to 12345678-Y999999Y
successfully.
Example Command
CLI> DELETE CONNECTION ABC
Command Options
ABC—the nickname that was assigned to the HBA within the server.
Example CLI Response
Connection(s) has been deleted successfully.
Note: When this command is used, all existing ACL entries are automatically deleted.
All storage is immediately available to all connected servers.
A display commands 26
Access Control Lists See ACL global settings 33
ACL hard drives, locating 36
adding to with the CLI 56 help command, described 22
deleting from, with the CLI 58 Hyper Terminal, setting up 19
disabling, with the CLI 61 inter-controller link, defined 16
viewing, with the CLI 56 LUN management commands 36
array controller configuration, with the CLI 33 LUN names, assigning 44
audience 6 LUN names, viewing 29
LUN, adding a spare to 44
C LUN, cache, enabling/disabling 50
LUN, creating 39
cache, enabling/disabling per LUN with the CLI
LUN, deleting 45
50
LUN, extending 48
CLI
LUN, RAID level, changing 49
ACL commands 51, 55
LUN, spare, including 43
Index
ACL, adding to 56
LUN, viewing information about 27
Index
H T
hard drives, locating with the CLI 36 technical support, hp 10
help, obtaining 10 text symbols 7
hp
authorized reseller 11 W
technical support 10 warning
website 10 rack stability 10
Hyper Terminal, setting up 19 symbols on equipment 8
websites
I hp storage 10
inter-controller link, defined 16