Command Line Interface and Script Commands Programming Guide
Command Line Interface and Script Commands Programming Guide
GC52-1275-02
Note
Before using this information and the product it supports, read the information in “Notices” on page B-1.
iv IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
FlashCopy Commands. . . . . . . . . 3-151 How Enhanced Remote Mirroring Works . . . . 6-1
Storage Subsystem Commands . . . . . . 3-151 Mirror Repository Logical Drives . . . . . . 6-2
Uncategorized Commands . . . . . . . 3-153 Mirror Relationships . . . . . . . . . . 6-2
Logical Drive Commands. . . . . . . . 3-153 Data Replication . . . . . . . . . . . 6-3
VolumeCopy Commands . . . . . . . . 3-154 Link Interruptions or Secondary Logical Drive
Array Commands . . . . . . . . . . 3-154 Errors . . . . . . . . . . . . . . . 6-3
Resynchronization . . . . . . . . . . . 6-4
Chapter 4. Configuring a Storage Creating a Remote Mirror Pair . . . . . . . . 6-4
Subsystem. . . . . . . . . . . . . 4-1 Performance Considerations . . . . . . . 6-5
Enabling the Enhanced Remote Mirroring
Configuration Concepts . . . . . . . . . . 4-2
Feature . . . . . . . . . . . . . . 6-5
Controllers . . . . . . . . . . . . . 4-2
Activating the Enhanced Remote Mirroring
Disk Drives . . . . . . . . . . . . . 4-6
Feature . . . . . . . . . . . . . . 6-5
Hot Spares . . . . . . . . . . . . . 4-7
Determining Candidates for a Remote-Mirror
Arrays . . . . . . . . . . . . . . . 4-7
Pair . . . . . . . . . . . . . . . . 6-7
Logical Drives . . . . . . . . . . . . 4-8
Creating a Remote Mirror Pair . . . . . . . 6-8
RAID Levels . . . . . . . . . . . . . 4-9
Changing Enhanced Remote Mirroring Settings . . 6-9
Hosts . . . . . . . . . . . . . . . 4-11
Suspending and Resuming a Mirror Relationship 6-9
Host Groups . . . . . . . . . . . . 4-11
Removing a Mirror Relationship . . . . . . . 6-10
Host Bus Adapter Host Ports . . . . . . . 4-11
Deleting a Primary Logical Drive or a Secondary
Logical Unit Numbers . . . . . . . . . 4-12
Logical Drive . . . . . . . . . . . . . 6-10
Configuring a Storage Subsystem . . . . . . 4-13
Disabling the Enhanced Remote Mirroring Feature 6-11
Determining What Is on Your Storage
Deactivating the Enhanced Remote Mirroring
Subsystem . . . . . . . . . . . . . 4-13
Feature . . . . . . . . . . . . . . . 6-11
Clearing the Configuration . . . . . . . 4-28
Interaction with Other Features . . . . . . . 6-11
Using the Auto Configure Command . . . . 4-28
Storage Partitioning . . . . . . . . . . 6-11
Using the Create LogicalDrive Command. . . 4-31
FlashCopy Logical Drives . . . . . . . . 6-11
Creating Logical Drives with User-Assigned
VolumeCopy . . . . . . . . . . . . 6-12
Disk Drives . . . . . . . . . . . . 4-31
Dynamic Logical Drive Expansion . . . . . 6-12
Creating Logical Drives with
Asynchronous Enhanced Remote Mirroring Utility 6-12
Software-Assigned Disk Drives . . . . . 4-32
Description of the Asynchronous Enhanced
Creating Logical Drives in an Existing Array 4-33
Remote Mirroring Utility . . . . . . . . 6-12
Enclosure Loss Protection . . . . . . . 4-33
Operation of the Asynchronous Enhanced
Modifying Your Configuration . . . . . . . 4-34
Remote Mirroring Utility . . . . . . . . 6-13
Setting the Controller Clocks . . . . . . . 4-34
Running the Asynchronous Enhanced Remote
Setting the Storage Subsystem Password . . . 4-34
Mirroring Utility . . . . . . . . . . . 6-14
Setting the Storage Subsystem Host Type . . . 4-34
Configuration Utility . . . . . . . . . 6-14
Setting the Storage Subsystem Cache . . . . 4-35
Setting the Modification Priority . . . . . . 4-38
Assigning Global Hot Spares . . . . . . . 4-39 Chapter 7. Using the VolumeCopy
Saving a Configuration to a File . . . . . . 4-39 Premium Feature . . . . . . . . . . 7-1
How VolumeCopy Works . . . . . . . . . 7-1
Chapter 5. Using the FlashCopy Source Logical Drive . . . . . . . . . . 7-1
Premium Feature . . . . . . . . . . 5-1 Target Logical Drive . . . . . . . . . . 7-2
VolumeCopy and Persistent Reservations . . . 7-2
How FlashCopy Works . . . . . . . . . . 5-1
Storage Subsystem Performance . . . . . . 7-3
Creating a FlashCopy Logical Drive . . . . . . 5-2
Restrictions . . . . . . . . . . . . . 7-3
Creating a FlashCopy Logical Drive with
VolumeCopy Commands . . . . . . . . 7-3
User-Assigned Disk Drives . . . . . . . . 5-3
Creating a VolumeCopy . . . . . . . . . . 7-4
Creating a FlashCopy Logical Drive with
Enabling the VolumeCopy Feature . . . . . 7-4
Software-Assigned Disk Drives . . . . . . 5-3
Determining VolumeCopy Candidates . . . . 7-4
Creating a FlashCopy Logical Drive by
Creating a VolumeCopy . . . . . . . . . 7-5
Specifying a Number of Disk Drives . . . . . 5-4
Viewing VolumeCopy Properties . . . . . . . 7-6
User-Defined Parameters . . . . . . . . 5-4
Changing VolumeCopy Settings . . . . . . . 7-6
FlashCopy Logical Drive Names and FlashCopy
Recopying a Logical Drive . . . . . . . . . 7-7
Repository Logical Drive Names . . . . . . 5-6
Stopping a VolumeCopy . . . . . . . . . . 7-8
Changing FlashCopy Logical Drive Settings . . . 5-7
Removing Copy Pairs. . . . . . . . . . . 7-8
Stopping, Restarting, and Deleting a FlashCopy
Interaction with Other Features . . . . . . . 7-9
Logical Drive . . . . . . . . . . . . . 5-7
Storage Partitioning . . . . . . . . . . 7-9
FlashCopy Logical Drives . . . . . . . . 7-9
Chapter 6. Using the Enhanced Enhanced Remote Mirroring . . . . . . . 7-10
Remote Mirroring Premium Feature . . 6-1 Role Reversals . . . . . . . . . . . 7-10
Contents v
Chapter 8. Maintaining a Storage Redistributing Logical Drives . . . . . . . 8-15
System . . . . . . . . . . . . . . 8-1 Replacing CRUs . . . . . . . . . . . 8-16
Routine Maintenance . . . . . . . . . . . 8-1
Running a Media Scan . . . . . . . . . 8-1 Chapter 9. Examples of Information
Running a Redundancy Check . . . . . . . 8-2 Returned by the Show Commands . . 9-1
Resetting a Controller. . . . . . . . . . 8-2 Show Storage Subsystem Command . . . . . . 9-1
Enabling a Controller Data Transfer . . . . . 8-2 Show Controller NVSRAM . . . . . . . . 9-41
Resetting the Battery Age . . . . . . . . 8-3 Show Drive. . . . . . . . . . . . . . 9-45
Removing Persistent Reservations. . . . . . 8-3 Show Drive Channel Status . . . . . . . . 9-49
Synchronizing the Controller Clocks . . . . . 8-3 Show Logical Drives . . . . . . . . . . . 9-54
Locating Disk Drives . . . . . . . . . . 8-3
Relocating an Array . . . . . . . . . . 8-3 Chapter 10. Example Script Files 10-1
Performance Tuning . . . . . . . . . . . 8-5 Configuration Script Example 1 . . . . . . . 10-1
Monitoring the Performance . . . . . . . 8-5 Configuration Script Example 2 . . . . . . . 10-2
Changing the RAID Levels . . . . . . . . 8-6
Changing the Segment Size . . . . . . . . 8-6
Changing the Cache Parameters . . . . . . 8-7
Chapter 11. Deprecated Commands
Defragmenting an Array . . . . . . . . . 8-7 and Parameters . . . . . . . . . . 11-1
Troubleshooting and Diagnostics . . . . . . . 8-7 Deprecated Commands . . . . . . . . . . 11-1
Collecting All Support Data. . . . . . . . 8-7 Deprecated Parameters . . . . . . . . . . 11-5
Collecting Drive Data . . . . . . . . . . 8-9
Diagnosing a Controller . . . . . . . . . 8-9 Appendix. Additional Documentation A-1
Running Read Link Status Diagnostics. . . . 8-10
Collecting Switch-on-a-Chip Error Statistics 8-13 Notices . . . . . . . . . . . . . . B-1
Recovery Operations. . . . . . . . . . . 8-13
Setting the Controller Operational Mode . . . 8-14
Changing the Controller Ownership . . . . 8-14
Glossary . . . . . . . . . . . . . C-1
Initializing a Drive . . . . . . . . . . 8-14
Reconstructing a Drive . . . . . . . . . 8-15 Index . . . . . . . . . . . . . . . X-1
Initializing a Logical Drive. . . . . . . . 8-15
vi IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Figures
4-1. Host and Storage Relationship . . . . . 4-2 4-4. DS4200 and DS4700 Host Ports . . . . . 4-4
4-2. DS3200 Host Ports . . . . . . . . . 4-4 4-5. DS4800 Host Ports . . . . . . . . . 4-5
4-3. DS3400 Host Ports . . . . . . . . . 4-4 4-6. DS5300 / DS5100 Host Ports . . . . . . 4-6
For information about using the Storage Manager graphical user interface (GUI) or configuring your host
operating systems, see the following documents:
v IBM System Storage DS3000 Storage Manager Installation and Host Support Guide
v IBM System Storage DS4000 Storage Manager Installation and Host Support Guide
v IBM System Storage DS5000 Storage Manager Installation and Host Support Guide
This document does not cover hardware installation or integration. For information about these topics,
see the Installation and Support Guide that is appropriate for your storage subsystem. See “Additional
Documentation,” on page A-1 for a list of these documents.
Check the DS3000, DS4000, or DS5000 readme files for the most up-to-date information regarding
hardware, software, or firmware products that might not be described in this document.
Note: Some of the script commands are also supported in earlier versions of DS4000 controller
firmware. Please see“DS3000, DS4000, and DS5000 commands with minimum firmware levels” on page
3-3 for the minimum controller firmware that is required to support each script command. This table
also shows which commands are supported with the DS3000, DS4000, or DS5000 products only, two of
the three, or all three.
v DS5000: DS5000 Storage Manager Version 10.50 software in conjunction with the DS5000 controller
firmware version 07.50.
This document is intended for system operators, system administrators, and service personnel who are
responsible for operating, maintaining, troubleshooting, and servicing a DS3000, DS4000, or DS5000
storage subsystem. Users must be familiar with computer system operation, maintenance, and repair. In
addition, they should understand disk storage technology, Redundant Array of Independent Disks
(RAID) concepts, networking, and Fibre Channel and iSCSI technologies. The reader must have a basic
knowledge of SAN hardware functionality (controllers, drives, and hosts) and SAN cabling.
You can solve many problems without outside assistance by following the troubleshooting procedures
that IBM provides in the Storage Manager online help or in the documents that are provided with your
system and software. The information that comes with your system also describes the diagnostic tests
that you can perform. Most subsystems, operating systems, and programs come with information that
contains troubleshooting procedures and explanations of error messages and error codes. If you suspect a
software problem, see the information for the operating system or program.
Important: Before you install Storage Manager software, consult the readme file for your host operating
system. Updated readme files contain the latest device driver versions, firmware levels, limitations, and
other information not found in this document.
1. Go to the following Web site:
xii IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
www.ibm.com/servers/storage/support/disk/
2. Click the link for your storage subsystem (for example, DS3400 or DS4800).
3. When the support page for your storage subsystem opens, click the Download link in the Support &
Downloads box. The Software and device drivers page opens.
4. In the Storage Manager section of the table, locate your operating system and version level, and click
on the version link in the right hand column. The specific page for your storage subsystem and
operating system version opens.
5. In the table under File details, click on the *.txt file link, and the README will open in your Web
browser.
www.ibm.com/services/sl/products
For more information about the IBM Support Line and other IBM services, go to the following Web sites:
v www.ibm.com/services
v www.ibm.com/planetwide
www.ibm.com/planetwide
In the U.S. and Canada, hardware service and support is available 24 hours a day, 7 days a week. In the
U.K., these services are available Monday through Friday, from 9 a.m. to 6 p.m.
xiv IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Mail
Send your comments to:
Be sure to include the name and order number of the document and, if applicable, the specific
location of the text that you are commenting on, such as a page number or table number.
AIX
DS4000
eServer
FlashCopy
IBM
POWER
RS/6000
System p
System Storage
Microsoft® Windows® and Windows NT® are registered trademarks of Microsoft Corporation in the
United States, other countries, or both.
Java™ and all Java-based trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the United States, other countries, or both.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
UNIX® is a registered trademark of The Open Group in the United States and other countries.
Other company, product, or service names may be trademarks or service marks of others.
The command-line interface (CLI) is a software tool that lets storage subsystem installers, developers, and
engineers configure and monitor storage subsystems. Using the CLI, you can run commands from an
operating system prompt, such as the Windows command prompt, a Linux operating system console, or
a Solaris operating system console. You have to install the IBM DS Storage Manager client in order to run
the script commands either through the script window, which is invoked from the IBM DS Storage
Manager client Enterprise window, or through the command line interface using the SMcli program. The
script command engine is automatically installed as part of the IBM DS Storage Manager client
installation.
Each command performs a specific action for managing a storage subsystem or returning information
about the status of a storage subsystem. You can enter individual commands, or you can run script files
when you need to perform operations more than once. For example, you can run script files when you
want to install the same configuration on several storage subsystems. The CLI lets you load a script file
from a disk and run the script file. The CLI provides a way to run storage management commands on
more than one network storage subsystem. You can use the CLI both in installation sites and in
development environments.
Note: If you issue the command from the directory or folder that does not contain the SMcli.exe
program, you need to include the appropriate path: directoryName/SMcli.
v storageSubsystem is the name or the IP address of the storage subsystem.
v parameters are CLI parameters that define the environment and the purpose for the command.
v script-commands are one or more script commands or the name of a script file that contains script
commands. (The script commands are the storage subsystem configuration commands.)
Usage Notes
If you enter SMcli and a storage subsystem name but do not specify CLI parameters, script commands, or
a script file, the command line interface runs in interactive mode. Interactive mode lets you run
© Copyright IBM Corp. 2008, 2009 1-1
individual commands without prefixing the commands with SMcli. In interactive mode, you can enter a
single command, view the results, and enter the next command without typing the complete SMcli string.
Interactive mode is useful for determining configuration errors and quickly testing configuration changes.
To end an interactive mode session, type the operating system-specific command for terminating a
program (such as Control-C on the UNIX operating system or the Windows operating system). Typing
the termination command (Control-C) while in interactive mode turns off interactive mode and returns
operation of the command prompt to an input mode that requires you to type the complete SMcli string.
If you enter an incomplete or inaccurate SMcli string that does not have the correct syntax, parameter
names, options, or terminals, the script engine returns usage information.
CLI Commands
The following table lists the conventions used in the command statement syntax to manage the storage
subsystem.
Table 1-1. Command Name Syntax Conventions
Convention Definition
(a | b | c) Alternative (“a” or “b” or “c”)
A terminal that needs user input to fulfill a
italicized-words parameter (a response to a variable)
[ ... ] (square brackets) Zero or one occurrence (square brackets are also
used as a delimiter for some command parameters)
{ ... } (curly braces) Zero or more occurrences
bold A terminal that needs a command parameter entered
to start an action
General forms of the CLI commands follow, which show the terminals and the parameters that are used
in each command.
SMcli DNS-network-name-or-IP-address [DNS-network-name-or-IP-address]
[-c “command; {command2};”]
[-n storage-system-name | -w wwID]
[-o outputfile] [-p password] [-e] [-S] [-quick]
SMcli DNS-network-name-or-IP-address[DNS-network-name-or-IP-address]
[-f scriptfile]
[-n storage-system-name | -w wwID]
[-o outputfile] [-p password] [-e] [-S] [-quick]
SMcli (-n storage-system-name | -w wwID)
[-c “command; {command2};”]
[-o outputfile] [-p password] [-e] [-S] [-quick]
SMcli (-n storage-system-name -w wwID)
[-f scriptfile]
[-o outputfile] [-p password] [-e] [-S] [-quick]
SMcli -a email: email-address [host-name-or-IP-address1
[host-name-or-IP-address2]]
[-n storage-system-name | -w wwID | -h host-name | -r (host_sa | direct_sa)]
[-I information-to-include] [-q frequency] [-S]
SMcli -x email: email-address [host-name-or-IP-address1
[host-name-or-IP-address2]]
[-n storage-system-name | -w wwID | -h host-name | -r (host_sa | direct_sa)] [-S]
SMcli (-a | -x) trap: community, host-name-or-IP-address
[host-name-or-IP-address1 [host-name-or-IP-address2]]
[-n storage-system-name | -w wwID | -h host-name | -r (host_sa | direct_sa)] [-S]
1-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
SMcli -m host-name-or-IP-address -F email-address
[-g contactInfoFile] [-S]
SMcli -?
host-name-or-IP-address Specifies either the host name or the Internet Protocol (IP)
address (xxx.xxx.xxx.xxx) of an in-band managed storage
subsystem or an out-of-band managed storage subsystem.
v If you are managing a storage subsystem by using a host
through in-band storage management, you must use the -n
terminal or the -w terminal if more than one storage
subsystem is connected to the host.
v If you are managing a storage subsystem by using
out-of-band storage management through the Ethernet
connection on each controller, you must specify the
host-name-or-IP-address of the controllers.
v If you have previously configured a storage subsystem in
the Enterprise Management Window, you can specify the
storage subsystem by its user-supplied name by using the
-n terminal.
v If you have previously configured a storage subsystem in
the Enterprise Management Window, you can specify the
storage subsystem by its World-Wide Identifier (WWID) by
using the -w terminal.
-A
Adds a storage subsystem to the configuration file. If you do
not follow the -A terminal with a host-name-or-IP-address,
auto-discovery scans the local subnet for storage subsystems.
-a Adds a Simple Network Management Protocol (SNMP) trap
destination or an email address alert destination.
v When you add an SNMP trap destination, the SNMP
community is automatically defined as the community
name for the trap, and the host is the IP address or Domain
Name Server (DNS) host name of the system to which the
trap should be sent.
v When you add an email address for an alert destination, the
email-address is the email address to which you want the
alert message to be sent.
-c Indicates that you are entering one or more script commands
to run on the specified storage subsystem. End each command
with a semicolon (;). You cannot place more than one -c
terminal on the same command line. You can include more
than one script command after the -c terminal.
-d
Shows the contents of the script configuration file. The file
content takes this format: storage-system-name host-name1
host-name2
1-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 1-2. Command Line Terminals (continued)
Terminal Definition
-p Specifies the password for the storage subsystem on which
you want to run commands. A password is not necessary
under these conditions:
v A password has not been set on the storage subsystem.
v The password is specified in a script file that you are
running.
v You specify the password by using the -c terminal and the
set session password= password command.
-q Specifies the frequency that you want to include additional
profile or support bundle information in the email alert
notifications. An email alert notification containing at least the
basic event information is always generated for every critical
event. If you set the -I terminal to eventOnly, the only valid
value for the -q terminal is everyEvent. If you set the -I
terminal to either the profile value or the supportBundle value,
this information is included with the emails with the
frequency specified by the -q terminal. These values are valid
frequency values:
v everyEvent – Information is returned with every email alert
notification.
v 2 – Information is returned no more than once every two
hours.
v 4 – Information is returned no more than once every four
hours.
v 8 – Information is returned no more than once every eight
hours.
v 12 – Information is returned no more than once every 12
hours.
v 24 – Information is returned no more than once every 24
hours.
-quick
Reduces the amount of time that is required to run a
single-line operation. An example of a single-line operation is
the recreate flashCopy LogicalDrive command. This terminal
reduces time by not running background processes for the
duration of the command.
Do not use this terminal for operations that involve more than
one single-line operation. Extensive use of this command can
overrun the controller with more commands than the
controller can process, which causes operational failure. Also,
status updates and configuration updates that are collected
usually from background processes will not be available to the
CLI. This terminal causes operations that depend on
background information to fail.
-r
Sets or changes the alert notifications for all of the storage
subsystems that are managed by a specific storage
management station. Use the -r terminal with the -a terminal
or the -x terminal. For storage subsystems that are managed
out-of-band, use the direct_sa value. For storage subsystems
that are managed in-band, use the host_sa value.
Formatting Considerations
Double quotation marks (“ ”) that are used as part of a name or label require special consideration when
you run the CLI commands and the script commands on a Microsoft Windows operating system. This
section describes how to use double quotation marks in names while running CLI commands and script
commands on a Windows operating system.
When double quotation marks (“ ”) are part of a name or value, you must insert a backslash (\) before
each double quotation mark character. For example:
-n \“My\”_StorageSubsystem
You cannot use double quotation marks (“ ”) as part of a character string (also called string literal) within
a script command. For example, you cannot enter the following string to set the storage subsystem name
to “Finance Subsystem″:
1-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
In the Linux operating system and the Solaris operating system, the delimiters around names or labels
are single quotation marks (‘ ’). The UNIX versions of the previous examples are as follows:
-n “My”_StorageSubsystem
In a Windows operating system, if you do not use double quotation marks (“ ”) around a name, you
must insert a caret ( ^ ) before each special script character. Special characters are ^, | , <, and >.
Insert a caret before each special script character when used with the terminals -n, -o, -f, and -p. For
example, to specify storage subsystem CLI>CLIENT, enter this string:
-n CLI^>CLIENT
Insert one caret (^) before each special script character when used within a string literal in a script
command. For example, to change the name of a storage subsystem to FINANCE_|_PAYROLL, enter the
following string:
When the CLI encounters either type of error, the CLI writes information that describes the error directly
to the command line and sets a return code. Depending on the return code, the CLI also might write
additional information about which terminal caused the error. The CLI also writes information about
what it was expecting in the command syntax to help you identify any syntax errors that you might have
entered.
When an exception occurs while a command is running, the CLI captures the error. At the end of
processing the command (after the command processing information has been written to the command
line), the CLI automatically saves the error information to a file.
The name of the file to which error information is saved is excprpt.txt. The CLI tries to place the
excprpt.txt file in the directory that is specified by the system property devmgr.datadir. If for any reason
the CLI cannot place the file in the directory specified by devmgr.datadir, the CLI saves the excprpt.txt
file in the same directory from which the CLI is running. You cannot change the file name or the location.
The excprpt.txt file is overwritten every time that an exception occurs. If you want to save the
information in the excprpt.txt file, you must copy the information to a new file or a new directory.
HKLM\SOFTWARE\storage\SMclient\SunJVMOption1
In a typical installation with no changes in the default installation directory, the location is:
v Windows operating systems: c:\Program Files\IBM_DS....\client\data
v UNIX-based operating systems: /var/opt/SM
Exit Status
The following table lists the exit statuses that might be returned and the meaning of each status.
Table 1-3. Exit Status
Status Value Meaning
0 The command terminated without an error.
1 The command terminated with an error. Information about the
error also appears.
2 The script file does not exist.
3 An error occurred while opening an output file.
4 A storage subsystem was not at the specified address.
5 Addresses specify different storage subsystems.
6 A storage subsystem name does not exist for the host agent that
is connected.
7 The storage subsystem name was not at the specified address.
8 The storage subsystem name was not in the configuration file.
10 A management class does not exist for the storage subsystem.
11 A storage subsystem was not found in the configuration file.
12 An internal error occurred.
13 Invalid script syntax was found.
14 The controller was unable to communicate with the storage
subsystem.
15 A duplicate argument was entered.
16 An execution error occurred.
17 A host was not at the specified address.
18 The WWID was not in the configuration file.
19 The WWID was not at the address.
20 An unknown IP address was specified.
21 The Event Monitor configuration file was corrupted.
22 The storage subsystem was unable to communicate with Event
Monitor.
23 The controller was unable to write alert settings.
24 The wrong organizer node was specified.
25 The command was not available.
26 The device was not in the configuration file.
27 An error occurred while updating the configuration file.
28 An unknown host error occurred.
1-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 1-3. Exit Status (continued)
Status Value Meaning
29 The sender contact information file was not found.
30 The sender contact information file could not be read.
31
The userdata.txt file exists.
32 An invalid -I value in the email alert notification was specified.
33 An invalid -f value in the email alert notification was specified.
Usage Examples
The following examples show how to enter CLI commands on a command line. The examples show the
syntax, the form, and, in some examples, script commands. Examples are shown for both the Windows
operating system and the UNIX operating system. Note that the usage for the -c terminal varies
depending on your operating system. On Windows operating systems, enclose the script command
following the -c terminal in double quotation marks (“ ”). On UNIX operating systems, enclose the script
command following the -c terminal in single quotation marks (‘ ’). (For descriptions of the script
commands used in these examples, see Chapter 3, “Script Commands,” on page 3-1.
This example shows how to change the name of a storage subsystem. The original name of the storage
subsystem is Payroll_Subsystem. The new name is Finance_Subsystem. The storage subsystem is
managed in-band through the host name ICTSANT.
v Windows operating system:
SMcli ICTSANT -n “Payroll_Subsystem” -c “set storageSubsystem userLabel=\“Finance_Subsystem\”;”
v UNIX operating system:
SMcli ICTSANT -n ‘Payroll_Subsystem’ -c ‘set storageSubsystem userLabel=“Finance_Subsystem”;’
This example shows how to delete an existing logical drive and create a new logical drive on a storage
subsystem. The existing logical drive name is Stocks_<_Bonds. The new logical drive name is Finance.
The controller host names are finance1 and finance2. The storage subsystem is protected, requiring the
password TestSubsystem.
v Windows operating system:
SMcli finance1 finance2 -c ‘set session password=\”TestSubsystem\”; delete logicalDrive
[\”Stocks_^<_Bonds\”]; create logicalDrive driveCount[3] RAIDLEVEL=3 capacity=10GB
userLabel=\”Finance\”; show storageSubsystem healthStatus;”
v UNIX operating system:
SMcli finance1 finance2 -c ‘set session password=“TestSubsystem”; delete logicalDrive
[“Stocks_<Bonds”]; create logicalDrive driveCount[3] RAIDLEVEL=3 capacity=10GB
userLabel=“Finance”; show storageSubsystem healthStatus;’
This example shows how to run commands in a script file named scriptfile.scr on a storage subsystem
named Example. The -e terminal causes the file to run without checking the syntax. Running a script file
without checking the syntax lets the file run more quickly; however, the file might not run correctly
because the syntax for a command might be incorrect.
This example shows how to run commands in a script file named scriptfile.scr on a storage subsystem
named Example. In this example, the storage subsystem is protected by the password MySubsystem.
Output, as a result of commands in the script file, goes to file output.txt.
v Windows operating system:
This example shows how to show all of the storage subsystems in the current configuration. The
command in this example returns the host name of each storage subsystem.
SMcli -d
If you want to know the IP address of each storage subsystem in the configuration, add the -i terminal to
the command.
SMcli -d -i
1-10 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Chapter 2. About the Script Commands
You can use the script commands to configure and manage a storage subsystem. You can enter individual
script commands, or you can run a file of script commands.
To invoke the Storage Manager Command-Line Interface (SMcli), use the SMcli command.
Note: When you enter an individual script command, you include it as part of a SMcli command. When
you run a file of script commands, you include the file name as part of a SMcli command.
The script commands are processed by a script engine that performs the following functions:
v Verifies the command syntax
v Interprets the commands
v Converts the commands to the appropriate protocol-compliant commands
v Passes the commands to the storage subsystem
At the storage subsystem level, the storage subsystem controllers run script commands.
The script engine and the script commands support the storage subsystem configuration and
management operations that are listed in the following table:
Table 2-1. Configuration and Management Operations
Operation Activities
Cache configuration Controlling all cache parameters, both at the storage
subsystem level and the individual logical drive level
Logical drive Creating, deleting, and setting the reconstruction priority
configuration and array control; labeling; setting drive composition when
configuration creating logical drives; setting the segment size; and
setting the media scan control
Disk drive configuration Assigning hot spares
Controller configuration Defining logical drive ownership, changing mode
settings, defining network settings, and setting host
channel IDs
General storage subsystem Resetting a configuration to defaults, labeling, checking
configuration the health status, setting the time of day, clearing the
Event Log, and setting the media scan rate
NVSRAM configuration Downloading and modifying the user configuration
region at the bit level and the byte level, showing
nonvolatile static random access memory (NVSRAM)
values
Product identification Retrieving the enclosure profile display data
Battery management Setting the battery installation date
Firmware management Downloading controller firmware, the environmental
services monitor (ESM) firmware, and the disk drive
firmware
where command identifies the action to be performed, operand-data represents the objects associated with a
storage subsystem that you want to configure or manage, and statement-data provides the information
needed to perform the command.
An object can be identified four ways: object type, all parameter prefix, square brackets, or a list of
identifiers. Use an object type when the command is not referencing a specific object. The all parameter
prefix means all objects of the specified type in the storage subsystem (for example, allLogicalDrives). To
perform a command on a specific object, use square brackets to identify the object (for example,
logicalDrive [engineering]). Specify a subset of objects with a list of identifiers in square brackets (for
example, logicalDrives [sales engineering marketing]). A qualifier is required if you want to include
additional information to describe the objects.
The following table lists the object type and the identifiers that are associated with each object type.
Table 2-2. Object Types and Identifiers
Object Type Identifier
controller a or b
drive Enclosure ID and slot ID
drivechannel Drive channel identifier
host User label
hostchannel Host channel identifier
hostgroup User label
hostport User label
remote mirror Primary logical drive user label
flashcopy Logical drive user label
storagesubsystem Not applicable
enclosure Enclosure ID
logicalDrive Logical drive user label or logical drive World-Wide
Identifier (WWID) (set command only)
volumecopy Target logical drive user label and, optionally, the
source logical drive user label
array Array number
2-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Script Command Synopsis
Because you can use the script commands to define and manage the different aspects of a storage
subsystem (such as host topology, disk drive configuration, controller configuration, logical drive
definitions, and array definitions), the actual number of commands is extensive. The commands, however,
fall into general categories that are reused when you apply the commands to the different aspects of a
storage subsystem. The following table lists the general form of the script commands and provides a
definition of each command.
Table 2-3. General Form of the Script Commands
Syntax Description
The following table lists the recurring syntax and the syntax values that you can use with the syntax.
Note: A command statement appears in a monospace font. The statement variables are in a monospace
italic font. Options are described separately, and usually the choices are shown as TRUE or FALSE, as a
letter (a), a number (42), or a number-range (0-99) selection.
Table 2-4. Recurring Syntax Elements
Recurring Syntax Syntax Value
(0 | 1 | 3 | 5 | 6)
raid-level
(1 | 3 | 5 | 6)
repository-raid-level
integer-literal[KB | MB | GB | TB | Bytes]
capacity-spec
integer-literal
segment-size-spec
(TRUE | FALSE)
boolean
string-literal
user-label
2-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 2-4. Recurring Syntax Elements (continued)
Recurring Syntax Syntax Value
user-label {user-label}
user-label-list
create-raid-logicalDrive-attribute-value
create-raid-logicalDrive-attr-value
pair {create-raid-logicalDrive-attribute
list
value-pair}
capacity=capacity-spec | owner=(a | b) |
create-raid-logicalDrive-attribute
cacheReadPrefetch=(TRUE | FALSE) |
value-pair
segmentSize=integer-literal
(0-99)
noncontroller-enclosureID
(1-32)
slotID
(0-127)
portID
enclosureID, slotID
drive-spec
drive-spec {drive-spec}
drive-spec-list
enclosureID {enclosureID}
enclosureID-list
0xhexadecimal-literal
hex-literal
integer-literal
array-number
string-literal
filename
(stop | continue)
error-action
(1 | 2 | 3 | 4 | 5 | 6 |7 | 8)
drive-channel-identifier
drive-channel-identifier
drive-channel-identifier-list {drive-channel-identifier}
(a1 | a2 | b1 | b2)
host-channel-identifier (all
controller modules except the
DS5000– DS4800– (Models 82,
84, 88) series controller
modules)
(a1 | a2 | a3 | a4)
host-channel-identifier(DS4800 (b1 | b2 | b3 | b4)
(Models 82, 84, 88) controller
modules only)
(storagePartition2 | storagePartition4 |
storagePartition8 | storagePartition16 |
storagePartition64 | storagePartition128 |
feature-identifier
storagepartition256 | storagepartition512 |
storagePartitionMax | flashCopy |
remoteMirror | volumeCopy)
instance-based-repository-spec |
repository-spec
count-based-repository-spec
repositoryRAIDLevel=repository-raid-level
repositoryDrives=(drive-spec-list)
[enclosureLossProtect=boolean1]
repositoryArray=array-number
instance-based-repository-spec freeCapacityArea=integer-literal2
repositoryRAIDLevel=repository-raid-level
repositoryDriveCount=integer-literal
count-based-repository-spec [driveType=drive-type3]
[enclosureLossProtect=boolean4]
string-literal
wwID
hex-literal
nvsram-offset
nvsram-value-> 0xhexadecimal |
nvsram-byte-setting
integer-literal
autoconfigure-logicaldrive-attr autoconfigure-logicaldrive-attr-value-pair
value-list {autoconfigure-logicaldrive-attr-value-pair}
2-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 2-4. Recurring Syntax Elements (continued)
Recurring Syntax Syntax Value
driveType=drive-type 5 | raidLevel=raid
level | arrayWidth=integer-literal |
arrayCount=integer-literal |
autoconfigure-logicaldrive-attr 6
logicalDrivesPerArrayCount=integer-literal
value-pair
| hotSpareCount=integer-literal |
segmentSize=segment-size-spec |
cacheReadPrefetch=(TRUE | FALSE)
create-volume-copy-attr-value-pair
create-volume-copy-attr-value-list
{create-volume-copy-attr-value-pair}
recover-raid-logicalDrive-attr recover-raid-logicalDrive-attr-value-pair
value-list {recover-raid-logicalDrive-attr-value-pair}
1
For enclosure loss protection to work, each disk drive in a array must be in a
separate enclosure. If you set the enclosureLossProtect parameter to TRUE and
you have selected more than one disk drive from any one enclosure, the storage
subsystem returns an error. If you set enclosureLossProtect parameter to FALSE,
the storage subsystem performs operations, but the array that you create might
not have enclosure loss protection.
2
To determine if a free capacity area exists, run the show array command.
3
The default disk drive (drive type) for DS3000 is SAS. The default disk drive
(drive type) for DS4000 is fibre (Fibre Channel).
4
If you set the enclosureLossProtect parameter to TRUE, the storage subsystem
returns an error if the controller firmware cannot find disk drives that will enable
the new array to have enclosure loss protection. If you set the
enclosureLossProtect parameter to FALSE, the storage subsystem performs the
operation even if it means that the array might not have enclosure loss protection.
5
The driveType parameter is not required if only one type of disk drive is in the
storage subsystem. If you use the driveType parameter, you must also use the
hotSpareCount parameter and the arrayWidth parameter. If you do not use the
driveType parameter, the DS4000 configuration defaults to Fibre Channel and the
DS3000 configuration defaults to SAS.
6
The logicalDrivesPerArrayCount parameter is the number of equal-capacity
logical drives per array.
Usage Guidelines
This list provides guidelines for writing script commands on the command line:
v You must end all commands with a semicolon (;).
Note: While the CLI commands and the script commands are not case sensitive, user labels (such as for
logical drives, hosts, or host ports) are case sensitive. If you try to map to an object that is identified by a
user label, you must enter the user label exactly as it is defined, or the CLI commands and the script
commands will fail.
2-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Chapter 3. Script Commands
Attention: The script commands are capable of damaging a configuration and causing loss of data
access if not used correctly – Command operations are performed as soon as you run the commands.
Some commands can immediately delete configurations or data. Before using the script commands, make
sure that you have backed up all data, and have saved the current configuration so that you can reinstall
it if the changes you make do not work.
IBM recommends using the Storage Manager client GUI to manage your storage subsystems. – The
command line interface does not have any mechanisms to prevent you from inadvertently making
unwanted changes to the storage subsystem; therefore, IBM recommends using the Storage Manager
client GUI to manage your storage subsystem configurations.
This chapter has five sections to help you use script commands:
v “Naming Conventions” lists the general formatting rules for entering the names of storage subsystem
entities, such as logical drives or disk drives, with the script commands.
v “Firmware Compatibility Levels” on page 3-2 describes how to interpret the firmware level
information.
v “Formatting Rules for Script Commands” on page 3-2 lists the general formatting rules that apply to
the script command syntax.
v “DS3000, DS4000, and DS5000 commands with minimum firmware levels” on page 3-3 indicates which
commands you can use for DS3000, DS4000, or DS5000 with their minimum controller firmware
requirements.
v “Script Commands Listed by Function” on page 3-148 lists the script commands organized into groups
related to the physical features, the logical features, and the operational features of the storage
subsystem.
v Finally, the script commands are listed alphabetically with detailed information including the command
name, syntax, and parameters.
Naming Conventions
v Names can have a maximum of 30 characters.
v You can use any combination of alphanumeric characters, hyphens, and underscores for the names of
the following components:
– Storage subsystems
– Host groups
– Hosts
– Arrays
– Logical drives
– HBA host ports
v You must use unique names. If you do not use unique names, the controller firmware returns an error.
v If the name contains more than one word, hyphens, or underscores, enclose the name in double
quotation marks (“ ”). In some usages, you must also surround the name with square brackets ([ ]).
The description of each parameter indicates whether you need to enclose a parameter in double
quotation marks, square brackets, or both.
v The name character string cannot contain a new line.
v On Windows operating systems, you must enclose the name between two back slashes (\) in addition
to other delimiters. For example, the following name is used in a command that runs under a
Windows operating system:
When the storage management software automatically configures a storage subsystem, the storage
management software assigns names that consist of numerical characters. Names that consist only of
numerical characters are valid names. Numerical character names, however, must be treated differently
than names that start with alphabetic characters.
When you enter a script command that requires a name, the script engine looks for a name that starts
with an alphabetic character. The script engine might not recognize the following names:
v Names that are only numbers, such as 1 or 2
v Names that start with a number, such as 1Disk or 32Volume
To enter a name that consists only of numerical characters so that the script engine will recognize the
name, use a combination of back slashes and double quotation marks. The following are examples of how
you can enter names that consist only of numerical characters or start with numerical characters:
v [\“1\”]
v [\“1Disk\”]
Note: For many commands, you can enable additional parameters by upgrading to a higher firmware
level than the minimum.
Case sensitivity – The script commands are not case sensitive. You can type the script commands in
lowercase, uppercase, or mixed case. (In the following command descriptions, mixed case is used as an
aid to reading the command names and understanding the purpose of the command.)
Spaces – You must enter spaces in the script commands as they are shown in the command descriptions.
3-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parentheses – Parentheses shown in the command syntax enclose specific choices for a parameter. That
is, if you want to use the parameter, you must enter one of the values enclosed in parentheses. Generally,
you do not include parentheses in a script command; however, in some instances, when you enter lists,
you must enclose the list in parentheses. Such a list might be a list of enclosure ID values and slot ID
values. The description of each parameter tells you if you need to enclose a parameter value in
parentheses.
Vertical bars – Vertical bars in a script command indicate “or” and separate the valid values for the
parameter. For example, the syntax for the raidLevel parameter in the command description appears as
follows:
raidLevel=(0 | 1 | 3 | 5 | 6)
To use the raidLevel parameter to set a RAID level of 5, enter this value:
raidLevel=5
Drive locations – When you specify disk drive locations by using enclosure ID values and slot ID values,
separate the ID values with a comma. If you enter more than one set of ID values, separate each set of
values with a space. Enclose the set of values in parentheses. For example:
(1,1 1,2 1,3 1,4 2,1 2,2 2,3 2,4)
Italicized terms – Italicized terms in the command indicate a value or information that you need to
provide. For example, when you encounter the italicized term:
numberOfDrives
replace the italicized term with a value for the number of disk drives that you want to include with the
script command.
Semicolon – Script commands must end with a semicolon (;). You can enter more than one script
command on the command line each time you enter a CLI command.
The DS3000, DS4000, and DS5000 products share many common Storage Manager script commands.
Some commands are specific to one of the three products, two of the three products, or all three of the
products and require a particular minimum level of controller firmware.
The following is an alphabetical listing of commands with minimum controller firmware requirements.
Activate Enhanced Remote Mirroring Feature
DS3000: Not supported
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Activate Host Port
DS3000: N/A
DS4000: N/A
DS5000: N/A
Activate iSCSI Initiator
DS3000: N/A
DS4000: N/A
3-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Clear Storage Subsystem Event Log
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Clear Storage Subsystem Firmware Pending Area
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Create Array
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Create FlashCopy® Logical Drive
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Note: 7.1x.xx.xx and higher adds RAID 6 parameter
Create Host
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Create Host Group
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Create Host Port
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Create iSCSI Initiator
DS3000: 6.50.xx.xx
DS4000: Not supported
DS5000: Not supported
Note: 7.1x.xx.xx and higher adds RAID 6 parameter
Create RAID Logical Drive (Automatic Drive Select)
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Note: 7.1x.xx.xx and higher adds RAID 6 parameter
Note: 7.50.xx.xx adds securityType parameter
3-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Delete Host Group
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Note: 7.1x.xx.xx and higher adds RAID 6 parameter
Delete Host Port
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Note: 7.1x.xx.xx and higher adds RAID 6 parameter
Delete iSCSI Initiator
DS3000: 6.5x.xx.xx
DS4000: Not supported
DS5000: Not supported
Delete Logical Drive
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Note: 7.1x.xx.xx adds the removeArray parameter
Diagnose Controller
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Note: 6.1x.xx.xx adds parameters:
v readTest
v writeTest
v dataLoopBackTest
6.14.xx.xx adds the discreteLinesDiagnosticTest parameter
Diagnose Remote Mirror
DS3000: Not supported
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Disable Storage Subsystem Feature
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Note: 6.1x.xx.xx adds mixedDriveTypes parameter
Download Drive Firmware
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
3-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
DS5000: 7.3x.xx.xx
Recreate Enhanced Remote Mirroring Repository Logical Drive
DS3000: Not supported
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Recreate FlashCopy
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Recreate FlashCopy Collection
DS3000: 6.17.xx.xx
DS4000: 7.1x.xx.xx
DS5000: 7.3x.xx.xx
Remove Logical Drive LUN Mapping
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Remove Remote Mirror
DS3000: Not supported
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Remove Volume Copy
DS3000: Not supported
DS4000: 5.4x.xx.xx
DS5000: 7.3x.xx.xx
Repair Logical Drive Parity
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Replace Drive
DS3000: 6.17.xx.xx
DS4000: 7.1x.xx.xx
DS5000: 7.3x.xx.xx
Reset Controller
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Reset Storage Subsystem Battery Install Date
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
3-10 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
DS5000: 7.3x.xx.xx
Save Drive Log
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Save Storage Subsystem Configuration
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Save Storage Subsystem Diagnostic Data
DS3000: 6.17.xx.xx
DS4000: 6.16.xx.xx
DS5000: 7.3x.xx.xx
Save Storage Subsystem Events
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Save Storage Subsystem iSCSI Statistics
DS3000: 6.50.xx.xx
DS4000: Not supported
DS5000: Not supported
Save Storage Subsystem Performance Statistics
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Save Storage Subsystem RLS Counts
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Save Storage Subsystem SOC Counts
DS3000: Not supported
DS4000: 6.16.xx.xx
DS5000: 7.3x.xx.xx
Save Storage Subsystem State Capture
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Save Storage Subsystem Support Data
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
3-12 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
DS5000: 7.3x.xx.xx
Note:
v 6.14.xx.xx adds the powerfan and interconnect parameters
v 6.16.xx.xx adds the enclosure and esm parameters
Set FlashCopy Logical Drive
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Set Foreign Drive to Native
DS3000: 7.xx.xx.xx
DS4000: 7.xx.xx.xx
DS5000: 7.3x.xx.xx
Set Host
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Set Host Channel
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Set Host Group
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Set Host Port
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Set iSCSI Initiator
DS3000: 6.50.xx.xx
DS4000: Not supported
DS5000: Not supported
Set iSCSI Target Properties
DS3000: 6.50.xx.xx
DS4000: Not supported
DS5000: Not supported
Set Logical Drive
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Note: 7.1.xx.xx adds the preReadRedundancyCheck parameter
3-14 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Set Storage Subsystem Redundancy Mode
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Set Storage Subsystem Security Key
DS3000: Not supported
DS4000: Not supported
DS5000: 7.5x.xx.xx
Set Storage Subsystem Time
DS3000: 6.17.xx.xx
DS4000: 5.4x.xx.xx
DS5000: 7.3x.xx.xx
Set Unnamed Discovery Session
DS3000: 6.50.xx.xx
DS4000: 7.1x.xx.xx
DS5000: 7.3x.xx.xx
Set VolumeCopy
DS3000: 6.17.xx.xx
DS4000: 5.4x.xx.xx
DS5000: 7.3x.xx.xx
Show Array
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Show Array Export Dependencies
DS3000: 7.35.xx.xx and higher
DS4000: 7.1x.xx.xx
DS5000: 7.3x.xx.xx
Show Array Import Dependencies
DS3000: 7.35.xx.xx and higher
DS4000: 7.1x.xx.xx
DS5000: 7.3x.xx.xx
Show Controller
DS3000: 6.17.xx.xx
DS4000: 5.4x.xx.xx
DS5000: 7.3x.xx.xx
Note: 5.43.xx.xx adds the summary parameter
Show Controller NVSRAM
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
3-16 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Show Logical Drive Reservations
DS3000: 6.17.xx.xx
DS4000: 5.4x.xx.xx
DS5000: 7.3x.xx.xx
Show Storage Subsystem
DS3000: 6.17.xx.xx
DS4000: 5.4x.xx.xx
DS5000: 7.3x.xx.xx
Note: 5.43.xx.xx adds the summary parameter. 6.14.xx.xx adds the connections parameter
Show Storage Subsystem Auto Configure
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Show Storage Subsystem Host Topology
DS3000: 6.17.xx.xx
DS4000: 5.2x.xx.xx
DS5000: 7.3x.xx.xx
Show Storage Subsystem LUN Mappings
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Show Storage Subsystem Negotiation Defaults
DS3000: 6.17.xx.xx
DS4000: 7.1x.xx.xx
DS5000: 7.3x.xx.xx
Show Storage Subsystem Unreadable Sectors
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Show String
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Show Unconfigured iSCSI Initiators
DS3000: 6.50.xx.xx
DS4000: Not supported
DS5000: Not supported
Show VolumeCopy
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
3-18 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Start Drive Reconstruction
DS3000: 6.17.xx.xx
DS4000: 5.43.xx.xx
DS5000: 7.3x.xx.xx
Start Enhanced Remote Mirroring Synchronization
DS3000: Not supported
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Start iSCSI DHCP Refresh
DS3000: 6.50.xx.xx
DS4000: Not supported
DS5000: Not supported
Start Enclosure Locate
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Start Logical Drive Initialization
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Start Secure Drive Erase
DS3000: Not supported
DS4000: Not supported
DS5000: 7.5x.xx.xx
Start Storage Subsystem Locate
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
Stop Array Locate
DS3000: 6.17.xx.xx
DS4000: 6.16.xx.xx
DS5000: 7.3x.xx.xx
Stop Drive Channel Fault Isolation Diagnostics
DS3000: Not supported
DS4000: 7.3x.xx.xx
DS5000: 7.3x.xx.xx
Stop Drive Channel Locate
DS3000: 6.17.xx.xx
DS4000: 6.1x.xx.xx
DS5000: 7.3x.xx.xx
3-20 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
If you choose to define a number of disk drives, the controller firmware chooses which disk drives to use
for the mirror repository logical drive.
Parameters
Parameter Description
repositoryRAIDLevel The RAID level for the mirror repository logical drive.
Valid values are 1, 3, 5, or 6.
repositoryDrives The disk drives for the mirror repository logical drive.
Specify the enclosure ID value and the slot ID value
for each disk drive that you assign to the mirror
repository logical drive. enclosure ID values are 0 to
99. Slot ID values are 1 to 32. Enclose the enclosure ID
values and the slot ID values in parentheses.
repositoryarray The name of the mirror repository logical drive group
where the mirror repository logical drive is located.
(To determine the names of the arrays in your storage
subsystem, run the show storageSubsystem profile
command.)
freeCapacityArea The index number of the free space in an existing
array that you want to use to create the mirror
repository logical drive. Free capacity is defined as the
free capacity between existing logical drives in a
array. For example, a array might have the following
areas: logical drive 1, free capacity, logical drive 2, free
capacity, logical drive 3, free capacity. To use the free
capacity following logical drive 2, you would specify:
freeCapacityArea=2
Notes
If the disk drives that you select for the repositoryDrives parameter are not compatible with other
parameters (such as the repositoryRAIDLevel parameter), the script command returns an error, and
Enhanced Remote Mirroring is not activated. The error returns the amount of space that is needed for the
mirror repository logical drive. You can then re-enter the command, and specify the appropriate amount
of space.
If you enter a value for the repository storage space that is too small for the mirror repository logical
drives, the controller firmware returns an error message that provides the amount of space that is needed
for the mirror repository logical drives. The command does not try to activate Enhanced Remote
Mirroring. You can re-enter the command by using the value from the error message for the repository
storage space value.
When you assign the disk drives, if you set the enclosureLossProtect parameter to TRUE and have
selected more than one disk drive from any one enclosure, the storage subsystem returns an error. If you
set the enclosureLossProtect parameter to FALSE, the storage subsystem performs operations, but the
array that you create might not have enclosure loss protection.
When the controller firmware assigns the disk drives, if you set the enclosureLossProtect parameter to
TRUE, the storage subsystem returns an error if the controller firmware cannot provide disk drives that
result in the new array having enclosure loss protection. If you set the enclosureLossProtect parameter to
FALSE, the storage subsystem performs the operation even if it means that the array might not have
enclosure loss protection.
Syntax
activate hostPort ”userLabel”
Parameters
Parameter Description
userLabel The name of the HCA host port. Enclose the host port name in double
quotation marks (“ ”).
3-22 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Activate iSCSI Initiator
This command activates an inactive iSCSI initiator that was created when the Host Context Agent (HCA)
registered the iSCSI initiator to a host.
Syntax
activate iscsiInitiator “iSCSI-ID”
Parameters
Parameter Description
iSCSI-ID The name of the iSCSI initiator. Enclose the name in double quotation
marks (“ ”).
Syntax
activate storageSubsystem firmware
Parameters
None.
Syntax
autoConfigure storageSubsystem
[driveType=(fibre | SATA | SAS |)
raidLevel=(0 | 1 | 3 | 5 | 6)
arrayWidth=numberOfDrives
arrayCount=numberOfarrays
logicalDrivesPerArrayCount=numberOfLogicalDrivesPerArray
hotSpareCount=numberOfHotSpares
segmentSize=segmentSizeValue
cacheReadPrefetch=(TRUE | FALSE)
securityType=(none | capable | enabled)]
Notes
Disk Drives
A array is a set of disk drives that are logically grouped together by the controllers in the storage
subsystem. The number of disk drives in a array is a limitation of the controller firmware.
Disk drives do not report their exact capacity (for example, a 73-GB drive does not report 73 GB as its
capacity).
Hot Spares
Hot spare disk drives can replace any failed disk drive in the storage subsystem. The hot spare must be
the same type of disk drive as the disk drive that failed (that is, a SATA hot spare cannot replace a Fibre
Channel disk drive). A hot spare must have capacity greater than or equal to any disk drive that can fail.
If a hot spare is smaller than a failed disk drive, you cannot use the hot spare to rebuild the data from
the failed disk drive. Hot spares are available only for RAID levels 1, 3, 5, or 6.
3-24 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Segment Size
The size of a segment determines how many data blocks that the controller writes on a single disk drive
in a logical drive before writing data on the next disk drive. Each data block stores 512 bytes of data. A
data block is the smallest unit of storage. The size of a segment determines how many data blocks that it
contains. For example, an 8-KB segment holds 16 data blocks. A 64-KB segment holds 128 data blocks.
When you enter a value for the segment size, the value is checked against the supported values that are
provided by the controller at run time. If the value that you entered is not valid, the controller returns a
list of valid values. Using a single disk drive for a single request leaves other disk drives available to
simultaneously service other requests.
If the logical drive is in an environment where a single user is transferring large units of data (such as
multimedia), performance is maximized when a single data transfer request is serviced with a single data
stripe. (A data stripe is the segment size that is multiplied by the number of disk drives in the array that
are used for data transfers.) In this case, multiple disk drives are used for the same request, but each disk
drive is accessed only once. For optimal performance in a multiuser database or file system storage
environment, set your segment size to minimize the number of disk drives that are required to satisfy a
data transfer request.
Cache read prefetch lets the controller copy additional data blocks into cache while the controller reads
and copies data blocks that are requested by the host from the disk drive into cache. This action increases
the chance that a future request for data can be fulfilled from cache. Cache read prefetch is important for
multimedia applications that use sequential data transfers. The configuration settings for the storage
subsystem that you use determine the number of additional data blocks that the controller reads into
cache. Valid values for the cacheReadPrefetch parameter are TRUE or FALSE.
Syntax
autoConfigure storageSubsystem hotSpares
Parameters
None.
Notes
When you run the autoconfigure storageSubsystem hotSpares command, the controller firmware
determines the number of hot spares to create based on the total number and type of disk drives in the
storage subsystem. For Fibre Channel disk drives, SATA disk drives, and SAS disk drives, the controller
firmware creates one hot spare for the storage subsystem and one additional hot spare for every 60 disk
drives in the storage subsystem.
Parameters
Parameter Description
logicalDrive The name of the specific logical drive for which you want to
check parity. Enclose the logical drive name in square
brackets ([ ]). If the logical drive name has special characters,
you also must enclose the logical drive name in double
quotation marks (“ ”).
parityErrorFile The name of the file in which you want to save the parity
error information. Enclose the file name in double quotation
marks (“ ”).
mediaErrorFile The name of the file in which you want to save the media
error information. Enclose the file name in double quotation
marks (“ ”).
priority The priority that the parity check has relative to host I/O
activity. Valid values are highest, high, medium, low, or
lowest.
startingLBA The starting logical block address. Use integer values.
endingLBA The ending logical block address. Use integer values.
verbose The setting to capture progress details, such as percent
complete, and to show the information as the logical drive
parity is being repaired. To capture progress details, set this
parameter to TRUE. To prevent capturing progress details, set
this parameter to FALSE.
Notes
The starting logical block address and the ending logical block address are useful for very large
single-logical drive LUNs. Running a logical drive parity check on a very large single logical drive LUN
can take a long time. By defining the beginning address and ending address of the data blocks, you can
reduce the time that a logical drive parity check takes to complete.
Syntax
check remoteMirror localLogicalDrive [logicalDriveName] optimalStatus
timeout=timeoutValue
3-26 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameters
Parameter Description
localLogicalDrive The name of any remote-mirror logical drive. The
remote-mirror logical drive can be the primary logical
drive or the secondary logical drive of a remote-mirror
pair. Enclose the logical drive name in square brackets
([ ]). If the logical drive name has special characters,
you also must enclose the logical drive name in double
quotation marks (“ ”).
timeout The time interval within which the software can return
the remote-mirror logical drive status. The timeout
value is in minutes.
Notes
This command waits until the status becomes Optimal or the timeout interval expires. Use this command
when you run the Asynchronous Enhanced Remote Mirroring utility. (For more information, see
“Asynchronous Enhanced Remote Mirroring Utility” on page 6-12.)
Syntax
clear allDriveChannels stats
Parameters
None.
Syntax
clear (allLogicalDrives | logicaldrive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN]) reservations
Parameters
Parameter Description
allLogicalDrives The setting to clear persistent logical drive reservations
on all of the logical drives in the storage subsystem.
logicalDrive or The name of the specific logical drive for which you
logicalDrives want to clear persistent logical drive reservations. You
can enter more than one logical drive name. Enclose the
logical drive name in square brackets ([ ]). If the logical
drive name has special characters, you also must enclose
the logical drive name in double quotation marks (“ ”).
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
Syntax
clear (allLogicalDrives | logicaldrive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN]) unreadableSectors
Parameters
Parameter Description
allLogicalDrives The setting to clear unreadable sector information
from all of the logical drives in the storage subsystem.
logicalDrive or The name of the specific logical drive for which you
logicalDrives want to clear unreadable sector information. You can
enter more than one logical drive name. Enclose the
logical drive name in square brackets ([ ]). If the
logical drive name has special characters, you also
must enclose the logical drive name in double
quotation marks (“ ”).
Notes
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
Attention: Possible damage to the storage subsystem configuration – When you run this command,
the existing storage subsystem configuration is deleted.
Syntax
clear storageSubsystem configuration [all | arrays]
Parameters
Parameter Description
None If you do not enter a parameter, this command removes all
configuration information for the storage subsystem, except for
information related to security and identification.
3-28 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
all The setting to remove the entire configuration of the storage
subsystem, including security information and identification
information. Removing all configuration information returns the
storage subsystem to its initial state.
arrays The setting to remove the logical drive configuration and the
array configuration. The rest of the configuration stays intact.
Notes
When you run this command, the storage subsystem becomes unresponsive, and all script processing is
canceled. You must remove and re-add the storage subsystem to resume communication with the host. To
remove an unresponsive storage subsystem, access the Enterprise Management Window, and select Edit →
Remove. To re-add the storage subsystem, access the Enterprise Management Window, select Edit → Add
Storage Array, and enter the appropriate IP addresses.
Attention:
Possible damage to the storage subsystem configuration – As soon as you run this command, the
existing Event Log in the storage subsystem is deleted.
Syntax
clear storageSubsystem eventLog
Parameters
None.
Attention:
Possible damage to the storage subsystem configuration – As soon as you run this command, the
contents of the existing pending area in the storage subsystem are deleted.
Syntax
clear storageSubsystem firmwarePendingArea
Note: This command is not required for DS3000. Downloads for DS3000 are immediately activated and
are not staged. The pending area buffer will have no firmware image or NVSRAM values for DS3000.
Parameters
None.
Syntax
create array [userLabel]
drives=(enclosureID1,slotID1 ... enclosureIDn,slotIDn)
raidLevel=(0 | 1 | 3 | 5 | 6)
[capacity=arrayCapacity
owner=(a | b)
cacheReadPrefetch=(TRUE | FALSE)
segmentSize=segmentSizeValue
usageHint=(fileSystem | dataBase | multiMedia)]
[enclosureLossProtect=(TRUE | FALSE)
securityType=(none | capable | enabled)]
Parameters
Parameter Description
array The alphanumeric identifier (including - and _) that you
want to give the new array. Enclose the array identifier
in square brackets ([ ]).
drives The disk drives that you want to assign to the array that
you want to create. Specify the enclosure ID and slot ID
for each disk drive that you assign to the array.
Enclosure ID values are 0 to 99. Slot ID values are 1 to
32. Enclose the enclosure ID values and the slot ID
values in parentheses.
raidLevel The RAID level of the array that contains the logical
drive. Valid values are 0, 1, 3, 5, or 6.
capacity The size of the logical drive that you are adding to the
storage subsystem. Size is defined in units of bytes, KB,
MB, GB, or TB. These examples show the syntax:
capacity=500 bytes capacity=2 GB
owner The setting for which controller owns the array. Valid
controller identifiers are a or b, where a is the controller
in slot A, and b is the controller in slot B. If you do not
specify an owner, the controller firmware determines the
owner.
cacheReadPrefetch The setting to turn on or turn off cache read prefetch. To
turn off cache read prefetch, set this parameter to FALSE.
To turn on cache read prefetch, set this parameter to
TRUE.
segmentSize The amount of data (in KB) that the controller writes on
a single disk drive in a logical drive before writing data
on the next disk drive. Valid values are 8, 16, 32, 64, 128,
256, or 512.
usageHint The setting for both the cacheReadPrefetch parameter
and the segmentSize parameter to be default values. The
default values are based on the typical I/O usage pattern
of the application that is using the logical drive. Valid
values are fileSystem, dataBase, or multiMedia.
enclosureLossProtect The setting to enforce enclosure loss protection when
you create the array. To enforce enclosure loss protection,
set this parameter to TRUE. The default value is FALSE.
3-30 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
securityType The setting to specify the security level when creating
the arrays and all associated logical drives. These
settings are valid:
v none—The array and logical drives are not secure.
v capable—The array and logical drives are capable of
having security set, but security has not been enabled.
v enabled—The array and logical drives have security
enabled.
Notes
The drives parameter lets you choose the number of disk drives that you want to use in the array. If you
choose this option, you do not need to specify the disk drives by enclosure ID and slot ID. The
controllers choose the specific disk drives to use for the array.
If you do not specify a capacity by using the capacity parameter, all of the disk drive capacity that is
available in the array is used. If you do not specify capacity units, bytes is used as the default value.
The cacheReadPrefetch command lets the controller copy additional data blocks into cache while the
controller reads and copies data blocks that are requested by the host from the disk drives into cache.
This action increases the chance that a future request for data can be fulfilled from cache. Cache read
prefetch is important for multimedia applications that use sequential data transfers. The configuration
settings for the storage subsystem that you use determine the number of additional data blocks that the
controller reads into cache. Valid values for the cacheReadPrefetch parameter are TRUE or FALSE.
You do not need to enter a value for the cacheReadPrefetch parameter or the segmentSize parameter. If
you do not enter a value, the controller firmware uses the usageHint parameter with fileSystem as the
default value. Entering a value for the usageHint parameter and a value for the cacheReadPrefetch
parameter or a value for the segmentSize parameter does not cause an error. The value that you enter for
the cacheReadPrefetch parameter or the segmentSize parameter takes priority over the value for the
usageHint parameter.
Segment Size
The size of a segment determines how many data blocks that the controller writes on a single disk drive
in a logical drive before writing data on the next disk drive. Each data block stores 512 bytes of data. A
data block is the smallest unit of storage. The size of a segment determines how many data blocks that it
contains. For example, an 8 KB segment holds 16 data blocks. A 64 KB segment holds 128 data blocks.
When you enter a value for the segment size, the value is checked against the supported values that are
provided by the controller at run time. If the value that you entered is not valid, the controller returns a
list of valid values. Using a single disk drive for a single request leaves other disk drives available to
simultaneously service other requests.
If the logical drive is in an environment where a single user is transferring large units of data (such as
multimedia), performance is maximized when a single data transfer request is serviced with a single data
stripe. (A data stripe is the segment size that is multiplied by the number of disk drives in the array that
are used for data transfers.) In this case, multiple disk drives are used for the same request, but each disk
drive is accessed only once.
For enclosure loss protection to work, each disk drive in a array must be in a separate enclosure. If you
set the enclosureLossProtect parameter to TRUE and have selected more than one disk drive from any
one enclosure, the storage subsystem returns an error. If you set the enclosureLossProtect parameter to
FALSE, the storage subsystem performs operations, but the array that you create might not have
enclosure loss protection. enclosure loss protection is not valid when you create logical drives on existing
arrays.
Security Type
See “Security Type” on page 4-30 for an explanation of this new parameter.
If you choose to define a number of disk drives, the controller firmware chooses which disk drives to use
for the FlashCopy logical drive.
3-32 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
repositoryPercentOfBase=percentValue
repositoryUserLabel=”repositoryName”
repositoryFullPolicy=(failBaseWrites | failFlashCopy)
enclosureLossProtect=(TRUE | FALSE)
A FlashCopy logical drive is a point-in-time image of a logical drive in a storage subsystem, which is
created by using the create FlashCopylogical drive command and specific parameters as described in the
next section.
Parameters
Parameter Description
baseLogicalDrive The name of the base logical drive from which you want
to take a FlashCopy. Enclose the base logical drive name
in double quotation marks (“ ”).
repositoryRAIDLevel The RAID level for the FlashCopy repository logical
drive. Valid values are 1, 3, 5, or 6.
repositoryDrives The disk drives that you want to assign to the FlashCopy
repository logical drive. Specify the enclosure ID and the
slot ID for each disk drive that you assign to the
FlashCopy repository logical drive. enclosure ID values
are 0 to 99. Slot ID values are 1 to 32. Enclose the list of
disk drives in parentheses.
repositoryDriveCount The number of unassigned disk drives that you want to
use for the FlashCopy repository logical drive.
driveType The type of disk drives that you want to use for the
FlashCopy repository logical drive. Valid disk drive
types are SCSI, fibre, or SAS.
repositoryArray The alphanumeric identifer (including - and _) of the
array where the FlashCopy repository logical drive is
located.
freeCapacityArea The index number of the free space in an existing array
that you want to use to create the FlashCopy repository
logical drive. Free capacity is defined as the free capacity
between existing logical drives in a array. For example, a
array might have the following areas: logical drive 1, free
capacity, logical drive 2, free capacity, logical drive 3, free
capacity. To use the free capacity following logical drive
2, you would specify:
freeCapacityArea=2
Notes
The logical drive that you are taking a FlashCopy of must be a standard logical drive in the storage
subsystem. The maximum number of FlashCopy logical drives that you can create is one-half of the total
number of logical drives that are supported by a controller.
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
One technique for naming the FlashCopy logical drive and the FlashCopy repository logical drive is to
add a hyphenated suffix to the original base logical drive name. The suffix distinguishes between the
FlashCopy logical drive and the FlashCopy repository logical drive. For example, if you have a base
logical drive with a name of Engineering Data, the FlashCopy logical drive can have a name of
Engineering Data-S1, and the FlashCopy repository logical drive can have a name of EngineeringData-R1.
If you do not choose a name for either the FlashCopy logical drive or the FlashCopy repository logical
drive, the storage management software creates a default name by using the base logical drive name. An
example of the FlashCopy logical drive name that the controllers might create is, if the base logical drive
name is aaa and does not have a FlashCopy logical drive, the default FlashCopy logical drive name is
aaa-1. If the base logical drive already has n-1 number of FlashCopy logical drives, the default name is
aaa-n. An example of the FlashCopy repository logical drive name that the controller might create is, if
the base logical drive name is aaa and does not have a FlashCopy repository logical drive, the default
FlashCopy repository logical drive name is aaa-R1. If the base logical drive already has n-1 number of
FlashCopy repository logical drives, the default name is aaa-Rn.
If you do not specify the unconfigured space or free space, the FlashCopy repository logical drive is
placed in the same array as the base logical drive. If the array where the base logical drive resides does
not have enough space, this command fails.
When you assign the disk drives, if you set the enclosureLossProtect parameter to TRUE and have
selected more than one disk drive from any one enclosure, the storage subsystem returns an error. If you
set the enclosureLossProtect parameter to FALSE, the storage subsystem performs operations, but the
array that you create might not have enclosure loss protection.
When the controller firmware assigns the disk drives, if you set the enclosureLossProtect parameter to
TRUE, the storage subsystem returns an error if the controller firmware cannot provide disk drives that
result in the new array having enclosure loss protection. If you set the enclosureLossProtect parameter to
FALSE, the storage subsystem performs the operation even if it means the array might not have enclosure
loss protection.
3-34 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Create Host
This command creates a new host. If you do not specify a host group in which to create the new host, the
new host is created in the Default Group.
Syntax
create host userLabel=”hostName”
[hostGroup=(“hostGroupName” | defaultGroup)]
[hostType=(hostTypeIndexLabel | hostTypeIndexNumber)]
Parameters
Parameter Description
userLabel The name that you want to give the host that you are creating.
Enclose the host name in double quotation marks (“ ”).
hostGroup The name of the host group in which you want to create a new
host. Enclose the host group name in double quotation marks
(“ ”). (If a host group does not exist, you can create a new host
group by using the create hostGroup command.) The
defaultGroup option is the host group that contains the host to
which the logical drive is mapped.
hostType The index label or the index number that identifies the host type.
Use the show storageSubsystem hostTypeTable command to
generate a list of available host type identifiers. If the host type
has special characters, enclose the host type in double quotation
marks (“ ”).
Notes
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
A host is a computer that is attached to the storage subsystem and accesses the logical drives on the
storage subsystem through its HBA host ports. You can define specific logical drive-to-LUN mappings to
an individual host. You also can assign the host to a host group that shares access to one or more logical
drives.
A host group is an optional topological element that you can define if you want to designate a collection
of hosts that share access to the same logical drives. The host group is a logical entity. Define a host
group only if you have two or more hosts that share access to the same logical drives.
If you do not specify a host group in which to place the host that you are creating, the newly defined
host belongs to the default host group.
Syntax
create hostGroup userLabel=”hostGroupName”
Notes
A host group is an optional topological element that you can define if you want to designate a collection
of hosts that share access to the same logical drives. The host group is a logical entity. Define a host
group only if you have two or more hosts that can share access to the same logical drives.
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
Syntax
create hostPort identifier=”wwID”
userLabel=”portLabel”
host=”hostName”
Parameters
Parameter Description
identifier The unique ID of the HBA host port. Enclose the unique ID
in double quotation marks (“ ”).
userLabel The name that you want to give to the new HBA host port.
Enclose the HBA host port label in double quotation marks
(“ ”).
host The name of the host for which you are defining an HBA
host port. Enclose the host name in double quotation marks
(“ ”).
hostType This parameter is deprecated.
Note: Host types are normally defined by the order
instance in the NVSRAM. This command will be moving to
an active host context agent, which will perform much of
the work and will also allow auto-generated host names.
The index label or the index number that identifies the host
type. Use the show storageSubsystem hostTypeTable
command to generate a list of available host type
identifiers. If the host type identifier has special characters,
enclose the host type identifier in double quotation marks
(“ ”).
3-36 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Notes
An HBA host port is a physical connection on a host adapter that resides within a host computer. An
HBA host port provides a host access to the logical drives in a storage subsystem. If the host bus adapter
has only one physical connection (one host port), the terms host port and host bus adapter are
synonymous.
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
Syntax
create iscsiInitiator iscsiName=iSCSI-ID
userLabel=”name”
host=host-name
[chapSecret=securityKey]
Parameters
Parameters Description
iscsiName The default identifier of the iSCSI initiator.
userLabel The name that you want to use for the iSCSI initiator. Enclose
the name in double quotation marks (“ ”).
host The name of the host in which the iSCSI initiator is installed.
chapSecret The security key that you want to use to authenticate a peer
connection.
Notes
Challenge Handshake Authentication Protocol (CHAP) is a protocol that authenticates the peer of a
connection. CHAP is based upon the peers sharing a “secret.” A secret is a security key that is similar to
a password.
Use the chapSecret parameter to set up the security keys for initiators that require a mutual
authentication.
Important:
If you have disk drives with different capacities, you cannot automatically create logical drives by
specifying the driveCount parameter. If you want to create logical drives with disk drives of different
capacities, see “Create RAID Logical Drive (Manual Drive Select)” on page 3-42.
Parameters
Parameter Description
driveCount The number of unassigned disk drives that you want to
use in the array.
raidLevel The RAID level of the array that contains the logical
drive. Valid values are 0, 1, 3, 5, or 6.
userLabel The name that you want to give to the new logical
drivev . Enclose the new logical drive name in double
quotation marks (“ ”).
driveType The type of disk drive that you want to use in the
logical drive. You cannot mix disk drive types. Valid
disk drive types are fibre, SATA, or SAS.
capacity The size of the logical drive that you are adding to the
storage subsystem. Size is defined in units of bytes, KB,
MB, GB, or TB.
owner The controller that owns the logical drive. Valid
controller identifiers are a or b, where a is the controller
in slot A, and b is the controller in slot B. If you do not
specify an owner, the controller firmware determines
the owner.
cacheReadPrefetch The setting to turn on or turn off cache read prefetch.
To turn off cache read prefetch, set this parameter to
FALSE. To turn on cache read prefetch, set this
parameter to TRUE.
segmentSize The amount of data (in KB) that the controller writes on
a single disk drive in a logical drive before writing data
on the next disk drive. Valid values are 8, 16, 32, 64,
128, 256, or 512.
usageHint The setting for both cacheReadPrefetch parameter and
the segmentSize parameter to be default values. The
default values are based on the typical I/O usage
pattern of the application that is using the logical drive.
Valid values are fileSystem, dataBase, or multiMedia.
enclosureLossProtect The setting to enforce enclosure loss protection when
you create the array. To enforce enclosure loss
protection, set this parameter to TRUE. The default
setting is FALSE.
dssPreAllocate The setting to make sure that reserve capacity is
allocated for future segment size increases. The default
value is TRUE.
3-38 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
securityType The setting to specify the security level when creating
the arrays and all associated logical drives. These
settings are valid:
v none—The array and logical drives are not secure.
v capable—The arrays and logical drives are capable of
having security set, but security has not been
enabled.
v enabled—The array and logical drives have security
enabled.
Notes
The driveCount parameter lets you choose the number of disk drives that you want to use in the array.
You do not need to specify the disk drives by enclosure ID and slot ID. The controllers choose the
specific disk drives to use for the array.
The owner parameter defines which controller owns the logical drive.
If you do not specify a capacity using the capacity parameter, all of the disk drive capacity that is
available in the array is used. If you do not specify capacity units, bytes is used as the default value.
Cache read prefetch lets the controller copy additional data blocks into cache while the controller reads
and copies data blocks that are requested by the host from the disk drives into cache. This action
increases the chance that a future request for data can be fulfilled from cache. Cache read prefetch is
important for multimedia applications that use sequential data transfers. The configuration settings for
the storage subsystem that you use determine the number of additional data blocks that the controller
reads into cache. Valid values for the cacheReadPrefetch parameter are TRUE or FALSE.
Segment Size
The size of a segment determines how many data blocks that the controller writes on a single disk drive
in a logical drive before writing data on the next disk drive. Each data block stores 512 bytes of data. A
data block is the smallest unit of storage. The size of a segment determines how many data blocks that it
contains. For example, an 8-KB segment holds 16 data blocks. A 64-KB segment holds 128 data blocks.
When you enter a value for the segment size, the value is checked against the supported values that are
provided by the controller at run time. If the value that you entered is not valid, the controller returns a
list of valid values. Using a single disk drive for a single request leaves other disk drives available to
simultaneously service other requests.
If the logical drive is in an environment where a single user is transferring large units of data (such as
multimedia), performance is maximized when a single data transfer request is serviced with a single data
stripe. (A data stripe is the segment size that is multiplied by the number of disk drives in the array that
are used for data transfers.) In this case, multiple disk drives are used for the same request, but each disk
drive is accessed only once.
For optimal performance in a multiuser database or file system storage environment, set your segment
size to minimize the number of disk drives that are required to satisfy a data transfer request.
You do not need to enter a value for the cacheReadPrefetch parameter or the segmentSize parameter. If
you do not enter a value, the controller firmware uses the usageHint parameter with fileSystem as the
For enclosure loss protection to work, each disk drive in a array must be on a separate enclosure. If you
set the enclosureLossProtect parameter to TRUE and have selected more than one disk drive from any
one enclosure, the storage subsystem returns an error. If you set the enclosureLossProtect parameter to
FALSE, the storage subsystem performs operations, but the array that you create might not have
enclosure loss protection.
enclosure loss protection is not valid when you create logical drives on existing arrays.
Security Type
See “Security Type” on page 4-30 for an explanation of this new parameter.
Syntax
create logicalDrive array=arrayNumber
userLabel=”logicalDriveName”
[freeCapacityArea=freeCapacityIndexNumber
capacity=logicalDriveCapacity
owner=(a | b)
cacheReadPrefetch=(TRUE | FALSE)
segmentSize=segmentSizeValue
usageHint=(fileSystem | dataBase | multiMedia) |
dssPreAllocate=(TRUE | FALSE)
securityType=(none | capable | enabled)]
Parameters
Parameter Description
array The alphanumeric identifier (including - and _) for a
specific array in your storage subsystem.
userLabel The name that you want to give the new logical drive.
Enclose the new logical drive name in double quotation
marks (“ ”).
freeCapacityArea The index number of the free space in an existing array
that you want to use to create the new logical drive. Free
capacity is defined as the free capacity between existing
logical drives in a array. For example, a array might have
the following areas: logical drive 1, free capacity, logical
drive 2, free capacity, logical drive 3, free capacity. To use
the free capacity following logical drive 2, you would
specify:
freeCapacityArea=2
3-40 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
capacity The size of the logical drive that you are adding to the
storage subsystem. Size is defined in units of bytes, KB,
MB, GB, or TB.
owner The controller that owns the logical drive. Valid
controller identifiers are a or b, where a is the controller
in slot A, and b is the controller in slot B. If you do not
specify an owner, the controller firmware determines the
owner.
cacheReadPrefetch The setting to turn on or turn off cache read prefetch. To
turn off cache read prefetch, set this parameter to FALSE.
To turn on cache read prefetch, set this parameter to
TRUE.
segmentSize The amount of data (in KB) that the controller writes on
a single disk drive in a logical drive before writing data
on the next disk drive. Valid values are 8, 16, 32, 64, 128,
256, or 512.
usageHint The settings for both the cacheReadPrefetch parameter
and the segmentSize parameter to be default values. The
default values are based on the typical I/O usage pattern
of the application that is using the logical drive. Valid
values are fileSystem, dataBase, or multiMedia.
dssPreAllocate The setting to make sure that reserve capacity is
allocated for future segment size increases. The default
value is TRUE.
securityType The setting to specify the security level when creating
the array and all associated logical drives. These settings
are valid:
v none—The array and logical drives are not secure.
v capable—The array and logical drives are capable of
having security set, but security has not been enabled.
v enabled—The array and logical drives have security
enabled.
Notes
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
The owner parameter defines which controller owns the logical drive. The preferred controller ownership
of a logical drive is the controller that currently owns the array.
If you do not specify a capacity using the capacity parameter, all of the available capacity in the free
capacity area of the array is used. If you do not specify capacity units, bytes is used as the default value.
Segment Size
The size of a segment determines how many data blocks that the controller writes on a single disk drive
in a logical drive before writing data on the next disk drive. Each data block stores 512 bytes of data. A
data block is the smallest unit of storage. The size of a segment determines how many data blocks that it
contains. For example, an 8-KB segment holds 16 data blocks. A 64-KB segment holds 128 data blocks.
If the logical drive is in an environment where a single user is transferring large units of data (such as
multimedia), performance is maximized when a single data transfer request is serviced with a single data
stripe. (A data stripe is the segment size that is multiplied by the number of disk drives in the array that
are used for data transfers.) In this case, multiple disk drives are used for the same request, but each disk
drive is accessed only once.
For optimal performance in a multiuser database or file system storage environment, set your segment
size to minimize the number of disk drives that are required to satisfy a data transfer request.
Cache read prefetch lets the controller copy additional data blocks into cache while the controller reads
and copies data blocks that are requested by the host from the disk drives into cache. This action
increases the chance that a future request for data can be fulfilled from cache. Cache read prefetch is
important for multimedia applications that use sequential data transfers. The configuration settings for
the storage subsystem that you use determine the number of additional data blocks that the controller
reads into cache. Valid values for the cacheReadPrefetch parameter are TRUE or FALSE. You do not need
to enter a value for the cacheReadPrefetch parameter or the segmentSize parameter. If you do not enter
a value, the controller firmware uses the usageHint parameter with fileSystem as the default value.
Entering a value for the usageHint parameter and a value for the cacheReadPrefetch parameter or a
value for the segmentSize parameter does not cause an error. The value that you enter for the
cacheReadPrefetch parameter or the segmentSize parameter takes priority over the value for the
usageHint parameter.
Security Type
See “Security Type” on page 4-30 for an explanation of this new parameter.
Important: You cannot use mixed disk drive types in the same array and logical drive. This command
fails if you specify different types of disk drives for the RAID logical drive.
Syntax
create logicalDrive drives=(enclosureID1,slotID1...enclosureIDn,slotIDn)
raidLevel=(0 | 1 | 3 | 5 | 6)
userLabel=”logicalDriveName”
[capacity=logicalDriveCapacity
owner=(a | b)
cacheReadPrefetch=(TRUE | FALSE)
segmentSize=segmentSizeValue
usageHint=(fileSystem | dataBase | multiMedia)
enclosureLossProtect=(TRUE | FALSE)
dssPreAllocate=(TRUE | FALSE)
securityType=(none | capable | enabled)]
3-42 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameters
Parameter Description
drives The disk drives that you want to assign to the logical
drive that you want to create. Specify the enclosure ID
and slot ID for each unassigned disk drive that you
want to assign to the logical drive. enclosure ID values
are 0 to 99. Slot ID values are 1 to 32. Enclose the
enclosure ID values and the slot ID values in
parentheses.
raidLevel The RAID level of the array that contains the logical
drive. Valid values are 0, 1, 3, 5, or 6.
userLabel The name that you want to give the new logical drive.
Enclose the new logical drive name in double quotation
marks (“ ”).
capacity The size of the logical drive that you are adding to the
storage subsystem. Size is defined in units of bytes, KB,
MB, GB, or TB.
owner The controller that owns the logical drive. Valid
controller identifiers are a or b, where a is the
controller in slot A, and b is the controller in slot B. If
you do not specify an owner, the controller firmware
determines the owner.
cacheReadPrefetch The setting to turn on or turn off cache read prefetch.
To turn off cache read prefetch, set this parameter to
FALSE. To turn on cache read prefetch, set this
parameter to TRUE.
segmentSize The amount of data (in KB) that the controller writes
on a single disk drive in a logical drive before writing
data on the next disk drive. Valid values are 8, 16, 32,
64, 128, 256, or 512.
usageHint The settings for both the cachReadPrefetch parameter
and the segmentSize parameter to be default values.
The default values are based on the typical I/O usage
pattern of the application that is using the logical drive.
Valid values are fileSystem, dataBase, or multiMedia.
enclosureLossProtect The setting to enforce enclosure loss protection when
you create the repository. To enforce enclosure loss
protection, set this parameter to TRUE. The default
value is FALSE.
dssPreAllocate The setting to make sure that reserve capacity is
allocated for future segment size increases. This default
value is TRUE.
securityType The setting to specify the security level when creating
the array and all associated logical drives. These
settings are valid:
v none—The array and logical drives are not secure.
v capable—The array and logical drives are capable of
having security set, but security has not been
enabled.
v enabled—The array and logical drives have security
enabled.
If you set the raidLevel parameter to RAID 1, the controller firmware takes the list of drives and pairs
them by using this algorithm:
Data drive = X
Parity drive = N/2 + X
In this algorithm X is 1 to N/2, and N is the number of drives in the list. For example, if you have six
drives, the mirror pairs are as follows:
Data Parity
1 N/2 + 1 = 4
2 N/2 + 2 = 5
3 N/2 + 3 = 6
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
The owner parameter defines which controller owns the logical drive. The preferred controller ownership
of a logical drive is the controller that currently owns the array.
If you do not specify a capacity using the capacity parameter, all of the disk drive capacity that is
available in the array is used. If you do not specify capacity units, bytes is used as the default value.
Segment Size
The size of a segment determines how many data blocks that the controller writes on a single disk drive
in a logical drive before writing data on the next disk drive. Each data block stores 512 bytes of data. A
data block is the smallest unit of storage. The size of a segment determines how many data blocks that it
contains. For example, an 8-KB segment holds 16 data blocks. A 64-KB segment holds 128 data blocks.
When you enter a value for the segment size, the value is checked against the supported values that are
provided by the controller at run time. If the value that you entered is not valid, the controller returns a
list of valid values. Using a single disk drive for a single request leaves other disk drives available to
simultaneously service other requests.
If the logical drive is in an environment where a single user is transferring large units of data (such as
multimedia), performance is maximized when a single data transfer request is serviced with a single data
stripe. (A data stripe is the segment size that is multiplied by the number of disk drives in the array that
are used for data transfers.) In this case, multiple disk drives are used for the same request, but each disk
drive is accessed only once.
For optimal performance in a multiuser database or file system storage environment, set your segment
size to minimize the number of disk drives that are required to satisfy a data transfer request.
Cache read prefetch lets the controller copy additional data blocks into cache while the controller reads
and copies data blocks that are requested by the host from the disk drive into cache. This action increases
the chance that a future request for data can be fulfilled from cache. Cache read prefetch is important for
multimedia applications that use sequential data transfers. The configuration settings for the storage
subsystem that you use determine the number of additional data blocks that the controller reads into
cache. Valid values for the cacheReadPrefetch parameter are TRUE or FALSE.
3-44 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
You do not need to enter a value for the cacheReadPrefetch parameter or the segmentSize parameter. If
you do not enter a value, the controller firmware uses the usageHint parameter with fileSystem as the
default value. Entering a value for the usageHint parameter and a value for the cacheReadPrefetch
parameter or a value for the segmentSize parameter does not cause an error. The value that you enter for
the cacheReadPrefetch parameter or the segmentSize parameter takes priority over the value for the
usageHint parameter.
For enclosure loss protection to work, each disk drive in a array must be on a separate enclosure. If you
set the enclosureLossProtect parameter to TRUE and have selected more than one disk drive from any
one enclosure, the storage subsystem returns an error. If you set the enclosureLossProtect parameter to
FALSE, the storage subsystem performs operations, but the array that you create might not have
enclosure loss protection. enclosure loss protection is not valid when you create logical drives on existing
arrays.
Security Type
Syntax
create remoteMirror primary=”primaryLogicalDriveName”
secondary=”secondaryLogicalDriveName”
(remoteStorageSubsystemName=”storageSubsystemName” |
remoteStorageSubsystemWwn=”wwID”)
[remotePassword=”password”
syncPriority=(highest | high | medium | low | lowest)
autoResync=(enabled | disabled)
writeOrder=(preserved | notPreserved)
writeMode=(synchronous | asynchronous)]
Parameters
Parameter Description
primary The name of an existing logical drive on the local
storage subsystem that you want to use for the
primary logical drive. Enclose the primary logical
drive name in double quotation marks (“ ”).
secondary The name of an existing logical drive on the remote
storage subsystem that you want to use for the
secondary logical drive. Enclose the secondary
logical drive name in double quotation marks (“ ”).
remoteStorageSubsystemName The name of the remote storage subsystem. Enclose
the remote storage subsystem name in double
quotation marks (“ ”).
remoteStorageSubsystemWwn The WWID of the remote storage array. Enclose the
WWID in double quotation marks (“ ”).
remotePassword The password for the remote storage subsystem. Use
this parameter when the remote storage subsystem
is password protected. Enclose the password in
double quotation marks (“ ”).
Notes
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
When you choose the primary logical drive and the secondary logical drive, the secondary logical drive
must be of equal or greater size than the primary logical drive. The RAID level of the secondary logical
drive does not have to be the same as the primary logical drive.
The DS5100, DS5300, and DS4800 controllers can define a maximum of 128 remote mirrors. The DS4200
and DS4700 controllers can define a maximum of 64 remote mirrors.
Passwords are stored on each storage subsystem in a management domain. If a password was not
previously set, you do not need a password. The password can be any combination of a alphanumeric
characters with a maximum of 30 characters. (You can define a storage subsystem password by using the
set storageSubsystem command.)
Synchronization priority defines the amount of system resources that are used to synchronize the data
between the primary logical drive and the secondary logical drive of a mirror relationship. If you select
the highest priority level, the data synchronization uses the most system resources to perform the full
synchronization, which decreases performance for host data transfers.
The writeOrder parameter applies only to asynchronous mirrors and makes them become part of a
consistency group. Setting the writeOrder parameter to preserved causes the remote-mirror pair to
transmit data from the primary logical drive to the secondary logical drive in the same order as the host
writes to the primary logical drive. In the event of a transmission link failure, the data is buffered until a
full synchronization can occur. This action can require additional system overhead to maintain the
buffered data, which slows operations. Setting the writeOrder parameter to notPreserved frees the system
from having to maintain data in a buffer, but it requires forcing a full synchronization to make sure that
the secondary logical drive has the same data as the primary logical drive.
3-46 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Create Storage Subsystem Security Key
Syntax
This command creates a new security key for a storage subsystem that has Full Disk Encryption drives.
This command also sets the security definitions and sets the state to Security Enabled.
create storageArray securityKey
[keyIdentifier=keyIdentifierString] |
passPhrase=passPhraseString |
file=fileName |
commitSecurityKey=(TRUE | FALSE)
Parameters
Parameter Description
keyIdentifier The character string that combines the storage subsystem ID and
a randomly generated string to produce the security key
identifier.
passPhrase The character string that wraps the security key identifier with a
pass phrase that is 8 to 32 characters in length. You must use at
least one number, one lowercase letter, one uppercase letter, and
one non-alphanumeric character (a space is not permitted).
file The name of the file to which you save the security key identifier.
Note: Add a file extension of .slk to the end of the file name.
commitSecurityKey This parameter commits the security key identifier to the storage
subsystem for all FDE drives as well as the controllers. After the
security key identifier is committed, a key is required to read data
or write data. The data can only be read or changed by using a
key, and the drive can never be used in a non-secure mode
without rendering the data useless or totally erasing the drive.
Notes
To use this command successfully you need to have enough FDE drives to create at least one subsystem.
The controller firmware creates a lock that restricts access to the FDE drives. FDE drives have a state
called Security Capable. When you create a security key, the state is set to Security Enabled, which
restricts access to all FDE drives that exist within the storage subsystem.
Important: You can have a maximum of eight VolumeCopies in progress at one time. If you try to create
more than eight VolumeCopies at one time, the controllers return a status of Pending until one of the
VolumeCopies that is in progress finishes and returns a status of Complete.
Syntax
create volumeCopy source=”sourceName”
target=”targetName”
[copyPriority=(highest | high | medium | low | lowest)
targetReadOnlyEnabled=(TRUE | FALSE)]
Notes
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
Copy priority defines the amount of system resources that are used to copy the data between the source
logical drive and the target logical drive of a VolumeCopy pair. If you select the highest priority level, the
VolumeCopy uses the most system resources to perform VolumeCopy, which decreases performance for
host data transfers.
Syntax
deactivate storageSubsystem feature=remoteMirror
Parameters
None.
Delete Array
This command deletes an entire array and its associated logical drives.
Attention: Possible damage to the storage subsystem configuration – All of the data in the array is
lost as soon as you run this command.
Syntax
delete array [arrayNumber]
3-48 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter
Parameter Description
array The alphanumeric identifier (including - and _) of the
array that you want to delete. Enclose the array identifier
in square brackets ([ ]).
Delete Host
This command deletes a host.
Syntax
delete host [hostName]
Attention:
Possible damage to the storage subsystem configuration – This command deletes all of the host
definitions in the host group.
Syntax
delete hostGroup [hostGroupName]
Parameter
Parameter Description
hostGroup The name of the host group that you want to delete.
Enclose the host group name in square brackets ([ ]). If the
host group name has special characters, you also must
enclose the host group name in double quotation marks
(“ ”).
Notes
A host group is an optional topological element that is a collection of hosts that share access to the same
logical drives. The host group is a logical entity.
Syntax
delete hostPort [hostPortName]
Notes
An HBA host port is a physical connection on a host bus adapter that resides within a host computer. An
HBA host port provides a host access to the logical drives in a storage subsystem. If the host bus adapter
has only one physical connection (one host port), the terms HBA host port and host bus adapter are
synonymous.
Syntax
delete iscsiInitiator (“iSCSI-ID” | “name”)
Parameters
Parameter Description
iSCSI-ID The identifier of the iSCSI initiator that you want to delete.
Enclose the name in double quotation marks (“ ”).
name The name of the iSCSI initiator that you want to delete.
Enclose the name in double quotation marks (“ ”).
Delete LogicalDrive
This command deletes one or more standard logical drives, flashcopy logical drives, or flashcopy
repository logical drives.
Attention: Possible damage to the storage subsystem configuration – All of the data in the logical
drive is lost as soon as you run this command.
Syntax
delete (allLogicalDrives | logicalDrive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN])
removeArray=(TRUE | FALSE)
Parameters
Parameter Description
allLogicalDrives This parameter deletes all of the logical drives in a
storage subsystem.
3-50 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
logicalDrive or The name of the logical drive that you want to delete.
logicalDrives You can enter more than one logical drive name.
Enclose the logical drive name in square brackets ([ ]).
If the logical drive name has special characters, you also
must enclose the logical drive name in double quotation
marks (“ ”).
removeArray Deleting the last logical drive in a array does not delete
the array. You can have a stand-alone array (minus any
logical drives). To remove the stand-alone array, set this
parameter to TRUE. To keep stand-alone arrays intact,
set this parameter to FALSE.
Notes
When you use the allLogicalDrives parameter, this command deletes logical drives until all of the logical
drives are removed or until an error is encountered. If an error is encountered, this command does not
try to delete the remaining logical drives. Deleting logical drives from different arrays is possible. All of
the arrays that become empty are deleted if you set the removeArray parameter to TRUE.
If you want to delete an entire array, you can also use the delete array command.
Diagnose Controller
This command runs diagnostic tests on the controller. The diagnostic tests consist of loopback tests in
which data is written to the disk drives and read from the disk drives.
Syntax
diagnose controller [(a | b)]
loopbackDriveChannel=(allchannels | (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8))
testID=(1 | 2 | 3 | discreteLines)
[patternFile=”filename”]
Parameters
Parameter Description
controller The controller on which you want to run the
diagnostic tests. Valid controller identifiers are a or
b, where a is the controller in slot A, and b is the
controller in slot B. Enclose the controller identifier
in square brackets ([ ]). If you do not specify a
controller, the storage management software returns
a syntax error.
loopbackDriveChannel The disk drive channels on which you want to run
the diagnostic tests. You can either choose to run
the diagnostics on all channels or select a specific
channel on which to run diagnostics. If you select a
specific channel, valid values for the disk drive
channels are 1, 2, 3, or 4.
Notes
When you run a data loop-back test, you can optionally specify a file that contains a data pattern. If you
do not specify a file, the controller firmware provides a default pattern.
Discrete lines are control lines and status lines that are connected between two controllers in a controller
module. The discrete lines diagnostic test lets each controller check that control signal transitions can be
observed at the control inputs of the alternate controller. The discrete lines diagnostic test automatically
runs after each power-cycle or each controller-reset. You can run the discrete lines diagnostic test after
you have replaced a component that failed the initial discrete lines diagnostic test. This test applies only
to the DS5100, DS5300, and DS4800 (Models 82, 84, 88) series controller modules. The discrete lines
diagnostic test returns one of the following messages:
v When the discrete lines diagnostic test runs successfully, this message appears:
The controller discrete lines successfully passed the diagnostic
test. No failures were detected.
v If the discrete lines diagnostic test fails, this message appears:
One or more controller discrete lines failed the diagnostic test.
v If the CLI cannot run the discrete lines diagnostic test, the CLI returns Error 270, which means that the
discrete lines diagnostic test could not start nor complete.
Syntax
diagnose remoteMirror (primary [primarylogicalDriveName] |
primaries [primaryLogicalDriveName1 ... primarylogicalDriveNameN])
testID=connectivity
Parameters
Parameter Description
primary or primaries The name of the primary logical drive of the remote mirror
pair that you want to test. You can enter more than one
primary logical drive name. Enclose the primary logical
drive names in square brackets ([ ]). If the primary logical
drive name has special characters, you also must enclose the
primary logical drive name in double quotation marks (“ ”).
3-52 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Disable Storage Subsystem Feature
This command disables a storage subsystem feature. Run the show storageSubsystem command to show
a list of the feature identifiers for all enabled features in the storage subsystem.
Syntax
Parameters
None.
Notes
If you specify the remoteMirror parameter, this command disables the Enhanced Remote Mirroring
feature and takes away the structure of the mirror repository logical drive.
To use the High Performance Tier premium feature, you must configure a storage subsystem as one of
these:
v SHIPPED_ENABLED
v SHIPPED_ENABLED=FALSE; KEY_ENABLED=TRUE
Attention: Possible damage to the storage subsystem configuration – Downloading disk drive
firmware incorrectly can result in damage to the disk drives or a loss of data.
Syntax
download drive [enclosureID,slotID] firmware file=”filename”
Parameters
Parameter Description
drive The disk drive to which you want to download the
firmware image. Specify the enclosure ID and slot ID
for the disk drive. enclosure ID values are 0 to 99. Slot
ID values are 1 to 32.
filename The file path and the file name of the file that contains
the firmware image. Enclose the file path and the file
name of the firmware image in double quotation
marks (“ ”).
You can use this command to test the firmware on one disk drive before you install the firmware on all
of the disk drives in a storage subsystem. (Use the download storageSubsystem driveFirmware command
to download firmware on all of the disk drives in the storage subsystem.) This command blocks all I/O
activity until the download finishes or fails. The download returns one of these statuses:
v Successful
v Unsuccessful With Reason
v Never Attempted With Reason
Syntax
download (allEnclosures | enclosure [enclosureID])
firmware file=”filename”
Parameters
Parameter Description
enclosure The expansion drawer that contains the ESM card to which
you want to load new firmware. enclosure ID values are 0 to
99. Enclose the enclosure ID value in square brackets ([ ]).
file The file path and the file name of the file that contains the
firmware image. Enclose the file path and the file name of the
firmware image in double quotation marks (“ ”).
Notes
3-54 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Download Storage Subsystem Firmware/NVSRAM
This command downloads firmware and, optionally, NVSRAM values for the storage subsystem
controller. If you want to download only NVSRAM values, use the downLoad storageSubsystem
NVSRAM command.
Syntax
download storageSubsystem firmware [, NVSRAM ]
file= “filename” [, “NVSRAM-filename”]
[downgrade=(TRUE | FALSE)]
[activateNow=(TRUE | FALSE)]
Parameters
Parameter Description
NVSRAM The setting to download a file with NVSRAM values when
you download a firmware file. Do not include square
brackets with this parameter. Include a comma after the
firmware parameter.
file The file path and the name of the file that contains the
firmware. Valid file names must end with a .dlp
extension. Enclose the file path and the file name in
double quotation marks (“ ”).
NVSRAM-filename The file path and the name of the file that contains the
NVSRAM values. Valid file names must end with a .dlp
extension. Enclose the NVSRAM file name in double
quotation marks (“ ”). Include a comma after the file
name.
downgrade The setting to load firmware that is a previous version.
The default value is FALSE. Set the downgrade parameter
to TRUE if you want to download an earlier version of
firmware.
Note: Downgrading from 07.xx to 06.xx firmware levels is
not supported and will return an error if attempted.
activateNow The setting to activate the firmware image and the
NVSRAM image. The default value is TRUE. If you set the
activateNow parameter to FALSE, you must run the
activate storageSubsystem firmware command to activate
the firmware values and the NVSRAM values at a later
time.
Syntax
download storageSubsystem driveFirmware file=”filename”
[file=”filename2”... file=”filenameN”]
Notes
When you run this command, you can download more than one firmware image file to the disk drives in
a storage subsystem. The number of firmware image files that you can download depends on the storage
subsystem. The storage management software returns an error if you try to download more firmware
image files than the storage subsystem can accept.
You can schedule downloads for multiple disk drives at the same time, including multiple disk drives in
a redundant array. Each firmware image file contains information about the disk drive types on which
the firmware image runs. The specified firmware images can be downloaded only to a compatible disk
drive. Use the download drive firmware command to download a firmware image to a specific disk
drive.
The download storageSubsystem driveFirmware command blocks all I/O activity until a download try
has been made for each candidate disk drive or you run the stop storageSubsystem
downloadDriveFirmware command. When the download storageSubsystem driveFirmware command
finishes downloading the firmware image, each candidate disk drive shows the download status for each
disk drive. One of these statuses is returned:
v Successful
v Unsuccessful With Reason
v Never Attempted With Reason
Syntax
download storageSubsystem NVSRAM file=”filename”
Parameter
Parameter Description
file The file path and the file name of the file that contains
the NVSRAM values. Valid file names must end with a
.dlp extension. Enclose the file path and the file name
in double quotation marks (“ ”).
Enable Controller
This command revives a controller that has become quiesced while running diagnostics.
Syntax
enable controller [(a | b)] dataTransfer
3-56 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter
Parameter Description
controller The controller that you want to revive. Valid controller
identifiers are a or b, where a is the controller in slot A, and
b is the controller in slot B. Enclose the controller identifier
in square brackets ([ ]). If you do not specify a controller,
the storage management software returns a syntax error.
Syntax
enable storageSubsystem [featurePack | feature]
file=”filename”
Parameter
Parameter Description
file The file path and the file name of a valid feature key file.
Valid file names for feature key files end with a .key
extension. Enclose the file path and file name in double
quotation marks (“ ”).
Notes
A feature pack is a predefined set of premium features, such as Storage Partitioning and Enhanced
Remote Mirroring. These features are combined for the convenience of the users.
Important: Before you enable the High Performance Tier premium feature, stop all host I/O operations
to the storage subsystem. When you enable the High Performance Tier premium feature, both controllers
in the storage subsystem will immediately reboot.
Syntax
enable subsystem [subsystemName] security
Parameters
Parameter Description
subsystemName The alphanumeric identifier (including - and _) of the storage
subsystem that you want to place in the Security Enabled
state. Enclose the storage subsystem identifier in square
brackets.
The controller firmware creates a lock that restricts access to the FDE drives. FDE drives have a state
called Security Capable. When you create a security key, the state is set to Security Enabled, which
restricts access to all FDE drives that exist within the storage subsystem.
Syntax
export storageSubsystem securityKey
passPhrase=passPhraseString |
file=fileName
Parameters
Parameter Description
passPhrase The character string that provides authentication for the
security key. The pass phrase is 8 to 32 characters in length.
You must use at least one number, one lowercase letter, one
uppercase letter, and one nonalphanumeric character in the
pass phrase. A space is not permitted.
file The name of the file to which you want to save the security
key. You must add a file extension of .slk to the end of the
file name.
Notes
The storage subsystem to which you will be moving drives must have drives with capacity that is equal
to or greater than the drives that you are importing.
The controller firmware creates a lock that restricts access to the FDE drives. FDE drives have a state
called Security Capable. When you create a security key, the state is set to Security Enabled, which
restricts access to all FDE drives that exist within the storage subsystem.
3-58 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Syntax
import storageSubsystem securityKey file=fileName |
passPhrase=passPhraseString
Parameters
Parameter Description
file The file that has the original security key of the imported
FDE drives. The file has an extension of .slk.
passPhrase The character string that provides authentication for the
security key. The pass phrase is 8 to 32 characters in length.
You must use at least one number, one lowercase letter, one
uppercase letter, and one non-alphanumeric character in the
pass phrase. A space is not permitted.
Notes
The controller firmware creates a lock that restricts access to the FDE drives. FDE drives have a state
called Security Capable. When you create a security key, the state is set to Security Enabled, which
restricts access to all FDE drives that exist within the storage array.
Syntax
recopy volumeCopy target [targetName]
[source [sourceName]]
[copyPriority=(highest | high | medium | low | lowest)
targetReadOnlyEnabled=(TRUE | FALSE)]
Parameters
Parameter Description
target The name of the target logical drive for which you
want to reinitiate a VolumeCopy operation. Enclose
the target logical drive name in square brackets
([ ]). If the target logical drive name has special
characters, you also must enclose the target logical
drive name in double quotation marks (“ ”).
source The name of the source logical drive for which you
want to reinitiate a VolumeCopy operation. Enclose
the source logical drive name in square brackets
([ ]). If the source logical drive name has special
characters, you also must enclose the source logical
drive name in double quotation marks (“ ”).
copyPriority The priority that the VolumeCopy has relative to
host I/O activity. Valid values are highest, high,
medium, low, or lowest.
targetReadOnlyEnabled The setting so that you can write to the target
logical drive or only read from the target logical
drive. To write to the target logical drive, set this
parameter to FALSE. To prevent writing to the
target logical drive, set this parameter to TRUE.
Copy priority defines the amount of system resources that are used to copy the data between the source
logical drive and the target logical drive of a VolumeCopy pair. If you select the highest priority level, the
VolumeCopy uses the most system resources to perform the volume copy, which decreases performance
for host data transfers.
Syntax
recover logicalDrive (drive=(enclosureID,slotID) |
drives=(enclosureID1,slotID1 ... enclosureIDn,slotIDn) |
Array=ArrayNumber)
userLabel=”logicalDriveName”
capacity=logicalDriveCapacity
offset=offsetValue
raidLevel=(0 | 1 | 3 | 5 | 6)
segmentSize=segmentSizeValue
[owner=(a | b)
cacheReadPrefetch=(TRUE | FALSE)]
Parameters
Parameter Description
drive or drives The disk drives that you want to assign to the
logical drive that you want to create. Specify the
enclosure ID and slot ID for each disk drive that
you assign to the logical drive. Enclosure ID
values are 0 to 99. Slot ID values are 1 to 32.
Enclose the enclosure ID values and the slot ID
values in parentheses.
array The name of the array in which you want to
create the new logical drive. (To determine the
names of the arrays in your storage subsystem,
run the show storageSubsystem profile
command.)
newArray This parameter enables the user to specify a
name for a new array that is automatically
created by the controller.
userLabel The name that you want to give the new logical
drive. Enclose the new logical drive name in
double quotation marks (“ ”).
capacity The size of the logical drive that you are adding
to the storage subsystem. Size is defined in units
of bytes, KB, MB, GB, or TB.
offset The number of blocks from the start of the array
to the start of the referenced logical drive.
raidLevel The RAID level of the array that contains the
disk drives. Valid values are 0, 1, 3, 5, or 6.
3-60 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
segmentSize The amount of data (in KB) that the controller
writes on a single disk drive in a logical drive
before writing data on the next disk drive. Valid
values are 8, 16, 32, 64, 128, 256, or 512.
owner The controller that owns the logical drive. Valid
controller identifiers are a or b, where a is the
controller in slot A, and b is the controller in slot
B. If you do not specify an owner, the controller
firmware determines the owner.
cacheReadPrefetch The setting to turn on or turn off cache read
prefetch. To turn off cache read prefetch, set this
parameter to FALSE. To turn on cache read
prefetch, set this parameter to TRUE.
Notes
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
The owner parameter defines which controller owns the logical drive. The preferred controller ownership
of a logical drive is the controller that currently owns the array.
Segment Size
The size of a segment determines how many data blocks that the controller writes on a single disk drive
in a logical drive before writing data on the next disk drive. Each data block stores 512 bytes of data. A
data block is the smallest unit of storage. The size of a segment determines how many data blocks that it
contains. For example, an 8-KB segment holds 16 data blocks. A 64-KB segment holds 128 data blocks.
When you enter a value for the segment size, the value is checked against the supported values that are
provided by the controller at run time. If the value that you entered is not valid, the controller returns a
list of valid values. Using a single disk drive for a single request leaves other disk drives available to
simultaneously service other requests.
If the logical drive is in an environment where a single user is transferring large units of data (such as
multimedia), performance is maximized when a single data transfer request is serviced with a single data
stripe. (A data stripe is the segment size that is multiplied by the number of disk drives in the array that
are used for data transfers.) In this case, multiple disk drives are used for the same request, but each disk
drive is accessed only once.
For optimal performance in a multiuser database or file system storage environment, set your segment
size to minimize the number of disk drives that are required to satisfy a data transfer request.
Cache read prefetch lets the controller copy additional data blocks into cache while the controller reads
and copies data blocks that are requested by the host from disk into cache. This action increases the
chance that a future request for data can be fulfilled from cache. Cache read prefetch is important for
multimedia applications that use sequential data transfers. The configuration settings for the storage
subsystem that you use determine the number of additional data blocks that the controller reads into
cache. Valid values for the cacheReadPrefetch parameter are TRUE or FALSE.
Parameters
Parameter Description
repositoryRAIDLevel The RAID level for the mirror repository logical drive.
Valid values are 1, 3, 5, or 6.
repositoryDrives The disk drives for the mirror repository logical drive.
Specify the enclosure ID and slot ID for each disk
drive that you assign to the mirror repository logical
drive. Enclosure ID values are 0 to 99. Slot ID values
are 1 to 32. Enclose the enclosure ID values and the
slot ID values in parentheses.
repositoryArray The name of the array where the mirror repository
logical drive is located.
freeCapacityArea The index number of the free space in an existing
array that you want to use to re-create the mirror
repository logical drive. Free capacity is defined as the
free capacity between existing logical drives in a array.
For example, a array might have the following areas:
logical drive 1, free capacity, logical drive 2, free
capacity, logical drive 3, free capacity. To use the free
capacity following logical drive 2, you would specify:
freeCapacityArea=2
3-62 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
driveType The type of disk drives that you want to use for the
mirror repository logical drive. Valid disk drive types
are fibre, SATA, or SAS.
enclosureLossProtect The setting to enforce enclosure loss protection when
you create the mirror repository logical drive. To
enforce enclosure loss protection, set this parameter to
TRUE. The default value is FALSE.
Notes
If you enter a value for the storage space of the mirror repository logical drive that is too small, the
controller firmware returns an error message, which states the amount of space that is needed for the
mirror repository logical drive. The command does not try to change the mirror repository logical drive.
You can re-enter the command by using the value from the error message for the storage space value of
the mirror repository logical drive.
When you assign the disk drives, if you set the enclosureLossProtect parameter to TRUE and have
selected more than one disk drive from any one enclosure, the storage subsystem returns an error. If you
set the enclosureLossProtect parameter to FALSE, the storage subsystem performs operations, but the
mirror repository logical drive that you create might not have enclosure loss protection.
When the controller firmware assigns the disk drives, if you set the enclosureLossProtect parameter to
TRUE, the storage subsystem returns an error if the controller firmware cannot provide disk drives that
result in the new mirror repository logical drive having enclosure loss protection. If you set the
enclosureLossProtect parameter to FALSE, the storage subsystem performs the operation even if it means
that the mirror repository logical drive might not have enclosure loss protection.
Recreate FlashCopy
This command starts a fresh copy-on-write operation by using an existing FlashCopy logical drive.
Syntax
Parameters
Parameter Description
logicalDrive or logicalDrives The name of the specific logical drive for which
you want to start a fresh copy-on-write
operation. You can enter more than one logical
drive name. Enclose the logical drive name in
square brackets ([ ]). If the logical drive name
has special characters, you must also enclose the
logical drive name in double quotation marks
(“ ”).
Notes
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
If you do not specify a value for the warningThresholdPercent parameter or the repositoryFullPolicy
parameter, the previously set value is used.
Syntax
recreate
FlashCopy collection
Parameters
Parameter Description
FlashCopyLogicalDrive or The name of the specific FlashCopy logical drive or
FlashCopyLogicalDrives FlashCopy logical drives for which you want to
initiate a restart. Enclose the FlashCopy logical drive
name in square brackets ([ ]). If the FlashCopy
logical drive name has special characters, you must
also enclose the FlashCopy logical drive name in
double quotation marks (“ ”).
Notes
If any one of the FlashCopy logical drives does not pass the validation check, the command fails, and the
FlashCopy logical drives are not recreated.
3-64 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Remove Logical Drive LUN Mapping
This command removes the logical unit number (LUN) mapping.
Syntax
remove (allLogicalDrives | logicalDrive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN] | accesslogicalDrive)
lunMapping (host=”hostName” |
hostGroup=(“hostGroupName” | defaultGroup))
Parameters
Parameter Description
allLogicalDrives This parameter removes the LUN mapping from all of the
logical drives.
logicalDrive or The name of the specific logical drive that you want to
logicalDrives remove from the LUN mapping. You can enter more than
one logical drive name. Enclose the logical drive name in
double quotation marks (“ ”) inside of square brackets
([ ]).
accessLogicalDrive This parameter removes the access logical drive.
host The name of the host to which the logical drive is mapped.
Enclose the host name in double quotation marks (“ ”).
hostGroup The name of the host group that contains the host to which
the logical drive is mapped. Enclose the host group name
in double quotation marks (“ ”). The defaultGroup value
is the host group that contains the host to which the logical
drive is mapped.
Notes
The access logical drive is the logicalDrive in a SAN environment that is used for communication
between the storage management software and the storage subsystem controller. The access logical drive
uses a LUN address and consumes 20 MB of storage space that is not available for application data
storage. An access logical drive is required only for in-band managed storage subsystems.
Attention: Removing an access logical drive can damage your configuration – The agent uses the
access logical drives to communicate with a storage subsystem. If you remove an access logical drive
mapping for a storage subsystem from a host that has an agent running on it, the storage management
software is no longer able to manage the storage subsystem through the agent.
You must use the host parameter and the hostGroup parameter when you specify a non-access logical
drive or an access logical drive. The script engine ignores the host parameter or the hostGroup
parameter when you use the allLogicalDrives parameter or the logicalDrives parameter.
Syntax
remove remoteMirror (localLogicalDrive [logicalDriveName] |
localLogicalDrives [logicalDriveName1 ... logicalDriveNameN])
Syntax
remove volumeCopy target [targetName]
[source [sourceName]]
Parameters
Parameter Description
target The name of the target logical drive that you want to
remove. Enclose the target logical drive name in square
brackets ([ ]). If the target logical drive name has special
characters, you also must enclose the target logical drive
name in double quotation marks (“ ”).
source The name of the source logical drive that you want to
remove. Enclose the source logical drive name in square
brackets ([ ]). If the source logical drive name has special
characters, you also must enclose the source logical drive
name in double quotation marks (“ ”).
Syntax
repair logicaldrive [logicalDriveName] parity
parityErrorFile=”filename”
[verbose=(TRUE | FALSE)]
Parameters
Parameter Description
logicalDrive The name of the specific logical drive for which you
want to repair parity. Enclose the logical drive name in
square brackets ([ ]). If the logical drive name has
special characters, you also must enclose the logical
drive name in double quotation marks (“ ”).
parityErrorFile The name of the file that contains the parity error
information that you use to repair the errors. Enclose the
file name in double quotation marks (“ ”).
3-66 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
verbose The setting to capture progress details, such as percent
complete, and to show the information as the logical
drive parity is being repaired. To capture progress
details, set this parameter to TRUE. To prevent capturing
progress details, set this parameter to FALSE.
Replace Drive
This command redefines the composition of a array. You can use this command to replace a disk drive
with either an unassigned disk drive or a fully integrated hot spare.
Syntax
replace drive [enclosureID,slotID] replacementDrive=enclosureID,slotID
Parameters
Parameter Description
drive The enclosure and the slot of the disk drive that you
want to replace. Enclosure ID values are 0 to 99. Slot ID
values are 1 to 32. Enclose the enclosure ID value and
the slot ID value in square brackets ([ ]).
replacementDrive The enclosure and the slot of the disk drive that you
want to use as a replacement disk drive. Enclosure ID
values are 0 to 99. Slot ID values are 1 to 32.
Reset Controller
This command resets a controller, and it is disruptive to I/O operations.
Important: When you reset a controller, the controller is removed from the data path and is not available
for I/O operations until the reset operation is complete. If a host is using logical drives that are owned
by the controller being reset, the I/O directed to the controller is rejected. Before resetting the controller,
either make sure that the logical drives that are owned by the controller are not in use or make sure that
a multi-path driver is installed on all of the hosts that use these logical drives.
Syntax
reset controller [(a | b)]
Parameter
Parameter Description
controller The controller that you want to reset. Valid controller identifiers
are a or b, where a is the controller in slot A, and b is the
controller in slot B. Enclose the controller identifier in square
brackets ([ ]). If you do not specify a controller owner, the
controller firmware returns a syntax error.
Syntax
reset storageSubsystem batteryInstallDate [controller=(a | b)
| batteryPack=(left | right)]
Parameter
Parameter Description
controller The controller that contains the battery for which you want
to reset the age. Valid controller identifiers are a or b, where
a is the controller in slot A, and b is the controller in slot B.
batteryPack The battery pack contains both a left battery and a right
battery. Valid identifiers are left or right, where left is the
battery that supports the controller in slot A, and right is the
battery that supports the controller in slot B. Use the
batteryPack parameter only for controllers with battery
packs.
Note: The DS3000 does not have battery packs.
Notes
Important: Run this command only with the assistance of a Customer and Technical Support
representative.
Syntax
reset storageSubsystem diagnosticData
Parameters
None.
3-68 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Syntax
reset storageSubsystem iscsiStatsBaseline
Parameters
None.
Notes
This command resets the baseline to 0 for both controllers in the storage subsystem. The purpose of
resetting both of the controller baselines is to help make sure that the controller counts are synchronized
between the controllers. If one controller resets but the second controller does not reset, the host is
informed that the controllers are out of synchronization. The host is informed by the time stamps that are
reported with the statistics.
Syntax
reset storageSubsystem logicalDriveDistribution
Parameters
None.
Notes
If you use this command on a host without a multi-path driver, to prevent application errors, you must
stop I/O operations to the logical drives until this command has completed.
Under certain host operating system environments, you might be required to reconfigure the multi-path
host driver. You might also need to make operating system modifications to recognize the new I/O path
to the logical drives.
Syntax
reset storageSubsystem RLSBaseline
Parameters
None.
Parameters
None.
Syntax
resume remoteMirror (primary [logicalDriveName] |
primaries [logicalDriveName1 ... logicalDriveNameN])
[writeConsistency=(TRUE | FALSE)}
Parameters
Parameter Description
primary or primaries The name of the primary logical drive for which you
want to resume operation. You can enter more than
one primary logical drive name. Enclose the primary
logical drive name in square brackets ([ ]). If the
primary logical drive name has special characters, you
also must enclose the primary logical drive name in
double quotation marks (“ ”).
writeConsistency The setting to identify the logical drives in this
command that are in a write-consistency group or are
separate. For the logical drives to be in the same
write-consistency group, set this parameter to TRUE.
For the logical drives to be separate, set this parameter
to FALSE.
Notes
If you set the writeConsistency parameter to TRUE, the logical drives must be in a write-consistency
group (or groups). This command resumes all write-consistency groups that contain the logical drives.
For example, if logical drives A, B, and C are in a write-consistency group and they have remote
counterparts A’, B’, and C’, the resume remoteMirror logicalDrive [“A”] writeConsistency=TRUE
command resumes A-A’, B-B’, and C-C’.
Revive Array
This command forces the specified array and its associated failed disk drives to the Optimal state.
Attention: Possible loss of data access – Correct use of this command depends on the data
configuration on all of the disk drives in the array. Never try to revive a disk drive unless you are
supervised by a Customer and Technical Support representative.
Syntax
revive array [arrayNumber]
3-70 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter
Parameter Description
array The alphanumeric identifier (including - and _) of the array
to be set to the Optimal state. Enclose the array identifier in
square brackets ([ ]).
Revive Drive
This command forces the specified disk drive to the Optimal state.
Attention: Possible loss of data access – Correct use of this command depends on the data
configuration on all of the disk drives in the array. Never try to revive a disk drive unless you are
supervised by a Customer and Technical Support representative.
Syntax
revive drive [enclosureID,slotID]
Parameter
Parameter Description
drive The enclosure and the slot where the disk drive resides.
Enclosure ID values are 0 to 99. Slot ID values are 1 to 32.
Enclose the enclosure ID value and the slot ID value in
square brackets ([ ]).
Syntax
save controller [(a | b)]
NVSRAM file=”filename”
Parameters
Parameter Description
controller The controller with the NVSRAM values that you
want to save. Valid controller identifiers are a or b,
where a is the controller in slot A, and b is the
controller in slot B. Enclose the controller identifier in
square brackets ([ ]).
file The name of the file in which you want to save the
values. Enclose the file name in double quotation
marks (“ ”).
See the “Start Drive Channel Fault Isolation Diagnostics” on page 3-140 command for more information.
Syntax
save driveChannel faultDiagnostics file=”filename”
Parameter
Parameter Description
file The name of the file in which you are storing the results of
the fault isolation diagnostics test on the drive channel.
Enclose the name in double quotation marks (“ ”).
Notes
A file extension is not automatically appended to the saved file. You must specify the applicable format
suffix for the file. If you specify a file extension of .txt, then the output will be in a text file format. If
you specify a file extension of .xml, then the output will be in an XML file format.
Syntax
save allDrives logFile=”filename”
Syntax
save storageSubsystem configuration file=”filename”
[(allconfig | globalSettings=(TRUE | FALSE)
logicalDriveConfigAndSettings=(TRUE | FALSE)
hostTopology=(TRUE | FALSE)
lunMappings=(TRUE | FALSE))]
Parameters
Parameter Description
file The name of the file that contains the
configuration values. Enclose the file name in
double quotation marks (“ ”).
3-72 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
allConfig The setting to save all of the configuration values
to the file. (If you choose this parameter, all of the
configuration parameters are set to TRUE.)
globalSettings The setting to save the global settings to the file.
To save the global settings, set this parameter to
TRUE. To prevent saving the global settings, set
this parameter to FALSE. The default value is
TRUE.
logicalDriveConfigAndSettings The setting to save the logical drive configuration
settings and all of the global settings to the file. To
save the logical drive configuration settings and
global settings, set this parameter to TRUE. To
prevent saving the logical drive configuration
settings and global settings, set this parameter to
FALSE. The default value is TRUE.
hostTopology The setting to save the host topology to the file. To
save the host topology, set this parameter to
TRUE. To prevent saving the host topology, set
this parameter to FALSE. The default value is
FALSE.
lunMappings The setting to save the LUN mapping to the file.
To save the LUN mapping, set this parameter to
TRUE. To prevent saving the LUN mapping, set
this parameter to FALSE. The default value is
FALSE.
Notes
When you use this command, you can specify any combination of the parameters for the global setting,
the logical drive configuration setting, the host topology, or the LUN mapping. If you want to enter all
settings, use the allConfig parameter. The parameters are all optional.
After you have saved the diagnostic data, you can reset the NVSRAM registers that contain the
diagnostic data so that the old data can be overwritten. Use the reset storageSubsystem diagnosticData
command to reset the diagnostic data registers.
Important: Run this command only with the assistance of a Customer and Technical Support
representative.
Syntax
save storageSubsystem diagnosticData [(controller | esm)]
file=”filename”
Syntax
save storageSubsystem (allEvents | criticalEvents)
file=”filename”
[count=numberOfEvents]
Parameters
Parameter Description
file The name of the file to which you want to save the events. Enclose
the file name in double quotation marks (“ ”).
count The number of events or critical events that you want to save to a
file. If you do not enter a value for the count, all events or all critical
events are saved to the file. If you enter a value for the count, only
that number of events or critical events (starting with the last event
entered) are saved to the file. Use integer values.
Notes
You have the option to save all events (allEvents) or only the critical events (criticalEvents).
Syntax
save storageSubsystem iscsiStatistics [raw | baseline]
file=“filename”
Parameters
Parameter Description
raw The statistics collected are all statistics from the controller
start-of-day. Enclose the parameter in square brackets ([ ]).
baseline The statistics that are collected are all statistics from the time the
controllers were reset to zero using the reset storageSubsystem
iscsiStatsBaseline command. Enclose the parameter in square
brackets ([ ]).
file The name of the file to which you want to save the performance
statistics. Enclose the file name in double quotation marks (“ ”).
3-74 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Notes
If you have not reset the iSCSI baseline statistics since the controller start–of–day, the time at the
start–of–day is the default baseline time.
This command does not automatically append a file extension to the new file. You must specify the file
extension when you enter the file name.
Syntax
save storageSubsystem performanceStats file=”filename”
Parameter
Parameter Description
file The name of the file to which you want to save the
performance statistics. Enclose the file name in double
quotation marks (“ ”).
Syntax
save storageSubsystem RLSCounts file=”filename”
Parameter
Parameter Description
file The name of the file to which you want to save the RLS
counters. Enclose the file name in double quotation marks
(“ ”).
Notes
The default name of the file that contains the RLS counts is readLinkStatus.csv. You can use any file name
if you use the .csv extension.
Syntax
save storageSubsystem SOCCounts file=”filename”
Parameter
Parameter Description
file The name of the file to which you want to save the SOC error
statistics. Enclose the file name in double quotation marks
(“ ”).
Notes
To more effectively save SOC error statistics to a file, perform these steps:
1. Run the reset storageSubsystem SOCBaseline command to set all of the SOC counters to 0.
2. Run the storage subsystem for a predetermined amount of time (for example, two hours).
3. Run the save storageSubsystem SOCCounts file=”filename” command.
The default name of the file that contains the SOC error statistics is socStatistics.csv. You can use any file
name if you use the .csv extension.
Syntax
save storageSubsystem stateCapture file=”filename”
Parameter
Parameter Description
file The name of the file to which you want to save the state
capture. Enclose the file name in double quotation marks
(“ ”).
CAUTION:
Only do this when Technical Support requests it.
3-76 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
v Current problems and associated recovery information
v The performance statistics for the entire storage subsystem
v The persistent registration information and the persistent reservation information
v Detailed information about the current status of the storage subsystem
v The diagnostic data for the disk drive
v A recovery profile for the storage subsystem
v The unreadable sectors that are detected on the storage subsystem
v The state capture data
Syntax
save storageSubsystem supportData file=”filename”
Parameter
Parameter Description
file The name of the file to which you want to save the support-related
data for the storage subsystem. Enclose the file name in double
quotation marks (“ ”).
Set Array
This command defines the properties for an array.
Syntax
set array [arrayNumber]
addDrives=(enclosureID1,slotID1 ... enclosureIDn,slotIDn)
raidLevel=(0 | 1 | 3 | 5 | 6)
owner=(a | b)
availability=(online | offline)
Parameters
Parameter Description
array The alphanumeric identifier (including - and _) of the array
for which you want to set properties. Enclose the array
identifier in square brackets ([ ]).
addDrives The disk drive, by enclosure and slot location, that you want
to include in the array. Enclosure ID values are 0 to 99. Slot
ID values are 1 to 32. Enclose the enclosure ID values and
the slot ID values in parentheses.
raidLevel The RAID level for the array. Valid values are 0, 1, 3, 5, or 6.
availability The setting for the array, which is either online or offline
(For controller firmware version 07.1x and earlier.).
owner The controller that owns the array. Valid controller identifiers
are a or b, where a is the controller in slot A, and b is the
controller in slot B. Use this parameter only if you want to
change the array owner.
Host I/O errors might result in arrays with more than 32 logical drives. This operation also might result
in internal controller reboots because the timeout period ends before the array definition is set. If you
experience this issue, quiesce the host I/O operations, and try the command again.
When you use this command, you can specify one or more of the parameters.
Important: Specifying the addDrives parameter or the raidLevel parameter starts a long-running
operation that you cannot stop.
Syntax
set array [arrayNumber] forcedState
Parameter
Parameter Description
array The alphanumeric identifier (including - and _) of the array
that you want to place in a Forced state. Enclose the array
identifier in square brackets ([ ]).
Notes
You can move the disk drives that comprise a array from one storage subsystem to another storage
subsystem. The CLI provides three commands that let you move the disk drives. The commands are start
array export, start array import, and set array forcedState.
In the Forced state, you can perform an import operation on the array.
Set Controller
This command defines the attributes for the controllers.
Syntax
set controller [(a | b)]
availability=(online | offline | serviceMode) |
ethernetPort [(1 | 2)]=ethernetPortOptions
globalNVSRAMByte [nvsramOffset]=(nvsramByteSetting | nvsramBitSetting) |
hostNVSRAMByte [hostType, nvsramOffset]=(nvsramByteSetting | nvsramBitSetting) |
iscsiHostPort [(1 | 2)]=iscsiHostPortOptions
rloginEnabled=(TRUE | FALSE) |
serviceAllowedIndicator=(on | off)
3-78 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameters
Parameter Description
controller The controller for which you want to define
properties. Valid identifiers for the controller are a or
b, where a is the controller in slot A and b is the
controller in slot B. Enclose the controller identifier
in square brackets ([ ]). If you do not specify a
controller, the firmware for the controller returns a
syntax error.
availability The mode for the controller. The controller modes are
online, offline, or serviceMode.
ethernetPort The attributes (options) for the management Ethernet
ports. The entries to support this parameter are listed
in the “Syntax Element Statement Data” table that
follows. Many settings are possible, including setting
the IP address, the gateway address, and the subnet
mask address.
globalNVSRAMByte A portion of the controller NVSRAM. Specify the
region that you want to modify by using the starting
byte offset within the region, and the size and value
of the new data to be stored into NVSRAM.
hostNVSRAMByte The NVSRAM for the host-specific region. The
setting specifies the host index for the specific host,
the starting offset within the region, the number of
bytes, and the values to be written.
iscsiHostPort The entries to support this parameter are listed in
the “Syntax Element Statement Data” table that
follows. Many settings are possible, including setting
the IP address, the gateway address, the subnet mask
address, the IPv4 priority, and the IPv6 priority.
rloginEnabled The setting for whether the remote login feature is
turned on or turned off. To turn on the remote login
feature, set this parameter to TRUE. To turn off the
remote login feature, set this parameter to FALSE.
serviceAllowedIndicator The setting for whether the Service Action Allowed
indicator light is turned on or turned off. To turn on
the Service Action Allowed indicator light, set this
parameter to on. To turn off the Service Action
Allowed indicator light, set this parameter to off.
Notes
When you use this command, you can specify one or more of the parameters. You do not need to use all
of the parameters.
Setting the availability parameter to serviceMode causes the alternate controller to take ownership of all
of the virtual disks. The specified controller no longer has any logical drives and refuses to take
ownership of any more logical drives. Service mode is persistent across reset cycles and power cycles
until the availability parameter is set to online.
The maxFramePayload parameter is shared between IPv4 and IPv6. The payload portion of a standard
Ethernet frame is set at 1500, and a jumbo Ethernet frame is set at 9000. When using jumbo frames, all of
the devices that are in the network path should be capable of handling the larger frame size.
3-80 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
You must set the enableIPv4 parameter or the enableIPv6 parameter to TRUE to make sure that the
specific IPv4 setting or the specific IPv6 setting is applied.
When the duplexMode parameter is set to TRUE, the selected Ethernet port is set to full duplex. The
default value is half duplex (the duplexMode parameter is set to FALSE).
The IPv6 address space is 128 bits. It is represented by eight 16-bit hexadecimal blocks separated by
colons. You may drop leading zeros, and you may use a double colon to represent consecutive blocks of
zeroes.
The default value for the IPv6HopLimit parameter is 64. The default value for the
IPv6NdReachableTime parameter is 30000 milliseconds. The default value for the
IPv6NdRetransmitTime parameter is 1000 milliseconds. The default value for the IPv6NdTimeOut
parameter is 30000 milliseconds. The default value for the tcpListeningPort parameter is 3260.
Syntax
set controller=[(a | b)]
serviceAllowedIndicator=(on | off)
Parameters
Parameter Description
controller The controller that has the Service Action
Allowed indicator light that you want to turn
on or turn off. Valid controller identifiers are a
or b, where a is the controller in slot A, and b
is the controller in slot B. Enclose the controller
identifier in square brackets ([ ]). If you do not
specify a controller, the controller firmware
returns a syntax error.
serviceAllowedIndicator The setting to turn on or turn off the Service
Action Allowed indicator light. To turn on the
Service Action Allowed indicator light, set this
parameter to on. To turn off the Service Action
Allowed indicator light, set this parameter to
off.
Notes
This command was originally defined for use with the DS4800 (Models 82, 84, 88) controller module. This
command is not supported by controller modules that were shipped before the introduction of the
DS4800 (Models 82, 84, 88) controller module. The DS4200, DS4700, DS5100, and DS5300 controllers also
support this command.
Syntax
set driveChannel [(1 | 2 | 3 | 4 | 5 | 6 | 7 | 8)]
status=(optimal | degraded)
Parameters
Parameter Description
driveChannel The identifier number of the disk drive channel for which
you want to set the status. Valid disk drive channel values are
1, 2, 3, or 4. Enclose the disk drive channel number in square
brackets ([ ]).
status The condition of the disk drive channel. You can set the disk
drive channel status to optimal or degraded.
Notes
Use the optimal value to move a degraded disk drive channel back to the Optimal state. Use the
degraded value when the disk drive channel is experiencing problems, and the storage subsystem
requires additional time for data transfers.
Syntax
set (drive [enclosureID,slotID] |
drives [enclosureID1,slotID1 ... enclosureIDn,slotIDn])
hotSpare=(TRUE | FALSE)
Parameters
Parameter Description
drive or drives The enclosure and the slot where the disk drive resides.
Enclosure ID values are 0 to 99. Slot ID values are 1 to 32.
Enclose the enclosure ID values and the slot ID values in
square brackets ([ ]).
hotSpare The setting to assign the disk drive as the hot spare. To assign
the disk drive as the hot spare, set this parameter to TRUE.
To remove a hot spare assignment from a disk drive, set this
parameter to FALSE.
3-82 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Syntax
set (drive [enclosureID,slotID] |
drives [enclosureID1,slotID1 ... enclosureIDn,slotIDn])
serviceAllowedIndicator=(on | off)
Parameters
Parameter Description
drive or drives The enclosure and the slot where the disk drive resides.
Enclosure ID values are 0 to 99. Slot ID values are 1 to
32. Enclose the enclosure ID values and the slot ID
values in square brackets ([ ]).
serviceAllowedIndicator The setting to turn on or turn off the Service Action
Allowed indicator light. To turn on the Service Action
Allowed indicator light, set this parameter to on. To turn
off the Service Action Allowed indicator light, set this
parameter to off.
Syntax
set drive [enclosureID,slotID] operationalState=failed
Parameter
Parameter Description
drive The enclosure and the slot where the disk drive resides. Enclosure ID
values are 0 to 99. Slot ID values are 1 to 32. Enclose the enclosure
ID values and the slot ID values in square brackets ([ ]).
Syntax
set (allenclosures | enclosure [enclosureID]
alarm=(enable | disable | mute))
Parameters
Parameter Description
allEnclosures The setting to select all of the enclosures in a storage
subsystem that have audible alarms that you want to turn on,
turn off, or mute.
enclosure The specific enclosure that has the audible alarm that you
want to turn on, turn off, or mute. Enclosure ID values are 0
to 99. Enclose the enclosure ID value in square brackets ([ ]).
Syntax
set enclosure [“serial-number”] id=enclosureID
Parameters
Parameter Description
enclosure The serial number of the controller module, controller module,
or the expansion drawer for which you are setting the
enclosure ID. Serial numbers can be any combination of
alphanumeric characters and any length. Enclose the serial
number in double quotation marks (“ ”).
id The value for the controller module enclosure ID, controller
module enclosure ID, or the expansion drawer enclosure ID.
Enclosure ID values are 00 through 99. You do not need to
enclose the enclosure ID value in parentheses.
Notes
This command originally supported the DS4800 (Models 82, 84, 88) controller module. The DS4200–,
DS4700–, and DS4800– (Models 82, 84, 88) series controller modules can connect to a variety of expansion
drawers, including those whose enclosure IDs are set by switches. When connecting a controller module
to expansion drawers whose enclosure IDs are set by switches, recommended values for enclosure IDs for
the controller module are 80 through 99. This range avoids conflicts with enclosure IDs that are used for
attached expansion drawers.
Note: The factory default setting for the controller enclosure ID is 85.
3-84 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
To turn on or turn off the Service Action Allowed indicator light on the controller CRU, use the set
controller serviceAllowedIndicator command.
Syntax
set enclosure [enclosureID]
(powerFan [(left | right)] |
interconnect |
battery [(left | right)] |
esm [(left | right)])
serviceAllowedIndicator=(on | off)
Parameters
Parameter Description
enclosure The enclosure where the power-fan CRU, the
interconnect-battery CRU, or the ESM CRU resides.
Enclosure ID values are 0 to 99. Enclose the enclosure ID
value in square brackets ([ ]). If you do not enter a
enclosure ID value, the enclosure ID of the controller
module is the default value.
powerFan The Service Action Allowed indicator light on the
power-fan CRU that you want to turn on or turn off.
Valid power-fan CRU identifiers are left or right. The
values left and right are with respect to the front of the
DS5300–, DS5100–, and DS4800–series controller
modules. Enclose the power-fan CRU identifier in square
brackets ([ ]).
interconnect The Service Action Allowed indicator light for the
interconnect-battery CRU DS5300–, DS5100–, and
DS4800–series controller modules only.
battery The Service Action Allowed indicator light for a battery.
Valid battery identifiers are left or right. The values left
and right are with respect to the front of the DS5300–,
DS5100–, and DS4800–series controller modules.
esm The Service Action Allowed indicator light for an ESM
CRU. Valid ESM CRU identifiers are left or right. (The
values left and right are with respect to the rear of the
drive expansion enclosure.)
serviceAllowedIndicator The setting to turn on or turn off the Service Action
Allowed indicator light. To turn on the Service Action
Allowed indicator light, set this parameter to on. To turn
off the Service Action Allowed indicator light, set this
parameter to off.
Example
This command turns on the Service Action Allowed indicator light for the left ESM on enclosure 5 with
the IP address of 155.155.155.155.
SMcli 155.155.155.155 -c “set enclosure [5] ESM [left] serviceAllowedIndicator=on”;
Notes
This command was originally defined for use with the DS4800 controller module. This command is not
supported by controller modules (FAStT200, FAStT500, DS4100, DS4300, DS4400, and DS4500 storage
subsystems) that were shipped before the introduction of the DS4800 controller module.
Syntax
set (logical drive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN])
userLabel=”FlashCopyLogicalDriveName”
warningThresholdPercent=percentValue
repositoryFullPolicy=(failBaseWrites | failFlashCopy)
Parameters
Parameter Description
logicalDrive or logicalDrives The name of the specific FlashCopy logical drive
for which you want to define properties. (You
can enter more than one logical drive name if
you use the logicalDrives parameter). Enclose
the FlashCopy logical drive name in double
quotation marks (“ ”) inside of square brackets
([ ]).
userLabel A new name that you want to give to a
FlashCopy logical drive. Enclose the new
FlashCopy logical drive name in double
quotation marks (“ ”).
warningThresholdPercent The percentage of repository capacity at which
you receive a warning that the FlashCopy
repository is nearing full. Use integer values. For
example, a value of 70 means 70 percent. The
default value is 50.
repositoryFullPolicy How you want FlashCopy processing to continue
if the FlashCopy repository logical drive is full.
You can choose to fail writes to the base logical
drive (failBaseWrites) or fail writes to the
FlashCopy logical drive (failFlashCopy). The
default value is failFlashCopy.
Notes
When you use this command, you can specify one or more of the optional parameters.
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
You can set the warningThresholdPercent parameter and the repositoryFullPolicy parameter for both the
FlashCopy repository logical drive or the FlashCopy logical drive.
3-86 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Run this command to add the missing (foreign) drives back into their original array and to make them
part of the new storage subsystem array configuration of the new storage subsystem.
Use this operation for emergency recovery only: when one or more drives need to be changed from a
foreign drive status and returned to a native status within their original array.
Attention: Possible data corruption or data loss—Using this command for reasons other than what is
stated previously might result in data loss without notification.
Syntax
set (drive [trayID, slotID] | allDrives) nativeState
Parameters
Parameter Description
drive The tray and the slot where the drive resides. Tray ID values
are 0 to 99. Slot ID values are 1 to 32. Enclose the tray ID
values and the slot ID values in square brackets ([ ]).
allDrives The setting to select all of the drives.
Notes
In certain versions of the Storage Manager client, the parameter nativeState was previously specified as
the parameter toNative.
Set Host
This command assigns a host to a host group or moves a host to a different host group. You can also
create a new host group and assign the host to the new host group with this command. The actions
performed by this command depend on whether the host has individual logical drive-to-LUN mappings
or does not have individual logical drive-to-LUN mappings.
Syntax
set host [hostName]
hostGroup=(“hostGroupName” | none | defaultGroup)
userLabel=“newHostName”
hostType=(hostTypeIndexLabel | hostTypeIndexNumber)
Parameters
Parameter Description
host The name of the host that you want to assign to a host group. Enclose
the host name in square brackets ([ ]). If the host name has special
characters, you also must enclose the host name in double quotation
marks (“ ”).
hostGroup The name of the host group to which you want to assign the host.
(The following table defines how the command runs if the host does
or does not have individual logical drive�to�LUN mappings.) Enclose
the host group name in double quotation marks (“ ”). The
defaultGroup option is the host group that contains the host to which
the logical drive is mapped.
userLabel The new host name. Enclose the host name in double quotation marks
(“ ”).
Host Group Host Has Individual Logical Host Does Not Have Individual
Parameter drive-to-LUN Mappings Logical drive-to-LUN Mappings
hostGroupName The host is removed from the The host is removed from the
present host group and is present host group and is placed
placed under the new host under the new host group
group defined by defined by hostGroupName.
hostGroupName.
none The host is removed from the The host is removed from the
host group as an independent present host group and is placed
partition and is placed under under the default group.
the root node.
defaultGroup The command fails. The host is removed from the
present host group and is placed
under the default group.
Notes
When you use this command, you can specify one or more of the optional parameters.
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
The CHAP secret must be between 12 characters and 57 characters. The following table lists the valid
characters.
Table 3-1. Valid Characters for a CHAP Secret
Space ! “ # $ % & ‘ ( ) * +
, - . / 0 1 2 3 4 5 6 7
8 9 : ; < = > ? @ A B C
D E F G H I J K L M N O
P Q R S T U V W X Y Z [
\ ] ^ _ ‘ a b c d e f g
h i j k l m n o p q r s
t u v w x y z { | } ~
Syntax
set hostChannel [hostChannelNumber]
preferredID=portID
3-88 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameters
Parameter Description
hostChannel The identifier number of the host channel for which you want to
set the loop ID. Enclose the host channel identifier number in
square brackets ([ ]).
For all controller modules other than the DS5300, DS5100, and
DS4800 (Models 82, 84, 88)-series controller modules, valid host
channel values are a1, a2, b1, or b2.
For the DS5100 and DS5300 series controller modules, valid host
channel values are a1, a2, a3, a4, a5, a6, a7, a8, b1, b2,
b3, b4, b5, b6, b7 or b8.
preferredID The new port ID for the specified host channel. Port ID values
are 0 to 127.
Syntax
set hostGroup [hostGroupName]
userLabel=”newHostGroupName”
Parameters
Parameter Description
hostGroup The name of the host group that you want to rename. Enclose the
host group name in square brackets ([ ]). If the host group name
has special characters, you also must enclose the host group name
in double quotation marks (“ ”).
userLabel The new name for the host group. Enclose the new host group
name in double quotation marks (“ ”).
Notes
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
Syntax
set hostPort [portLabel] host=“hostName” userLabel=“newPortLabel”
Notes
When you use this command, you can specify one or more of the optional parameters.
You can use any combination of alphanumeric characters, hyphens, and underscores for the names.
Names can have a maximum of 30 characters.
Syntax
set iscsiInitiator iscsiName=new-iSCSI-ID |
userLabel=newName |
host=newHostName |
chapSecret=newSecurityKey
Parameters
Parameter Description
iscsiName The name of the iSCSI initiator for which you want to
set attributes.
userLabel The new name that you want to use for the iSCSI
initiator.
host The name of the new host to which the HBA host port
is connected. Enclose the host name in double quotation
marks (“ ”).
chapSecret The security key that you want to use to authenticate a
peer connection.
Notes
Challenge Handshake Authentication Protocol (CHAP) is a protocol that authenticates the peer of a
connection. CHAP is based upon the peers sharing a secret. A secret is a security key that is similar to a
password.
Use the chapSecret parameter to set up the security keys for initiators that require a mutual
authentication.
3-90 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Set iSCSI Target Properties
This command defines properties for an iSCSI target.
Syntax
set iscsiTarget authenticationMethod=(none | chap) |
chapSecret=securityKey |
isnsRegistration=(TRUE | FALSE) |
targetAlias=user-label
Parameters
Parameter Description
authenticationMethod The means of authenticating your iSCSI session.
chapSecret The security key that you want to use to
authenticate a peer connection.
isnsRegistration The means of listing the iSCSI target on the
iSNS server. Set the parameter to TRUE to list it.
targetAlias The name that you want to use for the target.
Notes
Challenge Handshake Authentication Protocol (CHAP) is a protocol that authenticates the peer of a
connection. CHAP is based upon the peers sharing a secret. A secret is a security key that is similar to a
password.
Use the chapSecret parameter to set up the security keys for initiators that require a mutual
authentication.
Parameters
Parameter Description
alllogicalDrives The properties for all logical drives in the
storage subsystem.
logicalDrive or logicalDrives The name of the specific logical drive for which
you want to define properties. (You can enter
more than one logical drive name if you use the
logicalDrives parameter). Enclose the logical
drive name in double quotation marks (“ ”)
inside of square brackets ([ ]).
logicalDrive The WWID of the logical drive for which you
are setting properties. You can use the WWID
instead of the logical drive name to identify the
logical drive. Enclose the WWID in angle
brackets (< >).
cacheFlushModifier The maximum amount of time that data for the
logical drive stays in cache before the data is
flushed to physical storage. Valid values are
listed in the Notes section.
cacheWithoutBatteryEnabled The setting to turn on or turn off caching
without batteries. To turn on caching without
batteries, set this parameter to TRUE. To turn
off caching without batteries, set this parameter
to FALSE.
mediaScanEnabled The setting to turn on or turn off media scan for
the logical drive. To turn on media scan, set this
parameter to TRUE. To turn off media scan, set
this parameter to FALSE. (If media scan is
disabled at the storage subsystem level, this
parameter has no effect.)
mirrorCacheEnabled The setting to turn on or turn off the mirror
cache. To turn on the mirror cache, set this
parameter to TRUE. To turn off the mirror
cache, set this parameter to FALSE.
modificationPriority The priority for logical drive modifications
while the storage subsystem is operational.
Valid values are highest, high, medium, low, or
lowest.
owner The controller that owns the logical drive. Valid
controller identifiers are a or b, where a is the
controller in slot A, and b is the controller in
slot B. Use this parameter only if you want to
change the logical drive owner.
3-92 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
readCacheEnabled The setting to turn on or turn off the read
cache. To turn on the read cache, set this
parameter to TRUE. To turn off the read cache,
set this parameter to FALSE.
writeCacheEnabled The setting to turn on or turn off the write
cache. To turn on the write cache, set this
parameter to TRUE. To turn off the write cache,
set this parameter to FALSE.
cacheReadPrefetch The setting to turn on or turn off cache read
prefetch. To turn off cache read prefetch, set this
parameter to FALSE. To turn on cache read
prefetch, set this parameter to TRUE.
addCapacity The setting to increase the storage size
(capacity) of the logical drive for which you are
defining properties. Size is defined in units of
bytes, KB, MB, GB, or TB. The default value is
bytes.
addDrives The setting to add new disk drives to the logical
drive. Specify the enclosure ID value and the
slot ID value for each disk drive that you assign
to the logical drive. Enclosure ID values are 0 to
99. Slot ID values are 1 to 32. Enclose the
enclosure ID values and the slot ID values in
square brackets ([ ]). Use this parameter with
the addCapacity parameter if you need to
specify additional disk drives to accommodate
the new size.
redundancyCheckEnabled The setting to turn on or turn off redundancy
checking during a media scan. To turn on
redundancy checking, set this parameter to
TRUE. To turn off redundancy checking, set this
parameter to FALSE.
segmentSize The amount of data (in KB) that the controller
writes on a single disk drive in a logical drive
before writing data on the next disk drive. Valid
values are 8, 16, 32, 64, 128, 256, or 512.
userLabel The new name that you want to give an
existing logical drive. Enclose the new logical
drive name in double quotation marks (“ ”).
preReadRedundancyCheck The setting to check the consistency of RAID
redundancy data on the stripes during read
operations. Do not use this operation for
non-redundant logicalDrives, for example RAID
0. To check redundancy consistency, set this
parameter to TRUE. For no stripe checking, set
this parameter to FALSE.
accesslogicalDrive The logical unit number for the access logical
drive. The logical unit number is the only
property that you can set for the access logical
drive.
logicalUnitNumber Specific logical drive-to-LUN mappings to an
individual host. This parameter also assigns the
host to a host group.
Notes
Host I/O errors might result in arrays with more than 32 logical drives. This operation might also result
in internal controller reboots due to the expiration of the timeout period before the operation completes.
If you experience this issue, quiesce host I/O and try the operation again.
When you use this command, you can specify one or more of the optional parameters.
You can apply these parameters to only one logical drive at a time:
v addCapacity
v segmentSize
v userLabel
v logicalUnitNumber
Setting the addCapacity parameter, the addDrives parameter, or the segmentSize parameter starts a
long-running operation that you cannot stop. These long-running operations are performed in the
background and do not prevent you from running other commands. To show the progress of
long-running operations, use the show logicalDrive actionProgress command.
Access logicalDrive
The access logical drive is the logical drive in a SAN environment that is used for in-band
communication between the storage management software and the storage subsystem controller. This
logical drive uses a LUN address and consumes 20 MB of storage space that is not available for
application data storage. An access logical drive is required only for in-band managed storage
subsystems. If you specify the accesslogicalDrive parameter, the only property you can set is the
logicalUnitNumber parameter.
Valid values for the cache flush modifier are listed in this table.
Value Description
Immediate Data is flushed as soon as it is placed into the cache.
250 Data is flushed after 250 ms.
500 Data is flushed after 500 ms.
750 Data is flushed after 750 ms.
1 Data is flushed after 1 s.
1500 Data is flushed after 1500 ms.
3-94 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Value Description
2 Data is flushed after 2 s.
5 Data is flushed after 5 s.
10 Data is flushed after 10 s.
20 Data is flushed after 20 s.
60 Data is flushed after 60 s (1 min.).
120 Data is flushed after 120 s (2 min.).
300 Data is flushed after 300 s (5 min.).
1200 Data is flushed after 1200 s (20 min.).
3600 Data is flushed after 3600 s (1 hr).
Infinite Data in cache is not subject to any age or time constraints. The
data is flushed based on other criteria that are managed by the
controller.
Write caching without batteries enables write caching to continue if the controller batteries are completely
discharged, not fully charged, or not present. If you set this parameter to TRUE without an
uninterruptible power supply (UPS) or other backup power source, you can lose data if the power to the
storage subsystem fails. This parameter has no effect if write caching is disabled.
Modification Priority
Modification priority defines the amount of system resources that are used when modifying logical drive
properties. If you select the highest priority level, the logical drive modification uses the most system
resources, which decreases the performance for host data transfers.
The cacheReadPrefetch parameter enables the controller to copy additional data blocks into cache while
the controller reads and copies data blocks that are requested by the host from the disk drive into cache.
This action increases the chance that a future request for data can be fulfilled from cache. Cache read
prefetch is important for multimedia applications that use sequential data transfers. The configuration
settings for the storage subsystem that you use determine the number of additional data blocks that the
controller reads into cache. Valid values for the cacheReadPrefetch parameter are TRUE or FALSE.
Segment Size
The size of a segment determines how many data blocks that the controller writes on a single disk drive
in a logical drive before writing data on the next disk drive. Each data block stores 512 bytes of data. A
data block is the smallest unit of storage. The size of a segment determines how many data blocks that it
contains. For example, an 8-KB segment holds 16 data blocks. A 64-KB segment holds 128 data blocks.
When you enter a value for the segment size, the value is checked against the supported values that are
provided by the controller at run time. If the value that you entered is not valid, the controller returns a
list of valid values. Using a single disk drive for a single request leaves other disk drives available to
simultaneously service other requests.
If the logical drive is in an environment where a single user is transferring large units of data (such as
multimedia), performance is maximized when a single data transfer request is serviced with a single data
For optimal performance in a multiuser database or file system storage environment, set your segment
size to minimize the number of disk drives that are required to satisfy a data transfer request.
Syntax
set remoteMirror (localLogicalDrive [logicalDrive] |
localLogicalDrives [logicalDriveName1 ... logicalDriveNameN])
role=(primary | secondary)
[force=(TRUE | FALSE)]
syncPriority=(highest | high | medium | low | lowest)
autoResync=(enabled | disabled)
writeOrder=(preserved | notPreserved)
writeMode=(synchronous | asynchronous)
Parameters
Parameter Description
localLogicalDrive or The name of the primary logical drive for which you
localLogicalDrives want to define properties. You can enter more than one
primary logical drive name. Enclose the primary logical
drive name in square brackets ([ ]). If the primary
logical drive name has special characters, you also must
enclose the primary logical drive name in double
quotation marks (“ ”).
role The setting for the logical drive to act as the primary
logical drive or the secondary logical drive. To define
the logical drive as the primary logical drive, set this
parameter to primary. To define the logical drive as the
secondary logical drive, set this parameter to secondary.
This parameter applies only when the logical drive is
part of a mirror relationship.
force The role reversal is forced if the communications link
between the storage subsystems is down and
promotion or demotion on the local side results in a
dual-primary condition or a dual-secondary condition.
To force a role reversal, set this parameter to TRUE.
The default value is FALSE.
syncPriority The priority that full synchronization has relative to
host I/O activity. Valid values are highest, high,
medium, low, or lowest.
3-96 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
autoResync The settings for automatic resynchronization between
the primary logical drives and the secondary logical
drives of a remote-mirror pair. This parameter has these
values:
v enabled – Automatic resynchronization is turned on.
You do not need to do anything further to
resynchronize the primary logical drive and the
secondary logical drive.
v disabled – Automatic resynchronization is turned off.
To resynchronize the primary logical drives and the
secondary logical drive, you must run the resume
remoteMirror command.
writeOrder This parameter defines write order for data
transmission between the primary logical drive and the
secondary logical drive. Valid values are preserved or
notPreserved.
writeMode This parameter defines how the primary logical drive
writes to the secondary logical drive. Valid values are
synchronous or asynchronous.
Notes
When you use this command, you can specify one or more of the optional parameters.
Synchronization priority defines the amount of system resources that are used to synchronize the data
between the primary logical drives and the secondary logical drives of a mirror relationship. If you select
the highest priority level, the data synchronization uses the most system resources to perform the full
synchronization, which decreases the performance for host data transfers.
The writeOrder parameter applies only to asynchronous mirrors and makes them become part of a
consistency group. Setting the writeOrder parameter topreserved causes the remote-mirror pair to
transmit data from the primary logicalDrive to the secondary logicalDrive in the same order as the host
writes to the primary logicalDrive. In the event of a transmission link failure, the data is buffered until a
full synchronization can occur. This action can require additional system overhead to maintain the
buffered data, which slows operations. Setting the writeOrderparameter to notPreserved frees the system
from having to maintain data in a buffer, but it requires forcing a full synchronization to make sure that
the secondary logicalDrive has the same data as the primary logical drive.
Set Session
This command defines how you want the current script engine session to run.
Syntax
set session errorAction=(stop | continue)
password=”storageSubsystemPassword”
performanceMonitorInterval=intervalValueperformanceMonitorIterations=iterationValue
Notes
When you use this command, you can specify one or more of the optional parameters.
Passwords are stored on each storage subsystem in a management domain. If a password was not
previously set, you do not need a password. The password can be any combination of alphanumeric
characters with a maximum of 30 characters. (You can define a storage subsystem password by using the
set storageSubsystem command.)
The polling interval and the number of iterations that you specify remain in effect until you end the
session. After you end the session, the polling interval and the number of iterations return to their default
values.
Syntax
set storageSubsystem alarm=(enable | disable | mute)
cacheBlockSize=cacheBlockSizeValue
cacheFlushStart=cacheFlushStartSize
cacheFlushStop=cacheFlushStopSize
defaultHostType=(“hostTypeName” | hostTypeIdentifier)
failoverAlertDelay=delayValue |
mediaScanRate=(disabled | 1-30) |
password=”password” |
userLabel=”storageSubsystemName”
3-98 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameters
Parameter Description
alarm The setting for the audible alarm. This parameter has
these values:
v enable – The audible alarm is turned on and sounds
if a fault occurs.
v disable – The audible alarm is turned off and does
not sound if a fault occurs.
v mute – The audible alarm is turned off if it is
sounding.
Notes
When you use this command, you can specify one or more of the optional parameters.
When you define cache block sizes, use the 4-KB cache block size for storage subsystems that require I/O
streams that are typically small and random. Use the 8-KB cache block size when the majority of your
I/O streams are larger than 4 KB but smaller than 8 KB. Use the 16-KB cache block size or the 32-KB
cache block size for storage subsystems that require large data transfer, sequential, or high-bandwidth
applications.
This parameter defines the supported cache block size for all of the logical drives in the storage
subsystem. Not all controller types support all cache block sizes. For redundant configurations, this
parameter includes all of the logical drives that are owned by both controllers within the storage
subsystem.
When you define values to start a cache flush, a value that is too low increases the chance that data
needed for a host read is not in the cache. A low value also increases the number of disk drive writes that
are necessary to maintain the cache level, which increases system overhead and decreases performance.
When you define values to stop cache flush, the higher the value, the higher the chance that the data for
a host read requires a drive read, rather than a reading from the cache.
When you define host types, if Storage Partitioning is enabled, the default host type affects only those
logical drives that are mapped in the default group. If SANshare Storage Partitioning is not enabled, all
of the hosts that are attached to the storage subsystem must run the same operating system and be
compatible with the default host type.
The default values for cache flush start and cache flush stop are 80 and 80, respectively. This means the
cache flush will start when there is more than 80% utilization of the cache, and the flush operation will
continue until the cache is at 20% utilization (80% free).
Media scan runs on all of the logical drives in the storage subsystem that have Optimal status, do not
have modification operations in progress, and have the mediaScanRate parameter enabled. Use the set
logicalDrive command to enable or disable the mediaScanRate parameter.
Password
Passwords are stored on each storage subsystem. The password can be any combination of alphanumeric
characters with a maximum of 30 characters.
Syntax
set storageSubsystem enclosurePositions=(controller | enclosureID-list)
3-100 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter
Parameter Description
enclosurePositions A list of all of the enclosure IDs. The sequence of the
enclosure IDs in the list defines the positions for the
controller module and the expansion drawers in a
storage subsystem. Valid values are 0 to 99. Enter the
enclosure ID values separated by a space. Enclose the
list of enclosure ID values in parentheses. For storage
subsystems where the controller module has a
predefined identifier that is not in the range of valid
enclosure position values, use the controller value.
Notes
This command defines the position of a enclosure in a storage subsystem by the position of the enclosure
ID in the enclosurePositions list. For example, if you have a controller module with an ID set to 84 and
expansion drawers with IDs set to 1, 12, and 50, the enclosurePositions sequence (84 1 12 50) places the
controller module in the first position, expansion drawer 1 in the second position, expansion drawer 12 in
the third position, and expansion drawer 50 in the fourth position. The enclosurePositions sequence (1 84
50 12) places the controller module in the second position, expansion drawer 1 in the first position,
expansion drawer 50 in the third position, and expansion drawer 12 in the fourth position.
Syntax
set storageSubsystem icmpPingResponse=(TRUE | FALSE)
Parameter
Parameter Description
icmpPingResponse This parameter turns on or turns off Echo
Request messages. Set the parameter to TRUE
to turn on Echo Request messages. Set the
parameter to FALSE to turn off Echo Request
messages.
Notes
The Internet Control Message Protocol (ICMP) is used by operating systems in a network to send error
messages, test packets, and informational messages related to the IP, such as a requested service is not
available or that a host or router could not be reached. The ICMP response command sends ICMP Echo
Request messages and receives Echo Response messages to determine if a host is reachable and how long
packets take to get to and from that host.
Parameters
Parameters Description
isnsIPv4ConfigurationMethod The method that you want to use to define the
iSNS server configuration. You can enter the IP
address for the IPv4 iSNS servers by selecting
static. For IPv4, you can choose to have a
Dynamic Host Configuration Protocol (DHCP)
server select the iSNS server IP address by
entering dhcp. To enable DCHP, you must set
the isnsIPv4Address parameter to 0.0.0.0.
isnsIPv4Address The IP address that you want to use for the
iSNS server. Use this parameter with the static
value for IPv4 configurations. If you choose to
have a DHCP server set the IP address for an
IPv4 Internet iSNS server, you must set the
isnsIPv4Address parameter to 0.0.0.0.
Notes
The iSNS protocol facilitates the automated discovery, management, and configuration of iSCSI devices
and Fibre Channel devices on a TCP/IP network. iSNS provides intelligent storage discovery and
management services comparable to those found in Fibre Channel networks, which allow a commodity IP
network to function in a similar capacity as a storage area network. iSNS also facilitates a seamless
integration of IP networks and Fibre Channel networks, due to its ability to emulate Fibre Channel fabric
services and manage both iSCSI devices and Fibre Channel devices.
The DHCP server passes configuration parameters, such as network addresses, to IP nodes. DHCP
enables a client to acquire all of the IP configuration parameters that it needs to operate. DHCP lets you
automatically allocate reusable network addresses.
Syntax
set storageSubsystem isnsIPV6Address=ip-address
Parameters
Parameters Description
isnsIPv6Address The IPv6 address that you want to use for the iSNS server.
Notes
The iSNS protocol facilitates the automated discovery, management, and configuration of iSCSI and Fibre
Channel devices on a TCP/IP network. iSNS provides intelligent storage discovery and management
services comparable to those found in Fibre Channel networks, permitting a commodity IP network to
function in a similar capacity as a storage area network. iSNS also facilitates a seamless integration of IP
networks and Fibre Channel networks, due to its ability to emulate Fibre Channel fabric services, and
3-102 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
manage both iSCSI devices and Fibre Channel devices. iSNS thereby provides value in any storage
network that has iSCSI devices, Fibre Channel devices, or any combination thereof.
Syntax
set storageSubsystem isnsListeningPort=integer
Parameter
Parameter Description
isnsListeningPort The IP address that you want to use for the iSNS server
listening port. The range of values for the listening port
is 49152 to 65535. The default value is 3205.
Notes
A listening port resides on the database server and is responsible for these activities:
v Listening (monitoring) for incoming client connection requests
v Managing the traffic to the server
When a client requests a network session with a server, a listener receives the actual request. If the client
information matches the listener information, then the listener grants a connection to the database server.
Syntax
set storageSubsystem isnsServerRefresh
Parameters
None.
Notes
If the DHCP server is not operating at full capability, or if the DHCP server is unresponsive, the refresh
operation can take between two and three minutes to complete.
The set storageSubsystem isnsServerRefresh command returns an error if you did not set the
configuration method to DHCP. To set the configuration method to DHCP, use the set storageSubsystem
isnsIPV4ConfigurationMethod command.
Parameters
Parameter Description
daysToNextLearnCycle Valid values are 0 through 7, where 0 is immediately and 7 is in seven days.
The daysToNextLearnCycle parameter takes place up to seven days after the
next scheduled learn cycle.
day Valid values for the day parameter include the days of the week (Sunday,
Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday). Setting the day
causes the next learn cycle to be scheduled on the specified day, after the
currently scheduled learn cycle.
time The time in 24-hour format; for example 8:00 a.m. is entered as 08:00. Nine
o’clock p.m. is entered as 21:00, and 9:30 p.m. is entered as 21:30.
Notes
You can set the learn cycle to occur only once during a seven-day period.
The time parameter selects a specific time that you want to run the learn cycle. If a value is not entered,
the command uses a default value of 00:00 (midnight).
If the day and time specified are in the past, the next learn cycle takes place on the next possible day
specified.
Syntax
set storageSubsystem redundancyMode=(simplex | duplex)
Parameter
Parameter Description
redundancyMode Use simplex mode when you have a single controller. Use
duplex mode when you have two controllers.
Syntax
set storageSubsystem securityKey
Parameters
None.
3-104 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Notes
The controller firmware creates a lock that restricts access to the FDE drives. FDE drives have a state
called Security Capable. When you create a security key, the state is set to Security Enabled, which
restricts access to all FDE drives that exist within the storage subsystem.
Syntax
set storageSubsystem time
Parameters
None.
Syntax
set iscsiTarget unnamedDiscoverySession=(TRUE | FALSE)
Parameter
Parameter Description
unnamedDiscoverySession This parameter turns on or turns off unnamed
discovery sessions. Set the parameter to TRUE to
turn on unnamed discovery sessions. Set the
parameter to FALSE to turn off unnamed discovery
sessions.
Notes
Discovery is the process where initiators determine the targets that are available. Discovery occurs at
power-on/initialization and also if the bus topology changes, for example, if an extra device is added.
An unnamed discovery session is a discovery session that is established without specifying a target ID in
the login request. For unnamed discovery sessions, neither the target ID nor the target portal group ID
are available to the targets.
Set VolumeCopy
This command defines the properties for a VolumeCopy pair.
Syntax
set volumeCopy target [targetName]
[source [sourceName]]
copyPriority=(highest | high | medium | low | lowest)
targetReadOnlyEnabled=(TRUE | FALSE)
Notes
When you use this command, you can specify one or more of the optional parameters.
Show Array
This command returns this information about an array:
v The status (online or offline)
v The disk drive type (Fibre Channel, SATA, or SAS)
v Enclosure loss protection (yes or no)
v The current owner (the controller in slot A or the controller in slot B)
v The associated logical drives and free capacity
v The associated disk drives
Syntax
show array [arrayNumber]
Parameter
Parameter Description
array The alphanumeric identifier of the array (including
and _) for which you want to show information.
Enclose the array identifier in square brackets ([ ]).
Notes
3-106 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Name: 1
Status: Optimal
Capacity 2.272 TB
RAID level: 6
Security Capable: No
Secure: No
Enclosure Slot
3 2
1 2
99 1
3 4
1 4
99 5
99 13
Syntax
show array [arrayNumber] exportDependencies
Parameter
Parameter Description
array The alphanumeric identifier (including - and _) of the array
for which you want to show export dependencies. Enclose
the array identifier in square brackets ([ ]).
Notes
This command spins up the disk drives in a array, reads the DACstore, and shows a list of import
dependencies for the array. The array must be in an Exported state or a Forced state.
Syntax
show array [arrayNumber] importDependencies [cancelImport=(TRUE | FALSE)]
Parameters
Parameter Description
array The alphanumeric identifier (including - and _) of the array
for which you want to show import dependencies. Enclose the
array identifier in square brackets ([ ]).
cancelImport The setting to spin the disk drives back down after the array
dependencies have been read. To spin down the disk drives,
set this parameter to TRUE. To let the disk drives stay
spinning, set this parameter to FALSE.
Notes
This command returns the dependencies of a specific array, which must be in an Exported state or a
Forced state. If a decision is made to retain the listed dependencies, then the cancelImport parameter can
be enforced to spin the disk drives back down.
The show array importDependencies command must be run before the start array import command.
Show Controller
For each controller in a storage subsystem, this command returns the following information:
v The status (Online or Offline)
v The current firmware and NVSRAM configuration
v The pending firmware configuration and NVSRAM configuration (if any)
v The board ID
v The product ID
v The product revision
v The serial number
v The date of manufacture
v The cache size or the processor size
v The date and the time to which the controller is set
v The associated logical drives (including the preferred owner)
v The Ethernet port
v The physical disk interface
v The host interface, which applies only to Fibre Channel host interfaces
Syntax
show (allControllers | controller [(a | b)]) [summary]
3-108 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameters
Parameter Description
allControllers The setting to return information about both controllers in
the storage subsystem.
controller The setting to return information about a specific controller
in the storage subsystem. Valid controller identifiers are a or
b, where a is the controller in slot A, and b is the controller
in slot B. Enclose the controller identifier in square brackets
([ ]).
summary The setting to return a concise list of information about both
controllers in the storage subsystem.
Notes
The following list is an example of the information that is returned by the show controller command.
This example only shows how the information is presented and should not be considered as
representative of the best practice for a storage array configuration.
Controller in Enclosure 85, Slot A
Status: Online
Current configuration
Firmware version: 07.50.00.00
Appware version: 07.50.00.00
Bootware version: 07.50.00.00
NVSRAM version: N1818D53R1050V03
Pending configuration
Firmware version: None
Appware version: None
Bootware version: None
NVSRAM version: None
Transferred on: None
Current ID (ALPA)
On drive channel 1: 125/0x1
Replacement part number: memSpyTesting_9
Model name: 7000-88
Board ID: 7091
Submodel ID: 93
Product ID: 1818 FAStT
Revision: 0730
Replacement part number: memSpyTesting_9
Part number: 32847-10
Serial number: SF74700554
Vendor: IBM
Date of manufacture: January 24, 2008
Data Cache
Total present: 8192 MB
Total used: 8192 MB
Data Cache Module
Status: Optimal
Location: Controller A, Slot 1
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196510
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Data Cache Module
Status: Optimal
3-110 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Date of manufacture: October 29, 2007
Processor cache:
Total present: 2044 MB
Processor Cache Module
Status: Optimal
Location: Controller A, Slot 1
Capacity: 2,048 MB
Replacement Part number: Not Available
Manufacturer Part Number: Not Available
Part Number: Not Available
Serial number: Not Available
Manufacturer: Not Available
Date of manufacture: Not available
Cache Backup Device
Status: Optimal
Type: USB flash drive
Location: Controller A, Connector USB 4
Capacity: 3,919 MB
Product ID: TS4GUFM-V
Part number: Not Available
Serial number: 0000000000003B
Revision level: 0.00
Manufacturer: Not Available
Date of manufacture: Not available
Status: Optimal
Type: USB flash drive
Location: Controller A, Connector USB 3
Capacity: 3,919 MB
Product ID: TS4GUFM-V
Part number: Not Available
Serial number: 00000000000007
Revision level: 0.00
Manufacturer: Not Available
Date of manufacture: Not available
Host Interface Board
Status: Optimal
Location: Slot 2
Type: Fibre channel
Number of ports: 4
Board ID: 0801
Replacement part number: Not Available
Part number: PN L2-25023-02
Serial number: SN SF84300044
Vendor: VN LSI
Date of manufacture: November 1, 2008
Host Interface Board
Status: Optimal
Location: Slot 1
Type: Fibre channel
Number of ports: 4
Board ID: 0801
Replacement part number: Not Available
Part number: PN L2-25023-02
Serial number: SN SF84300041
Vendor: VN LSI
Date of manufacture: November 1, 2008
Date/Time: Tue Jan 27 15:19:38 EST 2009
Associated Logical Drives (* = Preferred Owner):
FC_R3_A*, FDE_R6_A*, Sata_Raid6_A*, Secure_Middle_R6_A*
Ethernet port: 1
Link status: Up
Ethernet port: 2
Link status: Failed
MAC address: 00:a0:b8:29:ed:8b
Negotiation mode: Auto-negotiate
Port speed: Unknown
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.129.101
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Static
Local IP address: FE80:0000:0000:0000:0000:0000:0000:0000
3-112 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Drive interface: Fibre
Channel: 5
Port: 1, 2
Current ID: 125/0x1
Maximum data rate: 4 Gbps
Current data rate: 2 Gbps
Data rate control: Auto
Link status: Up
3-114 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Host interface: Fibre
Channel: 8
Current ID: Not applicable/0xFFFFFFFF
Preferred ID: 15/0xCE
NL-Port ID: 0xFFFFFF
Maximum data rate: 8 Gbps
Current data rate: 8 Gbps
Data rate control: Auto
Link status: Down
Topology: Not Available
World-wide port identifier: 20:8e:00:a0:b8:29:ed:8a
World-wide node identifier: 20:0e:00:a0:b8:29:ed:8a
Part type: PM8032 revision 5
Status: Online
Current configuration
Firmware version: 07.50.00.00
Appware version: 07.50.00.00
Bootware version: 07.50.00.00
NVSRAM version: N1818D53R1050V03
Pending configuration
Firmware version: None
Appware version: None
Bootware version: None
NVSRAM version: None
Transferred on: None
Current ID (ALPA)
On drive channel 1: 124/0x2
Replacement part number: Not Available
Model name: 7000-88
Board ID: 7091
Submodel ID: 93
Product ID: 1818 FAStT
Revision: 0730
Replacement part number:
Part number: 32847-10
Serial number: SF74600024
Vendor: IBM
Date of manufacture: January 23, 2008
Data Cache
Total present: 8192 MB
Total used: 8192 MB
Data Cache Module
Status: Optimal
Location: Controller B, Slot 9
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1127652678
Manufacturer: Samsung
Date of manufacture: December 31, 2007
Data Cache Module
Status: Optimal
Location: Controller B, Slot 10
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953CZ3-CD5
Part Number: Not Available
Serial number: 4076997590
Manufacturer: Samsung
Date of manufacture: January 29, 2007
Data Cache Module
3-116 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Part Number: Not Available
Serial number: Not Available
Manufacturer: Not Available
Date of manufacture: Not available
Cache Backup Device
Status: Optimal
Type: USB flash drive
Location: Controller B, Connector USB 3
Capacity: 3,919 MB
Product ID: TS4GUFM-V
Part number: Not Available
Serial number: 00000000000003
Revision level: 0.00
Manufacturer: Not Available
Date of manufacture: Not available
Status: Optimal
Type: USB flash drive
Location: Controller B, Connector USB 4
Capacity: 3,919 MB
Product ID: TS4GUFM-V
Part number: Not Available
Serial number: 00000000000049
Revision level: 0.00
Manufacturer: Not Available
Date of manufacture: Not available
Host Interface Board
Status: Optimal
Location: Slot 3
Type: Fibre channel
Number of ports: 4
Board ID: 0801
Replacement part number: Not Available
Part number: PN L2-25023-02
Serial number: SN SF84300021
Vendor: VN LSI
Date of manufacture: November 1, 2008
Host Interface Board
Status: Optimal
Location: Slot 4
Type: Fibre channel
Number of ports: 4
Board ID: 0801
Replacement part number: Not Available
Part number: PN L2-25023-02
Serial number: SN SF84300014
Vendor: VN LSI
Date of manufacture: November 1, 2008
Date/Time: Tue Jan 27 15:19:47 EST 2009
Ethernet port: 1
Link status: Up
MAC address: 00:a0:b8:29:ec:e6
Negotiation mode: Auto-negotiate
Port speed: 10 Mbps
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.70.71
Subnet mask: 255.255.255.0
Ethernet port: 2
Link status: Failed
MAC address: 00:a0:b8:29:ec:e7
Negotiation mode: Auto-negotiate
Port speed: Unknown
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.129.102
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Stateless
Local IP address: FE80:0000:0000:0000:02A0:B8FF:FE29:ECE7
3-118 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Drive interface: Fibre
Channel: 6
Port: 3, 4
Current ID: 124/0x2
Maximum data rate: 4 Gbps
Current data rate: 4 Gbps
Data rate control: Auto
Link status: Up
3-120 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Topology: Not Available
World-wide port identifier: 20:8f:00:a0:b8:29:ed:8a
World-wide node identifier: 20:0e:00:a0:b8:29:ed:8a
Part type: PM8032 revision 5
Syntax
show (allControllers | controller [(a | b)]) NVSRAM [hostType=hostTypeIndexLabel
| host=”hostName”]
Parameters
Parameter Description
allControllers The setting to return information about both controllers in the
storage subsystem.
controller The setting to return information about a specific controller in
the storage subsystem. Valid controller identifiers are a or b,
where a is the controller in slot A, and b is the controller in
slot B. Enclose the controller identifier in square brackets ([ ]).
hostType The index label or number of the host type. Use the show
storageSubsystem hostTypeTable command to generate a list
of available host type identifiers.
host The name of the host that is connected to the controllers.
Enclose the host name in double quotation marks (“ ”).
Notes
Use the show controller NVSRAM command to show parts of or all of the NVSRAM before using the set
controller command to change NVSRAM values.
Syntax
show iscsiInitiator iscsiSessions [iscsiInitiator | iscsiTarget]
Parameters
Parameter Description
iscsiInitiator The name of the iSCSI initiator for which you want to
obtain session information. Enclose the iSCSI initiator
name in square brackets ([ ]).
iscsiTarget The name of the iSCSI target for which you want to
obtain session information. Enclose the iSCSI target
name in square brackets ([ ]).
If you enter this command without defining any arguments, this command returns information about all
of the iSCSI sessions that are currently running. To limit the information that is returned, enter a specific
iSCSI initiator or a specific iSCSI target. This command then returns information about the session for
only the iSCSI initiator or the iSCSI target that you named.
Show Drive
For each disk drive in the storage subsystem, this command returns the following information:
v The total number of disk drives
v The type of disk drive (Fibre Channel, SATA, or SAS)
v Information about the basic disk drive:
– The enclosure location and the slot location
– The status
– The capacity
– The data transfer rate
– The product ID
– The firmware level
v Information about the disk drive channel:
– The enclosure location and the slot location
– The preferred channel
– The redundant channel
v Hot spare coverage
v Details for each disk drive
Depending on the size of your storage subsystem, this information can be several pages long. In addition,
the disk drive information is returned for the show storageSubsystem profile command.
Syntax
show (allDrives [driveType=(fibre | SATA | SAS)] |
drive [enclosureID,slotID] |
drives [enclosureID1,slotID1 ... enclosureIDn,slotIDn]) summary
Parameters
Parameter Description
allDrives The setting to return information about all of the disk
drives in the storage subsystem.
driveType The type of disk drive for which you want to retrieve
information. Valid disk drive types are fibre, SATA, or
SAS.
drive or drives The enclosure and the slot where the disk drive resides.
You can enter enclosure IDs and slot IDs for one or
several disk drives. Enclosure ID values are 0 to 99. Slot
ID values are 1 to 32. Enclose the enclosure ID values
and the slot ID values in parentheses.
3-122 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
summary The setting to return the status, the capacity, the data
transfer rate, the product ID, and the firmware version
for the specified disk drives.
Notes
To determine information about the type and location of all of the disk drives in the storage subsystem,
use the allDrives parameter.
To determine the information about the Fibre Channel, SATA, or SAS disk drives in the storage
subsystem, use the driveType parameter.
To determine the type of disk drive in a specific location, use the drive parameter, and enter the
enclosure ID and the slot ID for the disk drive.
Syntax
show (driveChannel [(1 | 2 | 3 | 4 | 5 | 6 | 7 | 8)] |
driveChannels [1 2 3 4 5 6 7 8] | allDriveChannels) stats
Parameters
Parameter Description
driveChannel The identifier number of the disk drive channel for
which you want to show information. Valid disk drive
channel values are 1, 2, 3, 4, 5, 6, 7, or 8. Enclose the
disk drive channel in square brackets ([ ]).
driveChannels The identifier number of the disk drive channels for
which you want to show information. Valid disk drive
channel values are 1, 2, 3, 4, 5, 6, 7, or 8. Enclose the
disk drive channels in square brackets ([ ]) with the
disk drive channel value separated by a space.
allDriveChannels The identifier that selects all of the disk drive channels.
Syntax
show allDrives downloadProgress
Parameters
None.
When all of the firmware downloads have successfully completed, this command returns good status. If
any firmware downloads fail, this command shows the firmware download status of each disk drive that
was targeted. This command returns the statuses shown in this table.
Status Definition
Successful The downloads completed without errors.
Not Attempted The downloads did not start.
Partial Download The download is in progress.
Failed The downloads completed with errors.
Syntax
show remoteMirror candidates primary=”logicalDriveName”
remoteStorageSubsystemName=”storageSubsystemName”
Parameters
Parameter Description
primary The name of the local logical drive that you want for
the primary logical drive in the remote-mirror pair.
Enclose the primary logical drive name in double
quotation marks (“ ”).
remoteStorageSubsystemName The remote storage subsystem that contains possible
logical drives for a secondary logical drive. If the
remote storage subsystem name has special
characters, you must also enclose the remote storage
subsystem name in double quotation marks (“ ”).
Syntax
show remoteMirror (localLogicalDrive [“logicalDriveName”] |
localLogicalDrives [“logicalDriveName1” ... “logicalDriveNameN”])
synchronizationProgress
3-124 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter
Parameter Description
localLogicalDrive or The name of the primary logical drive of the remote mirror
localLogicalDrives pair for which you want to check synchronization progress.
Enclose the primary logical drive name in double quotation
marks (“ ”) inside of square brackets ([ ]).
Syntax
show allHostPorts
Parameters
None.
Syntax
show (allLogicalDrives | logicalDrive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN]) summary
Parameters
Parameter Description
allLogicalDrives The setting to return information about all of the logical drives
in the storage subsystem.
logicalDrive or The name of the specific logical drive for which you are
logicalDrives retrieving information. You can enter more than one logical
drive name. Enclose the logical drive name in square brackets
([ ]). If the logical drive name has special characters, you also
must enclose the logical drive name in double quotation marks
(“ ”).
summary The setting to return a concise list of information about the
logical drives.
Syntax
show logicalDrive [“logicalDriveName”] actionProgress
Parameters
Parameter Description
logicalDrive The name of the logical drive that is running the
long-running operation. Enclose the logical drive name
in double quotation marks (“ ”) inside of square
brackets ([ ]).
Syntax
show (alllogicalDrives | logicalDrive [logicalDriveName]
logicalDrives [logicalDriveName1 ... logicalDriveNameN] performanceStats
Parameters
Parameter Description
alllogicalDrives The setting to return performance statistics about all
of the logical drives in the storage subsystem.
3-126 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameter Description
logicalDrive or The name of the specific logical drive for which you
logicalDrives are retrieving performance statistics. You can enter
more than one logical drive name. Enclose the logical
drive name in square brackets ([ ]). If the logical drive
name has special characters, you also must enclose the
logical drive name in double quotation marks (“ ”).
Notes
Before you run the show logicalDrive performanceStat command, run the set session
performanceMonitorInterval command and the set session performanceMonitorIterations command to
define how often you collect the statistics.
The show logical drive command returns logical drive performance statistics as shown in the following
example:
"Performance Monitor Statistics for Storage Subsystem: DS4700 - Date/Time: 1/27/09 8:33:32 PM
Polling interval in seconds: 5"
"Storage Subsystems ","Total IOs ","Read Percentage ","Cache Hit Percentage ","Current KB/second
","Maximum KB/second ","Current IO/second ","Maximum IO/second"
Syntax
show (alllogicalDrives | logicalDrive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN]) reservations
Parameters
Parameter Description
allLogicalDrives The setting to return persistent reservation information
about all of the logical drives in the storage subsystem.
logicalDrive or The name of the specific logical drive for which you are
logicalDrives retrieving persistent reservation information. You can enter
more than one logical drive name. Enclose the logical drive
name in square brackets ([ ]). If the logical drive name has
special characters, you also must enclose the logical drive
name in double quotation marks (“ ”).
Syntax
show
storageSubsystem profile batteryAge connections defaultHostType healthStatus
hostTypeTable hotSpareCoverage features time logicalDriveDistribution
summary
Parameters
Parameter Description
profile The parameter to show all of the properties of the
logical components and the physical components that
comprise the storage subsystem. The information
appears in several screens.
batteryAge The parameter to show the status, the age of the
battery in days, and the number of days until the
battery needs to be replaced.
connections The parameter to show a list of where the drive
channel ports are located and where the drive
channels are connected.
defaultHostType The parameter to show the default host type and the
host type index.
healthStatus The parameter to show the health, logical properties,
and physical component properties of the storage
subsystem.
hostTypeTable The parameter to show a table of all of the host types
that are known to the controller. Each row in the
table shows a host type index and the platform that
the host type index represents.
hotSpareCoverage The parameter to show information about which
logical drives of the storage subsystem have hot
spare coverage and which logical drives do not.
features The parameter to show a list of the feature identifiers
for all enabled features in the storage subsystem.
time The parameter to show the current time to which
both controllers in the storage subsystem are set.
logicalDriveDistribution The parameter to show the current controller owner
for each logical drive in the storage subsystem.
summary The parameter to show a concise list of information
about the storage subsystem configuration.
3-128 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Notes
The profile parameter shows detailed information about the storage subsystem. The information appears
on several screens on a display monitor. You might need to increase the size of your display buffer to see
all of the information. Because this information is so detailed, you might want to save the output of this
parameter to a file. To save the output to a file, run the show storageSubsystem command that looks like
this example:
c:\...\...\client>smcli 123.45.67.89 -c “show storageSubsystem profile;” -o
“c:\\folder\\storageSubsystemprofile.txt”
The previous command syntax is for a host that is running a Windows operating system. The actual
syntax varies depending on your operating system.
The DS5300, DS5100, and DS4800 (Models 82, 84, 88) series controller modules do not support the show
storageSubsystem batteryAge command.
Standby: 2
In use: 0
Name: 1
Status: Optimal
Capacity 1.064 TB
RAID level: 6
Enclosure Slot
2 3
2 4
2 5
2 6
2 7
2 12
4 2
4 4
3-130 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
4 7
4 8
Name: FC_R3
Status: Optimal
Capacity 836.688 GB
RAID level: 3
Security Capable: No
Secure: No
Enclosure Slot
4 9
4 12
4 14
4 16
Name: FDE_R6
Status: Optimal
Capacity 817.381 GB
RAID level: 6
Enclosure Slot
2 1
2 2
2 13
2 15
2 16
4 5
4 6
4 3
Name: Sata_Raid6
Status: Optimal
Capacity 2.727 TB
RAID level: 6
Security Capable: No
Secure: No
Enclosure Slot
2 8
2 9
2 10
2 11
4 1
4 13
Name: Secure_R1
Status: Optimal
Capacity 278.897 GB
RAID level: 1
3-132 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Enclosure loss protection: No
Enclosure Slot
4 15 [mirrored pair with drive at enclosure 4, slot 10]
4 10 [mirrored pair with drive at enclosure 4, slot 15]
Syntax
show storageSubsystem autoConfiguration
[driveType=(fibre | SATA | SAS)
raidLevel=(0 | 1 | 3 | 5 | 6)
arrayWidth=numberOfDrives
arrayCount=numberOflogical driveGroups
logicalDrivesPerArrayCount=numberOfLogicalDrivesPerArray
hotSpareCount=numberOfHotspares
segmentSize=segmentSizeValue
cacheReadPrefetch=(TRUE | FALSE)]
Syntax
show storageSubsystem hostTopology
Parameters
None.
Notes
This command returns the host topology information similar to this example:
TOPOLOGY DEFINITIONS
STORAGE SUBSYSTEM
Default type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Host Port: 21:00:00:e0:8b:0f:d5:41
Host Port: 21:00:00:e0:8b:83:ec:cc
Default Group
Host Group: r05c1b1509
Host: r05c1b01
3-134 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Global host type*: LNXCLVMWARE
Host port identifier: 50:00:62:b0:00:0c:d3:60
Alias: r05c1b01p1
Host: r05c1b05
Host: r05c1b09
Host: X460-WS2K3
Host type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Host port identifier: 21:00:00:e0:8b:0f:7f:42
Alias: Port1
Host type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Host port identifier: 21:01:00:e0:8b:a3:ec:cc
Alias: Port2
Syntax
show storageSubsystem lunMappings [host [“hostName”] |
hostgroup [“hostGroupName”]]
Parameters
Parameter Description
host The name of a specific host for which you want to see
the LUN mappings. Enclose the host name in double
quotation marks (“ ”) inside of square brackets ([ ]).
Notes
This command returns information from the storage subsystem profile about the logical unit number
(LUN) mappings in the storage array, similar to this example:
MAPPINGS (Storage Partitioning - Enabled (1 of 8 used))------------------
Syntax
show storageSubsystem iscsiNegotiationDefaults
Parameters
None.
Notes
Information returned includes RAID controller enclosure default settings (that is, those settings that are
the starting point for negotiation) and the current active settings.
The data is sorted first by the logical drive user label and second by the logical block address (LBA).
Each entry in the table corresponds to a single sector.
3-136 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Syntax
show storageSubsystem unreadableSectors
Parameters
None.
Show String
This command shows a string of text from a script file. This command is similar to the echo command in
MS-DOS and UNIX.
Syntax
show “string”
Parameters
None.
Notes
Syntax
show storageSubsystem unconfiguredIscsiInitiators
Parameters
None.
Show VolumeCopy
This command returns this information about VolumeCopy operations:
v The copy status
v The start time stamp
v The completion time stamp
v The copy priority
v The source logical drive World-Wide Identifier (WWID) or the target logical drive WWID
v The target logical drive Read-Only attribute setting
You can retrieve information about a specific VolumeCopy pair or all of the VolumeCopy pairs in the
storage subsystem.
Syntax
show volumeCopy (allLogicalDrives | source [“sourceName”] |
target [“targetName”])
Syntax
show logicaldrivecopy sourcecandidates
Parameters
None.
Logical Drive Name: R1_2drives
Capacity: 40.0 GB
Array: 0
Logical Drive Name: R6_5drives_SATA
Capacity: 46.0 GB
Array: 1
Logical Drive Name: R5
Capacity: 40.0 GB
Array: 2
Syntax
show volumeCopy source [“sourceName”] targetCandidates
Parameter
Parameter Description
source The name of the source logical drive for which you are
trying to find a candidate target logical drive. Enclose the
source logical drive name in double quotation marks (“ ”)
inside of square brackets ([ ]).
3-138 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Start Array Defragment
This command starts a defragment operation on the specified array.
Note: Defragmenting an array starts a long-running operation that you cannot stop.
Syntax
start array [arrayNumber] defragment
Parameter
Parameter Description
array The alphanumeric identifier of the array (including - and
_) that you want to defragment. Enclose the array
identifier in square brackets ([ ]).
Notes
Host I/O errors might result in the arrays with more than 32 logical drives. This operation also might
result in internal controller reboots because the timeout period ends before the array definition is set. If
you experience this issue, quiesce the host I/O operations, and try the command again.
Note: Within the array, you cannot move logical drives that are associated with the premium features
from one storage subsystem to another storage subsystem.
Syntax
start array [arrayNumber] export
Parameter
Parameter Description
array The alphanumeric identifier of the array (including - and _)
that you want to export. Enclose the array identifier in square
brackets ([ ]).
Notes
When this command is successful, you can run the start array import command to finish moving the
array to a Complete state, which makes the array available to the new storage subsystem.
If this command is unsuccessful because hardware problems prevented the completion of the export, use
the set array forceState command. The set array forceState command lets you use the start array import
command to import a array.
After the array is in an Exported state or a Forced state, you can remove the disk drives that comprise
the array from the storage subsystem. You can reinstall the disk drives in a different storage subsystem.
Note: Within the array, you cannot move logical drives that are associated with the premium features
from one storage subsystem to another storage subsystem.
Syntax
start array [arrayNumber] import
Parameter
Parameter Description
array The alphanumeric identifier of the array (including - and _)
that you want to import. Enclose the array identifier in square
brackets ([ ]).
Notes
Higher-level logical drives that are specifically related to premium features (FlashCopy, Enhanced Remote
Mirroring, VolumeCopy, host-to-logical drive mapping, and persistent reservations) are removed as part
of the import operation.
The show array importDependencies command must be run before the start array import command.
Syntax
start array [arrayNumber] locate
Parameter
Parameter Description
array The alphanumeric identifier of the array (including - and
_) for which you want to locate the disk drives that belong
to that array. Enclose the array identifier in square brackets
([ ]).
Syntax
start driveChannel [(1 | 2 | 3 | 4 | 5 | 6 | 7 | 8)] controller [(a | b)]
faultDiagnostics {testDevices=[all | controller=(a | b) | esms=[enclosureID1
(left | right), ... enclosureIDn (left | right)] |
3-140 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
drives=[enclosureID1, slotID1, ... , enclosureIDn,
slotIDn]] | dataPattern=(fixed | pseudoRandom) |
patternNumber=[(0xhexadecimal | integerLiteral)]
| maxErrorCount=integer | testIterations=integer
| timeout=timeInterval}
Parameter
Parameter Description
controller The identifier letter of the controller that you want to test.
Valid controller identifier values are a or b, where a is the
controller in slot A, and b is the controller in slot B.
testDevices The identifiers of the devices (controllers, ESMs, or drives) that
you want to test. You can specify all or enter the specific
identifiers for the devices that you want to diagnose.
dataPattern The method of repeatability that you want to test.
patternNumber The hexadecimal data pattern you want to use to run the test.
This number can be any hexadecimal number between 0000 to
FFFF.
maxErrorCount The number of errors that you want to accept before
terminating the test.
testIterations The number of times that you want to repeat the test.
timeout The length of time in minutes that you want to run the test.
Notes
Use the save driveChannel faultDiagnostics command and the stop driveChannel faultDiagnostics
command in association with the start driveChannel faultDiagnostics command. These commands are
needed to save the diagnostic test results to a file and to stop the diagnostic test.
You can also stop this command at any time by pressing Ctrl+C
Syntax
start driveChannel [(1 | 2 | 3 | 4 | 5 | 6 |7 | 8)] locate
Parameter
Parameter Description
driveChannel The identifier number of the disk drive channel that you
want to locate. Valid values for the identifier number for
the disk drive channel are 1, 2, 3, 4, 5, 6, 7, or 8. Enclose the
disk drive channel identifier number in square brackets
([ ]).
Attention: Possible damage to the storage subsystem configuration – As soon as you enter this
command, all user data is destroyed.
Syntax
start drive [enclosureID,slotID] initialize
Parameter
Parameter Description
drive The enclosure and the slot where the disk drive resides.
Enclosure ID values are 0 to 99. Slot ID values are 1 to 32.
Enclose the enclosure ID value and the slot ID value in
square brackets ([ ]).
Syntax
start drive [enclosureID,slotID] locate
Parameter
Parameter Description
drive The enclosure and the slot where the disk drive resides.
Enclosure ID values are 0 to 99. Slot ID values are 1 to
32. Enclose the enclosure ID value and the slot ID value
in square brackets ([ ]).
Syntax
start drive [enclosureID,slotID] reconstruct
Parameter
Parameter Description
drive The enclosure and the slot where the disk drive resides.
Enclosure ID values are 0 to 99. Slot ID values are 1 to 32.
Enclose the enclosure ID value and the slot ID value in
square brackets ([ ]).
3-142 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Start Enclosure Locate
This command locates an enclosure by turning on the indicator light. (Use the stop enclosure locate
command to turn off the indicator light for the enclosure.)
Syntax
start enclosure [enclosureID] locate
Parameter
Parameter Description
enclosure The enclosure that you want to locate. Enclosure ID values
are 0 to 99. Enclose the enclosure ID value in square brackets
([ ]).
Syntax
start remoteMirror primary [“logicalDriveName”] synchronize
Parameter
Parameter Description
primary The name of the primary logical drive for which you want to
start synchronization. Enclose the primary logical drive name
in double quotation marks (“ ”) inside of square brackets ([ ]).
Syntax
start storageSubsystem [iscsi-host-port] dhcpRefresh
Parameter
Parameter Description
iscsi-host-port The identifier of the port on the storage subsystem on
which you want to refresh the DHCP parameters. Enclose
the iSCSI host port name in square brackets ([ ]).
Notes
This operation ends the iSCSI connections for the portal and brings down the portal temporarily.
Note: Formatting a logical drive starts a long-running operation that you cannot stop.
Syntax
start logicalDrive [logicalDriveName] initialize
Parameter
Parameter Description
logicalDrive The name of the logical drive for which you are starting the
formatting. Enclose the logical drive name in square brackets
([ ]). If the logical drive name has special characters, you also
must enclose the logical drive name in double quotation
marks (“ ”).
Syntax
start secureErase (drive [trayID,slotID] |
drives [trayID1,slotID1 ... trayIDn,slotIDn])
Parameters
Parameter Description
drive or drives The tray and the slot where the drive resides. Tray ID values
are 0 to 99. Slot ID values are 1 to 32. Enclose the tray ID
values and the slot ID values in square brackets ([ ]).
Notes
The controller firmware creates a lock that restricts access to the FDE drives. FDE drives have a state
called Security Capable. When you create a security key, the state is set to Security Enabled, which
restricts access to all FDE drives that exist within the storage array.
Syntax
start storageSubsystem locate
3-144 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Parameters
None.
Syntax
stop array locate
Parameters
None.
See the “Start Drive Channel Fault Isolation Diagnostics” on page 3-140 command for more information.
Syntax
stop driveChannel faultDiagnostics
Parameters
None.
Notes
None.
Syntax
stop driveChannel locate
Parameters
None.
Syntax
stop drive locate
None.
Syntax
stop enclosure locate
Parameters
None.
Stop FlashCopy
This command stops a copy-on-write operation.
Syntax
stop flashcopy (logicaDrive [logicaDriveName] |
logicaDrives [logicaDriveName1 ... logicaDriveNameN])
Parameters
Parameter Description
logicaDrive or The name of the specific logical drive for which you want to
logicaDrives stop a copy-on-write operation. You can enter more than one
logical drive name. Enclose the logical drive names in square
brackets ([ ]). If the logical drive names have special characters,
you also must enclose the logical drive names in double
quotation marks (“ ”).
Syntax
stop storageSubsystem iscsiSession [integer]
Parameter
Parameter Description
iscsiSession The identifier number of the iSCSI session. Enclose the
identifier number of the iSCSI session in square brackets ([ ]).
3-146 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Stop Storage Subsystem Drive Firmware Download
This command stops a firmware download to the disk drives in a storage subsystem that was started
with the download storageSubsystem driveFirmware command. This command does not stop a firmware
download that is already in progress to a disk drive. This command stops all firmware downloads to disk
drives that are waiting for the download.
Syntax
stop storageSubsystem driveFirmwareDownload
Parameters
None.
Syntax
stop storageSubsystem locate
Parameters
None.
Stop VolumeCopy
This command stops a VolumeCopy operation.
Syntax
stop volumeCopy target [targetName] source [sourceName]
Parameters
Parameter Description
target The name of the target logical drive for which you want to
stop a VolumeCopy operation. Enclose the target logical
drive name in square brackets ([ ]). If the target logical drive
name has special characters, you also must enclose the
target logical drive name in double quotation marks (“ ”).
source The name of the source logical drive for which you want to
stop a VolumeCopy operation. Enclose the source logical
drive name in square brackets ([ ]). If the source logical
drive name has special characters, you also must enclose the
source logical drive name in double quotation marks (“ ”).
Parameters
Parameter Description
primary or primaries The name of the logical drive for which you want to
suspend operation. Enclose the logical drive name in
square brackets ([ ]). If the logical drive name has
special characters, you must also enclose the logical
drive name in double quotation marks (“ ”).
writeConsistency This parameter defines whether the logical drives
identified in this command are in a write-consistency
group or are separate. For the logical drives in the same
write-consistency group, set this parameter to TRUE.
For the logical drives that are separate, set this
parameter to FALSE.
Notes
If you set the writeConsistency parameter to TRUE, the logical drives must be in a write-consistency
group (or groups). This command suspends all write-consistency groups that contain the logical drives.
For example, if logical drives A, B, and C are in a write-consistency group and they have remote
counterparts A’, B’, and C’, the command:
suspend
remoteMirror logicalDrive [“A”] writeConsistency=TRUE
suspends A-A’, B-B’, and C-C’. If you have a write-consistency group 1={A, B, C} and write-consistency
group 2={D, E, F}, the command:
suspend
remoteMirror logicalDrives=[“A”, “D”] writeConsistency=TRUE
Controller Commands
“Clear Drive Channel Statistics” on page 3-27
Enclosure Commands
“Download Environmental Card Firmware” on page 3-54
iSCSI Commands
“Activate iSCSI Initiator” on page 3-23
3-150 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Enhanced Remote Mirroring Commands
“Activate Enhanced Remote Mirroring Feature” on page 3-20
“Show Enhanced Remote Mirroring Logical Drive Synchronization Progress” on page 3-124
Session Command
“Set Session” on page 3-97
FlashCopy Commands
“Create FlashCopy Logical Drive” on page 3-32
3-152 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
“Set Storage Subsystem Enclosure Positions” on page 3-100
Uncategorized Commands
“Set Storage Subsystem ICMP Response” on page 3-101
“Create RAID Logical Drive (Free Capacity Base Select)” on page 3-40
VolumeCopy Commands
“Create Volume Copy” on page 3-47
Array Commands
“Create Array” on page 3-30
3-154 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
“Start Array Locate” on page 3-140
Configuring a RAID storage subsystem requires caution and planning to make sure that you define the
correct RAID level and configuration for your storage subsystem. You configure a storage subsystem to
create logical drives, which are addressable by the hosts, from a collection of disk drives. The commands
described in this chapter help you to set up and run a RAID storage subsystem. Additional commands
are also available to provide you with more control and flexibility.
Note: Many of these commands require a thorough understanding of the firmware as well as an
understanding of the network components that need to be mapped. Use the CLI commands and the
script commands with caution.
The sections in this chapter show some, but not all, of the CLI commands and the script commands. The
commands in this chapter show how you can use the commands to configure a storage subsystem. These
presentations do not describe all possible usage and syntax for the commands. (For complete definitions
of the commands, including syntax, parameters, and usage notes, see Chapter 3, “Script Commands,” on
page 3-1
This chapter contains examples of CLI command usage and script command usage. The command syntax
that is used in the examples is for a host running a Microsoft operating system. As part of the examples,
the complete C:\ prompt and the DOS path for the commands are shown. Depending on your operating
system, the prompt and path construct will vary.
For most commands, the syntax is the same for all Windows operating systems and UNIX operating
systems, as well as for a script file. Windows operating systems, however, have an additional requirement
when entering names in a command. On Windows operating systems, you must enclose the name
between two back slashes (\ \) in addition to other delimiters. For example, the following name is used
in a command running under a Windows operating system:
[\”Engineering\”]
For a UNIX operating system, and when used in a script file, the name appears as follows:
[“Engineering”]
When you configure a storage subsystem, you allocate parts of this logical structure for use by one or
more of the hosts that are attached to the storage subsystem. Each disk drive and drive expansion
enclosure is numbered to allow the storage to be organized into arrays and logical drives. This
organization helps to provide storage capacity and data protection so that the hosts can safely store and
retrieve data from the storage subsystem.
This section defines the physical components and the logical components that are required to organize
and configure a storage subsystem. This section also describes how the components relate to each other.
Controllers
All storage subsystems have one or two controllers. The controllers are circuit-board assemblies that
manage data and communication between the hosts and the storage subsystem. The controller manages
the data flow between the hosts and the disk drives, keeping track of the logical address of where the
data resides. In general, each controller has a processor for performing control operations, NVSRAM for
storing the firmware code that operates the storage subsystem, and the buses along which the data flows.
The controllers are located in a controller module, which provides two positions for controllers: slot A
and slot B. The script commands identify each controller by the slot in which the controller is installed. If
a storage subsystem has only one controller, the controller must be in slot A. Controllers are identified by
using model numbers.
4-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Controller models DS4400 and DS4500 use minihubs; two connected to each controller. When viewed
from the rear of the controller module, the host-side minihubs are numbered from left-to-right a1, b1, a2,
b2. The script commands identify the host channels by using these identifiers. Minihubs also supported
the drive-side, where each minihub represents a single channel to the disk drives. When viewed from the
rear of the controller module, the disk drive minihubs are numbered from left to right 4, 3, 2, 1. The
script commands use these numbers to identify the disk drive channels.
Controllers manage the interface by using the controller firmware to transmit and receive commands
between the hosts and the disk drives. Host bus adapters facilitate the communication through whatever
interface is selected. Typically, two host bus adapters and two paths are used to optimize redundancy.
These controller modules and controller modules incorporate all host connections and expansion drawer
connections into each controller. The host ports must be identified in your command statements to let
you complete their network configurations.
The more recent controllers do not use minihubs. These controllers have host ports that are integrated
into the controller circuit boards or auxiliary circuit boards that are directly connected to the controller
circuit boards.
The following table lists the controller modules that do not use minihubs, the type of host port, and the
number of host ports.
Table 4-1. Host Ports and the Type of Host Interfaces on Controller Modules
Type of Host
Model Available Host Ports Interface
DS3200 controller module (without 1 SAS
optional SAS expansion card)
DS3200 controller module (with 3 SAS
optional SAS expansion card)
DS3300 controller module 2 iSCSI
DS3400 controller module 2 Fibre Channel
DS4100, DS4200, and DS4300 2 Fibre Channel
DS4700 (Model 70) controller module 2 Fibre Channel
DS4700 (Model 72) controller module 4 Fibre Channel
DS4400, DS4500, and DS4800 4 Fibre Channel
DS5100 and DS5300 8 Fibre Channel
The DS4800 (Models 82, 84, 88)-series controller module has four host ports and four channel ports on
each controller.
The DS3200 controller module has three host ports [1] [2], which are numbered from left to right: host
port 1, host port 2, and host port 3 as shown in the following figure:
The DS3300 and DS3400 controller modules have two host ports [1] on each controller, which are
numbered from left to right: host port 1 and host port 2 as shown in the following figure:
The host ports on the DS4200 and DS4700 (Model 72) controller module are numbered from left-to-right
on controller B as Ch 1, Ch 2, Ch 3, and Ch 4. Controller A, which is installed upside-down in the
enclosure, is numbered from right-to-left in the same sequence, as shown in the following figure:
4 3 2 1
B
ds 47_ho s t_por ts
1 2 3 4
Figure 4-4. DS4200 and DS4700 Host Ports
4-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
The controller in the DS4800 controller module can have up to four host channels with one port for each
channel; up to two drive channels with two ports per channel (for a total of four drive ports); and, up to
two Ethernet ports. In the DS4800 (Models 82, 84, 88) controller module, the controllers are stacked one
above the other. The top controller is A. The bottom controller is B.
For controller A, the host channel identifiers are a1, a2, a3, and a4 (you will need this reference for the
CLI commands and the script commands): the host bus adapter (HBA) host ports are labeled 1, 2, 3, and
4. For controller B, the host channel identifiers are b1, b2, b3, and b4: the host bus adapter (HBA) host
ports are labeled 1, 2, 3, and 4.
The HBA host ports are labeled as shown in the following figure:
4 3 2 1
ds48_host_ports
B
1 2 3 4
Figure 4-5. DS4800 Host Ports
Controller A has drive channels 1 and 2. Controller A drive port pairs labeled 4 and 3 and 2 and 1
connect to controller A drive channels 1, and 2, respectively. Similarly, controller B also has two drive
channels, labeled as channels 3 and 4. Controller B drive port pairs labeled 1 and 2 and 3 and 4 connect
to controller B drive channel 3 and 4, respectively. Each Ethernet port on a controller can have a unique
IP address; however, both Ethernet ports share the same gateway IP address and remote login settings.
The DS5300 and DS5100 controller modules can have up to eight host channels with two ports for each
channel; up to four drive channels with two ports per channel (for a total of eight drive ports); and, up to
two Ethernet ports.
For controller A, the host channel identifiers are a1, a2, a3, a4, a5, a6. a7, and a8 (you will need this
reference for the CLI commands and the script commands). The controller A host ports are numbered
from the right most port (a1) to the left most port (a8) as shown in Figure 4-6 on page 4-6. For controller
B, the host channel identifiers are b1, b2, b3, b4, b5, b6, b7, and b8. The controller B host ports are
numbered from the left most port (b1) to the right most port (b8) as shown in Figure 4-6 on page 4-6.
Note: The host ports are physically labeled on the host port covers in groups of 4 (1, 2, 3 and 4).
The HBA host ports are labeled as shown in the following figure:
ds5_022309
Controller A has drive channels 1, 2, 3, and 4. Controller A drive port pairs, labeled 8 and 7, 6 and 5, 4
and 3, and 2 and 1, connect to controller A drive channels 1, 2, 3 and 4, respectively. Similarly, controller
B also has four drive channels, labeled as channels 5, 6, 7, and 8. Controller B drive port pairs, labeled 1
and 2, 3 and 4, 5 and 6, and 7 and 8, connect to controller B drive channels 5, 6, 7 and 8, respectively.
Each Ethernet port on a controller can have a unique IP address; however, both Ethernet ports share the
same gateway IP address and remote login settings.
Disk Drives
The disk drives provide the actual storage of the data that is sent to the storage subsystem. The disk
drives are mounted in a expansion drawer. The expansion drawer is an enclosure that, in addition to the
disk drives, contains power supplies, fans, environmental cards, and other supporting components.
Disk drives are located in a storage subsystem by enclosure ID and slot ID. Enclosure ID values are 0 to
99. In older enclosures, enclosure ID values are set during installation by switches on the rear of the
enclosures. In newer enclosures, enclosure ID values are set automatically when the power is applied.
The slot ID is the disk drive position in the expansion drawer. Slot ID values range from 1 to 16. A
expansion drawer can contain either 10, 12, 14, or 16 disk drives. The total number of disk drives in a
storage subsystem depends on the model of the controller and the type of expansion drawer.
Note: A maximum of seven expansion drawers can be on a channel when mixing 14-slot expansion
drawers and 16-slot expansion drawers.
The following table lists, by controller number and expansion drawer capacity, the maximum number of
disk drives in a storage subsystem.
Table 4-2. Maximum Number of Disk Drives
10-Disk Drive 12-Disk Drive
Expansion Expansion 14-Disk Drive 16-Disk Drive
Controller Model Drawer Drawer Expansion Drawer Expansion Drawer
DS3200 48
DS3300 48
DS3400 48
DS4300–SCU 14
DS4300 112 100-1101
DS4200 100-1101 112
DS4700 112 112
DS4400 220 224
DS4500 220 224 224
DS4800 224 224
DS5100 256
4-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 4-2. Maximum Number of Disk Drives (continued)
10-Disk Drive 12-Disk Drive
Expansion Expansion 14-Disk Drive 16-Disk Drive
Controller Model Drawer Drawer Expansion Drawer Expansion Drawer
DS5300 448
1
Note: There are maximum limits to the number of Fibre Channel hard drives that you can configure
in redundant drive loop pairs. The maximum number of drives dictates a fixed number of
supported 14-disk and 16-disk drive enclosure combinations. For more information, please refer to
Chapter 1 of the DS4000 Hard Drive and Storage Expansion Enclosure Installation and Migration Guide.
Hot Spares
A hot spare is a disk drive that acts as a standby in the event that a disk drive containing data fails. The
hot spare is a disk drive that has not been assigned to a particular array and, as such, can be used in any
array. You can use the hot spare feature with RAID 1, RAID 3, RAID 5, or RAID 6.
Note: Some DS3000 and DS4000 controller firmware versions do not support RAID 6. (Firmware version
7.3x.xx.xx for the DS5000 supports RAID 6.) For more information, see the DS3000 and DS4000 controller
firmware readme files or the interoperability matrices.
If a disk drive in a array fails, the controllers automatically replace the failed disk drive with a hot spare.
The controllers use redundancy data to reconstruct the data from the failed disk drive onto the hot spare.
To be most effective, the disk drive that you assign as a hot spare must have a capacity equal to or
greater than the capacity of the largest disk drive in the storage subsystem. The hot spare must be the
same type of disk drive as the disk drive that failed (for example, a Serial Advanced Technology
Attachment [SATA] hot spare cannot replace a Fibre Channel hot spare).
You can assign disk drives to act as hot spares manually or have the script commands automatically
assign hot spares. If you manually assign a disk drive to be a hot spare, you must identify the disk drive
by enclosure ID and slot ID. When you let the script commands automatically assign hot spares, you
must enter the number of hot spares that you want in the storage subsystem. The maximum number of
hot spare disk drives per storage subsystem is 15.
Arrays
A array is a set of disk drives that are logically grouped together by the controllers in a storage
subsystem. After you create a array, you can create one or more logical drives in the array. A array is
identified by a sequence number that is defined by the controller firmware when you created the array.
To create a array, you must define the capacity and the RAID level.
Capacity is the size of the array. Capacity is determined by the number of disk drives that you assign to
the array. You can use only unassigned disk drives to create a array. (In this programming guide, the
storage space on unassigned disk drives constitutes the unconfigured capacity of a storage subsystem.)
Free capacity is a contiguous region of unassigned capacity in a designated array. Before you create a new
logical drive in a array, you need to know the free capacity space so that you can determine the size of
the logical drive.
The number of disk drives you can include in a array is constrained by the capacity of each disk drive.
the following table relates the capacity of individual disk drives to the number of disk drives that you
can include in a array.
Logical Drives
A logical drive is a logical component (object) that is the basic structure that is created on the storage
subsystem to store data. A logical drive is a contiguous subsection of a array that is configured to meet
application needs for data availability and I/O performance. The IBM Storage Manager client software
administers a logical drive as if the logical drive is one “disk drive” for data storage. Logical drives are
identified by names or labels that users choose. The logical drive names can be any combination of
alphanumeric characters, hyphens (-), and underscores (_). The maximum length of a logical drive name
is 30 characters.
Note: You must use the access logical drive only for in-band-managed storage subsystems.
v FlashCopy logical drive – A logical point-in-time image of another logical drive. A flashcopy logical
drive is the logical equivalent of a complete physical copy; however, it is not an actual, physical copy.
Instead, the firmware tracks only the data blocks that are overwritten and copies those blocks to a
flashcopy repository logical drive.
v FlashCopy repository logical drive – A special logical drive in the storage subsystem that is created as
a resource for a flashcopy logical drive. A flashcopy repository logical drive contains flashcopy data
and copy-on-write data for a particular flashcopy logical drive.
v Base logical drive – A standard logical drive from which you create a flashcopy logical drive. The
term “base logical drive” is used only to show the relationship between a standard logical drive from
which you are taking the point-in-time image and a flashcopy logical drive.
v Primary logical drive – A standard logical drive in a Enhanced Remote Mirroring relationship. The
primary logical drive accepts host data transfers and stores application data. When you first create the
mirror relationship, data from the primary logical drive is copied in its entirety to the associated
secondary logical drive.
v Secondary logical drive – A standard logical drive in a Enhanced Remote Mirroring relationship that
maintains a mirror (or copy) of the data from its associated primary logical drive. The secondary
logical drive remains unavailable to host applications while mirroring is underway. In the event of a
disaster or a catastrophic failure of the primary site, a system administrator can promote the secondary
logical drive to a primary role.
v Mirror repository logical drive – A special logical drive in a Enhanced Remote Mirroring
configuration that is created as a resource for each controller in both the local storage subsystem and
the remote storage subsystem. The controller stores mirroring information on this logical drive,
4-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
including information about remote writes that are not yet complete. A controller can use this
information to recover from controller resets and accidental power shutdown of the storage
subsystems.
Note: FlashCopy Logical Drive and Enhanced Remote Mirroring are premium features that you must
activate before you can use them. For more information about FlashCopy logical drives, see Chapter 5,
“Using the FlashCopy Premium Feature,” on page 5-1. For more information about Enhanced Remote
Mirroring, see Chapter 6, “Using the Enhanced Remote Mirroring Premium Feature,” on page 6-1.
The number and capacity of the logical drives in your storage subsystem depends on the type of
controller in the storage subsystem. The following table lists the maximum values for the logical drives in
a storage subsystem by specific controllers.
Table 4-4. Logical Drive Specifications by Supported Controller Model
DS3200,
DS3300,
Specification DS3400 DS4200, DS4700 DS4800 DS5000
Maximum number of logical 256 1024 2048 2048
drives per storage subsystem
Maximum number of logical 256 256 256 256
drives per array
Maximum logical drive size (less See Table 4-3 on page 4-8.
12 GB for overhead)
Maximum number of disk drives See Table 4-3 on page 4-8.
per array using RAID 5
Maximum number of remote N/A 64 128 128
mirrors
Note: Addressable capacities greater than 2 TB are possible with some operating systems. Currently these
operating systems are Windows, Solaris 9, Solaris 10, AIX 5.2, AIX 5.3, HP-UX 11.23, and Linux 2.6.
A Windows operating system and a Linux 2.6 operating system using 500 GB disk drives can have a
maximum logical drive size of 112 TB (224 x 500) when controller firmware version 7.10.xx.xx or later is
installed in the DS4000 storage subsystem, or when controller firmware version 7.30.xx.xx is installed in
the DS5000 storage subsystem.
RAID Levels
The RAID level defines a storage architecture in which the storage capacity on the disk drives in a array
is separated into two parts: part of the capacity stores the user data, and the remainder stores redundant
or parity information about the user data. The RAID level that you choose determines how user data is
written to and retrieved from the disk drives. Using the script commands, you can define five RAID
levels: RAID 0, RAID 1, RAID 3, RAID 5, and RAID 6. Each level provides different performance and
protection features.
RAID 0 provides the fastest storage access but does not provide any redundant information about the
stored data. RAID 1, RAID 3, RAID 5, and RAID 6 write redundancy information to the disk drives to
provide fault tolerance. The redundancy information might be a copy of the data or an error-correcting
code that is derived from the data. In RAID 1, RAID 3, RAID 5, or RAID 6 configurations, if a disk drive
fails, the redundancy information can be used to reconstruct the lost data. Regardless of the RAID level
that you choose, you can configure only one RAID level across each array. All redundancy information
for a array is stored within the array. The following table lists the RAID levels and describes the
configuration capabilities of each level.
If a single disk drive fails in a RAID 3 array, all of the associated logical
drives become degraded, but the redundancy data lets the data be
reconstructed. If two or more disk drives fail, all of the associated
logical drives fail, and all data is lost.
5
High I/O mode – RAID 5 stripes both user data and redundancy data
(in the form of parity) across the disk drives. The equivalent of the
capacity of one disk drive is used for the redundancy data. RAID 5
works well for multiuser environments, such as databases or file system
storage, where typical I/O size is small, and a high proportion of read
activity exists.
If a single disk drive fails in a RAID 5 array, all of the associated logical
drives become degraded, and the redundancy data permits the data to
be reconstructed. If two or more disk drives fail, all of the associated
logical drives fail, and all data is lost.
4-10 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 4-5. RAID Level Configurations (continued)
RAID
Level Configuration
6
Data protection or continuous access mode – RAID 6 stripes both user
data and redundancy data (in the form of parity) across the disk drives.
A minimum of five disk drives are required for a RAID 6 array. The
equivalent capacity of two disk drives is used for the redundancy data.
Two different algorithms calculate redundancy data, which are in the
form of both a P parity and a Q parity.
RAID 6 works well for larger disk drive sizes. Recovery from a second
disk drive failure in the same array is possible. If two disk drives fail in
a RAID 6 array, all of the associated logical drives become degraded,
but the redundancy data permits the data to be reconstructed. If three
or more disk drives fail, all of the associated logical drives fail, and all
data is lost.
Hosts
A host is a computer that is attached to the storage subsystem for accessing the logical drives in the
storage subsystem. The host is attached to the storage subsystem through HBA host ports, which are
connectors on host bus adapter circuit boards. You can define specific logical drive-to-LUN mappings to
an individual host or assign the host to a host group that shares access to one or more logical drives.
Hosts are identified by names or labels that users choose. The host name can be any combination of
alphanumeric characters, hyphens, and underscores. The maximum length of the host name is 30
characters.
In addition to a host name, some script commands require you to identify a host by its “type.” A host
type identifies the operating system under which the host is running (such as Windows, Solaris, or
Linux). Specifying the host type lets the controllers in the storage subsystem adapt their behavior (such as
LUN reporting and error conditions) to the operating system of the host that is sending the information.
Host types are identified by a label or an index number that is generated by the controller firmware.
Host Groups
A host group is a topological element that you can define if you want to designate a collection of hosts
that will share access to the same logical drives. A host group is a logical entity. Host groups are
identified by names or labels that users choose. The host group name can be any combination of
alphanumeric characters with a maximum length of 30 characters.
The maximum number of HBA host ports that you can logically define for your storage subsystem
depends on the type of controller in the storage subsystem. The following table lists the maximum
number of HBA host ports that you can define.
Table 4-6. Maximum Number of HBA Host Ports per Controller
Controller Models Maximum Number of Host Ports
DS3200 64
DS3300 64
DS3400 64
DS4100 256
DS4300 256
DS4200 256 (before controller firmware
7.xx.xx.xx)
1024 (with controller firmware 7.xx.xx.xx
and higher)
DS4400 512
DS4500 512
DS4700 256 (before controller firmware
7.xx.xx.xx)
1024 (with controller firmware 7.xx.xx.xx
and higher)
DS4800 512 (before controller firmware
7.xx.xx.xx)
2048 (with controller firmware 7.xx.xx.xx
and higher)
DS5100 2048 (with controller firmware 7.xx.xx.xx
and higher)
DS5300 2048 (with controller firmware 7.xx.xx.xx
and higher)
4-12 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Configuring a Storage Subsystem
When you configure a storage subsystem, you want to maximize the data availability by making sure
that the data is quickly accessible while maintaining the highest level of data protection possible. The
speed by which a host can access data is affected by these items:
v The RAID level for the array
v The settings for the segment size and the cache size
v Whether the cache read prefetch capability is turned on or turned off
Data protection is determined by the RAID level, hardware redundancy (such as global hot spares), and
software redundancy (such as the Enhanced Remote Mirroring premium feature and the FlashCopy
Logical Drive premium feature).
In general, you configure a storage subsystem by defining a array and its associated RAID level, defining
the logical drives, and defining which hosts have access to the logical drives. This section explains how to
use the script commands to perform the general steps to create a configuration from an array of disk
drives.
The command that returns general information about the storage subsystem is the show
storageSubsystem command. This command returns information about the components and properties of
your storage subsystem, including these items:
v A detailed profile of the components and features in the storage subsystem
v The age of the battery
v The default host type (which is the current host type)
v Other host types that you can select
v The hot spare locations
v The identifiers for enabled features
v The logical component profiles and the physical component profiles
v The time to which both controllers are set
v The controller that currently owns each logical drive in the storage subsystem
To return the most information about the storage subsystem, run the show storageSubsystem command
with the profile parameter. This example shows the complete CLI command and script command
running on a Windows operating system:
c:\...\...\client>smcli 123.45.67.89 -c “show storageSubsystem profile;”
This example identifies the storage subsystem by the example IP address 123.45.67.89. You can also
identify the storage subsystem by name.
The show storageSubsystem profile command returns detailed information about the storage subsystem.
The information appears in several display screens. You might need to increase the size of your display
In this example, the name folder is the folder in which you choose to place the profile file, and
storageSubsystemprofile.txt is the name of the file. You can choose any folder and any file name.
Note: Attention: Possible loss of data – When you are writing information to a file, the script engine
does not check to determine if the file name already exists. If you choose the name of a file that already
exists, the script engine writes over the information in the file without warning.
Chapter 9, “Examples of Information Returned by the Show Commands,” on page 9-1 shows the type of
information returned. When you save the information to a file, you can use the information as a record of
your configuration and as an aid during recovery.
To return a brief list of the storage subsystem features and components, use the summary parameter. The
command looks like this example:
c:\...\...\client>smcli 123.45.67.89 -c “show storageSubsystem summary;”
Following is the type of information that is returned by the show storageSubsystem command with the
summary parameter.
PROFILE FOR STORAGE SUBSYSTEM: DS5300_middle (1/27/09 3:23:25 PM)
SUMMARY-----------------------------
Number of controllers: 2
Number of arrays: 5
RAID 6: Enabled
VolumeCopy: Disabled
Number of copies used: 0
Number of copies allowed: 0
Number of drives: 32
Mixed drive types: Enabled
Current drive type(s): Fibre (5), Fibre/FDE (21), Serial ATA (SATA) (6)
Total hot spare drives: 2
Standby: 2
In use: 0
4-14 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Drive Security: Enabled
Security key identifier: 27000000600A0B800029ECE60000DE9E4940E373
Access logical drive: LUN 31,31,31 (see Mappings section for details)
Default host OS: Windows 2000/Server 2003/Server 2008 Non-Clustered (Host OS index 2)
Current configuration
Firmware version: 07.50.00.00
NVSRAM version: N1818D53R1050V03
EMW version: 10.50.G5.02
AMW version: 10.50.G5.02
Pending configuration
Staged firmware download supported: Yes
Firmware version: None
NVSRAM version: None
Transferred on: None
Controller enclosure audible alarm: Disabled
CONTROLLERS-----------------------------
Number of controllers: 2
Status: Online
Current configuration
Firmware version: 07.50.00.00
Appware version: 07.50.00.00
Bootware version: 07.50.00.00
NVSRAM version: N1818D53R1050V03
Pending configuration
Firmware version: None
Appware version: None
Bootware version: None
NVSRAM version: None
4-16 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Data Cache Module
Status: Optimal
Location: Controller A, Slot 6
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196519
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Data Cache Module
Status: Optimal
Location: Controller A, Slot 7
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196523
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Data Cache Module
Status: Optimal
Location: Controller A, Slot 8
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196530
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Processor cache:
Total present: 2044 MB
Processor Cache Module
Status: Optimal
Location: Controller A, Slot 1
Capacity: 2,048 MB
Replacement Part number: Not Available
Manufacturer Part Number: Not Available
Part Number: Not Available
Serial number: Not Available
Manufacturer: Not Available
Date of manufacture: Not available
Cache Backup Device
Status: Optimal
Type: USB flash drive
Location: Controller A, Connector USB 4
Capacity: 3,919 MB
Product ID: TS4GUFM-V
Part number: Not Available
Serial number: 0000000000003B
Revision level: 0.00
Manufacturer: Not Available
Date of manufacture: Not available
Status: Optimal
Type: USB flash drive
Location: Controller A, Connector USB 3
Capacity: 3,919 MB
Product ID: TS4GUFM-V
Part number: Not Available
Serial number: 00000000000007
Revision level: 0.00
Manufacturer: Not Available
Date of manufacture: Not available
Host Interface Board
Status: Optimal
Location: Slot 2
Type: Fibre channel
Ethernet port: 1
Link status: Up
MAC address: 00:a0:b8:29:ed:8a
Negotiation mode: Auto-negotiate
Port speed: 10 Mbps
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.70.70
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Stateless
Local IP address: FE80:0000:0000:0000:02A0:B8FF:FE29:ED8A
Ethernet port: 2
Link status: Failed
MAC address: 00:a0:b8:29:ed:8b
Negotiation mode: Auto-negotiate
Port speed: Unknown
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.129.101
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Static
Local IP address: FE80:0000:0000:0000:0000:0000:0000:0000
4-18 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Data rate control: Auto
Link status: Up
4-20 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Part type: PM8032 revision 5
Status: Online
Current configuration
Firmware version: 07.50.00.00
Appware version: 07.50.00.00
Bootware version: 07.50.00.00
NVSRAM version: N1818D53R1050V03
Pending configuration
Firmware version: None
Appware version: None
Bootware version: None
NVSRAM version: None
Transferred on: None
Current ID (ALPA)
On drive channel 1: 124/0x2
Replacement part number: Not Available
Model name: 7000-88
Board ID: 7091
Submodel ID: 93
Product ID: 1818 FAStT
4-22 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Manufacturer: Samsung
Date of manufacture: January 29, 2007
Data Cache Module
Status: Optimal
Location: Controller B, Slot 15
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953CZ3-CD5
Part Number: Not Available
Serial number: 4076997606
Manufacturer: Samsung
Date of manufacture: January 29, 2007
Data Cache Module
Status: Optimal
Location: Controller B, Slot 16
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953CZ3-CD5
Part Number: Not Available
Serial number: 4076997562
Manufacturer: Samsung
Date of manufacture: January 29, 2007
Processor cache:
Total present: 2044 MB
Processor Cache Module
Status: Optimal
Location: Controller B, Slot 2
Capacity: 2,048 MB
Replacement Part number: Not Available
Manufacturer Part Number: Not Available
Part Number: Not Available
Serial number: Not Available
Manufacturer: Not Available
Date of manufacture: Not available
Cache Backup Device
Status: Optimal
Type: USB flash drive
Location: Controller B, Connector USB 3
Capacity: 3,919 MB
Product ID: TS4GUFM-V
Part number: Not Available
Serial number: 00000000000003
Revision level: 0.00
Manufacturer: Not Available
Date of manufacture: Not available
Status: Optimal
Type: USB flash drive
Location: Controller B, Connector USB 4
Capacity: 3,919 MB
Product ID: TS4GUFM-V
Part number: Not Available
Serial number: 00000000000049
Revision level: 0.00
Manufacturer: Not Available
Date of manufacture: Not available
Host Interface Board
Status: Optimal
Location: Slot 3
Type: Fibre channel
Number of ports: 4
Board ID: 0801
Replacement part number: Not Available
Part number: PN L2-25023-02
Serial number: SN SF84300021
Vendor: VN LSI
Date of manufacture: November 1, 2008
Host Interface Board
Ethernet port: 1
Link status: Up
MAC address: 00:a0:b8:29:ec:e6
Negotiation mode: Auto-negotiate
Port speed: 10 Mbps
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.70.71
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Stateless
Local IP address: FE80:0000:0000:0000:02A0:B8FF:FE29:ECE6
Ethernet port: 2
Link status: Failed
MAC address: 00:a0:b8:29:ec:e7
Negotiation mode: Auto-negotiate
Port speed: Unknown
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.129.102
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Stateless
Local IP address: FE80:0000:0000:0000:02A0:B8FF:FE29:ECE7
4-24 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Data rate control: Auto
Link status: Up
4-26 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Data rate control: Auto
Link status: Up
Topology: Fabric Attach
World-wide port identifier: 20:6f:00:a0:b8:29:ed:8a
World-wide node identifier: 20:0e:00:a0:b8:29:ed:8a
Part type: PM8032 revision 5
The summary information is also returned as the first section of information when you use the profile
parameter.
The show commands return information about the specific components of a storage subsystem. The
information returned by each of the show commands is the same as the information returned by the
show storageSubsystem profile command, but the information is constrained to the specific component.
For information about a command, refer to the page number shown.
v “Show Controller” on page 3-108
v “Show Drive” on page 3-122
v “Show Drive Channel Stats” on page 3-123
v “Show Storage Subsystem Host Topology” on page 3-134
v “Show Storage Subsystem LUN Mappings” on page 3-135
v “Show Logical Drive” on page 3-125
v “Show Array” on page 3-106
v “Show Logical Drive Reservations” on page 3-127
There are other commands that can help you learn about your storage subsystem. To see a list of the
commands, see Chapter 3, “Script Commands,” on page 3-1. These commands are organized by the
storage subsystem activities that the commands support, such as logical drive commands, host
commands, enclosure commands, and others.
Attention: Possible damage to the storage subsystem configuration – As soon as you run this
command, the existing storage subsystem configuration is deleted.
With controller firmware 7.xx.xx.xx and higher, this command supports two parameters that you can use
to limit the amount of configuration information removed:
v all – Removes the entire configuration of the storage subsystem, including security information and
identification information. Removing all of the configuration information returns the storage subsystem
to its initial state. (This is what the command will assume if no parameters are specified.)
v arrays – Removes the logical drive configuration and the array configuration, but leaves the rest of the
configuration intact.
Note: With controller firmware earlier than 7.xx.xx.xx,, there are no parameters. The default is the action
described for the all parameter.
If you want to create new arrays and logical drives within the storage subsystem, you can use the clear
storageSubsystem configuration command with the arrays parameter to remove existing arrays in a
pre-existing configuration. This action destroys the pre-existing configuration. Use the clear
storageSubsystem configuration command only when you create a new configuration.
When you use the autoConfigure storageSubsystem command, two symbol functions
(getAutoConfigCandidates and createAutoConfig) are used that let the client retrieve default settings for
the various automatic configuration parameters, change the settings, query what the results of those
changes would be and, finally, apply the desired parameters to create a configuration. The configurability
portion of this feature provides enhancements to the automatic array creation algorithms, which produce
arrays with improved performance and more information about disk drive and logical drive attributes so
the user can make better choices when configuring logical drives manually.
The arrayWidth parameter defines the number of unassigned disk drives that you want to use for each
new array.
The arrayCount parameter defines the number of new arrays that you want in the storage subsystem.
The LogicalDrivesPerArrayCount parameter defines the number of logical drives that you want in each
array.
The hotSpareCount parameter defines the number of hot spares that you want in each array.
The segmentSize parameter defines the amount of data, in KB, that the controller writes on a single disk
drive in a logical drive before writing data on the next disk drive. The smallest units of storage are data
blocks. A data block stores 512 bytes of data. The size of a segment determines how many data blocks
that it contains. An 8-KB segment holds 16 data blocks. A 64-KB segment holds 128 data blocks.
Important: For optimal performance in a multiuser database or file system storage environment, set the
segment size to minimize the number of disk drives that are needed to satisfy an I/O request.
Using a single disk drive for a single request leaves other disk drives available to simultaneously service
other requests. Valid segment size values are 8, 16, 32, 64, 128, 256, and 512.
Note: If you set the cache block size to 16, you cannot create a logical drive with a segment size of 8.
If the logical drive is for a single user with large I/O requests (such as multimedia), performance is
maximized when a single I/O request can be serviced with a single data stripe. A data stripe is the
segment size multiplied by the number of disk drives in the array that are used for data storage. In this
environment, multiple disk drives are used for the same request, but each disk drive is accessed only
once.
Valid values for the cacheReadPrefetch parameter are TRUE or FALSE. If you want to turn on cache read
prefetch, set the cacheReadPrefetch parameter to TRUE. If you want to turn off cache read prefetch, set
the cacheReadPrefetch parameter to FALSE.
The following table lists the default values for the segment size and cache read prefetch settings for
different storage subsystem uses.
Table 4-7. Default Values for Segment Size and Cache Read Prefetch
Storage Subsystem Use Segment Size (KB) Cache Read Prefetch
File system 128 TRUE
Database 128 TRUE
Multimedia 256 TRUE
After you have finished creating the arrays and the logical drives by using the autoConfigure
storageSubsystem command, you can further define the properties of the logical drives in a configuration
by using the set logicalDrive command. (For a description about how to further define your
configuration, see “Modifying Your Configuration” on page 4-34.)
Security Type
The securityType parameter is used to specify the security subsystems with Full Disk Encryption (FDE)
drives. A Disk Encryption Activation premium feature must be purchased and enabled before you can
take advantage of the FDE drive security feature. The minimum version of controller firmware that
supports FDE drive security features is 07.5x.xx.xx. If this parameter is set to none, the created arrays and
logical drives will not be encrypted. If the parameter is set to enabled, the arrays and logical drives will
have security enabled and encrypted.
With FDE, the controller firmware can create a key and activate the drive security feature. The drive
security feature encrypts data as the data is written to the drive and decrypts the data as the data is read
from the drive. Without the key created by the controller, the data written to the drive is inaccessible.
Before you can set the securityType parameter to capable or enabled, you must create a storage array
security key. Use the create storageArray securityKey command to create a storage array security key.
These commands are related to the security key:
v create storageArray securityKey
v set storageArray securityKey
v import storageArray securityKey
v export storageArray securityKey
v start secureErase (drive | drives)
v enable volumeGroup [volumeGroupName] security
v create hostPort identifier
4-30 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Example of the Auto Configuration Command
c:\...\...\client>smcli 123.45.67.89 -c “autoConfigure
storageSubsystem driveType=fibre raidLevel=5 arrayWidth=8
arrayCount=3 logicalDrivesPerArrayCount=4 hotSpareCount=2
segmentSize=8 cacheReadPrefetch=TRUE securityType=none;”
The command in this example creates a storage subsystem configuration by using Fibre Channel disk
drives set to RAID level 5. Three arrays are created, and each array consists of eight disk drives, which
are configured into four logical drives. The storage subsystem has two hot spares. The segment size for
each logical drive is 8 KB. The cache read prefetch is turned on, which causes additional data blocks to be
written into the cache.
You must have unassigned disk drives in the array. You do not need to assign the entire capacity of the
array to a logical drive.
Note: The capacity parameter, the owner parameter, the cacheReadPrefetch parameter, the segmentSize
parameter, and the enclosureLossProtect parameter are optional parameters (indicated by the items
inside the square brackets). You can use one or all of the optional parameters as needed to define your
configuration. If you choose not to use any of the optional parameters, the default values of the
parameters are used for your configuration.
The userLabel parameter is the name that you want to give to the logical drive. The logical drive name
can be any combination of alphanumeric characters, hyphens, and underscores. The maximum length of
the logical drive name is 30 characters. You must enclose the logical drive name with double quotation
marks (“ ”).
The drives parameter is a list of the disk drives that you want to use for the array. Enter the enclosure ID
and the slot ID of each disk drive that you want to use. Enclose the list in parentheses, separate the
enclosure ID value and the slot ID value of a disk drive with a comma, and separate each enclosure ID
and slot ID pair with a space. This example shows you how to enter enclosure ID values and slot ID
values:
(1,1 1,2 1,3 1,4 1,5)
The capacity parameter defines the size of the logical drive. You do not need to assign the entire capacity
of the disk drives to the logical drive. Later, you can assign any unused space to another logical drive.
The cacheReadPrefetch parameter and the segmentSize parameter are the same as those described for
the autoConfigure storageSubsystem command.
The enclosureLossProtect parameter defines enclosure loss protection for the array. (For a description of
how enclosure loss protection works, see “Enclosure Loss Protection” on page 4-33.)
The securityType parameter is used to specify the security level when creating arrays and logical drives
in storage subsystems with Full Disk Encryption (FDE) drives.
The command in this example automatically creates a new array and a logical drive with the name
Engineering_1. The array has a RAID level of 5 (RAID 5). The command uses six disk drives to construct
the array. The disk drives have a total logical drive capacity of 20 GB. If each disk drive has a capacity of
18 GB, the total capacity of all the assigned disks is 108 GB.
18 GB x 6 disk drives = 108 GB
Because only 20 GB is assigned to the logical drive, 88 GB remains available (as unconfigured capacity)
for other logical drives that a user can add to this array later.
108 GB - 20 GB subsystem size = 88 GB
Cache read prefetch is turned on, which causes additional data blocks to be written into the cache. The
segment size for each logical drive is 128 KB. Enclosure loss protection is set to TRUE, which prevents
any operations to disk drives in the expansion drawer if the expansion drawer fails. Hot spares are not
created for this new array. You must create hot spares after you run this command.
This command is similar to the previous create logicalDrive command in which users assign the disk
drives. The difference between this command and the previous one is that this version of the command
requires only the number and the type of disk drives you want to use in the array. You do not need to
enter a list of disk drives. All of the other parameters are the same. Enclosure loss protection is
performed differently when the Storage Manager software assigns the disk drives than when a user
assigns the disk drives. (For a description of the difference, see “Enclosure Loss Protection” on page 4-33.)
4-32 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
The command in this example creates the same logical drive as the example for the previous create
logicalDrive command in which a user assigns the disk drives. The difference is that a user does not
know which disk drives are assigned to this array.
Note: Parameters wrapped in square brackets or curly brackets are optional. You can use one or all of the
optional parameters as needed to define your configuration. If you choose not to use any of the optional
parameters, the default values of the parameter are provided for your configuration.
The array parameter is the number of the array in which you want to create a new logical drive. If you
do not know the array numbers on the storage subsystem, you can use the show allLogicalDrives
summary command to get a list of the logical drives and the arrays to which the logical drives belong.
The userLabel parameter is the name that you want to give to the logical drive. The logical drive name
can be any combination of alphanumeric characters, hyphens, and underscores. The maximum length of
the logical drive name is 30 characters. You must enclose the logical drive name with double quotation
marks (“ ”).
The freeCapacityArea parameter defines the free capacity area to use for the logical drive. If a array has
several free capacity areas, you can use this parameter to identify which free capacity area to use for
logical drive creation. You do not have to assign the entire capacity of the disk drives to the logical drive.
Later, you can assign any unused space to another logical drive.
The usage of the capacity parameter, the owner parameter, the cacheReadPrefetch parameter, and the
segmentSize parameter is the same as described in the previous examples of the create logicalDrive
command.
When you assign the disk drives, if you set enclosureLossProtect=TRUE and have selected more than
one disk drive from any one enclosure, the storage subsystem returns an error. If you set
enclosureLossProtect=FALSE, the storage subsystem performs operations, but the array that you create
does not have enclosure loss protection.
When the controller firmware assigns the disk drives, if enclosureLossProtect=TRUE the storage
subsystem posts an error if the controller firmware cannot provide disk drives that result in the new
array having enclosure loss protection. If enclosureLossProtect=FALSE, the storage subsystem performs
the operation even if it means that the array might not have enclosure loss protection.
Enclosure loss protection is not valid when creating logical drives on existing arrays.
The password parameter defines a password for the storage subsystem. Passwords provide added
security to a storage subsystem to help reduce the possibility of implementing destructive commands.
Attention: Possible data corruption or data loss – Implementing destructive commands can cause
serious damage, including data loss.
Unless you define a password for the storage subsystem, you can run all of the script commands. A
password protects the storage subsystem from any command that the controllers consider destructive. A
destructive command is any command that can change the state of the storage subsystem, such as logical
drive creation; cache modification; or reset, delete, rename, or change commands.
If you have more than one storage subsystem in a storage configuration, each storage subsystem has a
separate password. Passwords can have a maximum length of 30 alphanumeric characters. You must
enclose the password in double quotation marks (“ ”). This example shows how to use the set
storageSubsystem command to define a password:
c:\...\...\client>smcli 123.45.67.89 -c “set storageSubsystem
password=”1a2b3c4d5e”;”
Important: Password cannot be reset without current password– If you forget the storage subsystem
password, you cannot reset the password using Storage Manager. To reset the password in that situation,
you must contact your IBM support representative.
The defaultHostType parameter defines how the controllers in the storage subsystem will communicate
with the operating system on undefined hosts that are connected to the storage subsystem SAN. This
4-34 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
parameter defines the host type only for data I/O activities of the storage subsystem. This parameter
does not define the host type for the management station. The operating system can be Windows, Linux,
or Solaris.
For example, if you set the defaultHostType parameter to Linux, the controller communicates with any
undefined host if the undefined host is running a Linux operating system. Typically, you would need to
change the host type only when you are setting up the storage subsystem. The only time that you might
need to use this parameter is if you need to change how the storage subsystem behaves relative to the
hosts that are connected to it.
Before you can define the default host type, you need to determine what host types are connected to the
storage subsystem. To return information about host types that are connected to the storage subsystem,
use the show storageSubsystem command with the defaultHostType parameter or the hostTypeTable
parameter. This command returns a list of the host types with which the controllers can communicate.
This command does not return a list of the hosts. These examples show the use of the show
storageSubsystem command:
c:\...\...\client>smcli 123.45.67.89 -c “show storageSubsystem defaultHostType;”
c:\...\...\client>smcli 123.45.67.89 -c “show storageSubsystem hostTypeTable;”
This example shows how to define a specific default host type after displaying the host type table:
c:\...\...\client>smcli 123.45.67.89 -c “set storageSubsystem defaultHostType=xx;”
where xx is the host type index value. For value xx, refer to the previously-displayed host type table.
From the table, select the appropriate value for the host server that the LUN from the storage subsystem
is mapped to.
The cache acts as a buffer so that data transfers between the host and the disk drive do not need to be
synchronized. In read caching, the data for a read operation from the host might already be in the cache
from a previous operation, which eliminates the need to access the disk drives. The data stays in the read
cache until it is flushed. For write caching, a write operation stores data from the host in cache until it
can be written to the disk drives.
Important: Changing default cache settings is not recommended – IBM recommends that you do not
change the default cache setting values. Incorrect cache settings might severely affect the storage
subsystem performance.
The script command set provides two commands to define cache properties:
v set storageSubsystem
v set logicalDrive
Use the set storageSubsystem command to change the cache block size, the cache flush start value, and
the cache stop value. The command takes this form:
set storageSubsystem cacheBlockSize=cacheBlockSizeValue |
cacheFlushStart=cacheFlushStartSize |
cacheFlushStop=cacheFlushStopSize
You can enter one, two, or all three of the parameters on the command line.
To prevent data loss or corruption, the controller periodically writes cache data to the disk drives (flushes
the cache) when the amount of unwritten data in the cache reaches a predefined level, called a start
percentage. The controller also writes cache data to the disk drives when data has been in the cache for a
predetermined amount of time. The controller writes data to the disk drives until the amount of data in
the cache drops to a stop percentage level. Use the set storageSubsystem command to set the start value
and the stop value as percentages of the filled and unfilled, respectively, capacity of the cache. For
example, you can specify that the controller start flushing the cache when it reaches 80 percent full (the
default, which can be overridden) and stop flushing the cache when it reaches 84 percent empty. This
example shows how to set these parameters:
c:\...\...\client>smcli 123.45.67.89 -c “set storageSubsystem
cacheFlushStart=80 cacheFlushStop=84;”
Low start percentages and low stop percentages provide for maximum data protection. For both low start
percentages and low stop percentages, the chance that data requested by a read command is not in the
cache is increased. When the data is not in the cache, the cache hit percentage for writes and I/O requests
decreases. Low start values and low stop values also increase the number of writes that are necessary to
maintain the cache level. Increasing the number of writes increases the system overhead and further
decreases performance.
Use the set logicalDrive command to change settings for the cache flush modifier, cache without batteries
enabled, mirror cache enabled, the read ahead multiplier, read cache enabled, and write cache enabled.
Use this command to set properties for all of the logical drives or for a specific logical drive in a array.
The command takes this form:
set (allLogicalDrives | logicalDrive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN]
logicalDrive <wwID>) |
cacheFlushModifier=cacheFlushModifierValue |
cacheWithoutBatteryEnabled=(TRUE | FALSE) |
mirrorCacheEnabled=(TRUE | FALSE) |
readCacheEnabled=(TRUE | FALSE) |
writeCacheEnabled=(TRUE | FALSE) |
cacheReadPrefetch=(TRUE | FALSE)
The cacheFlushModifier parameter defines the amount of time that data stays in the cache before it is
written to the disk drives. The following table lists the values for the cacheFlushModifier parameter.
Table 4-8. Values for the cacheFlushModifier Parameter
Value Meaning
Immediate Data is flushed as soon as it is placed into the cache.
250 Data is flushed after 250 ms.
500 Data is flushed after 500 ms.
750 Data is flushed after 750 ms.
1 Data is flushed after 1 s.
1500 Data is flushed after 1500 ms.
4-36 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 4-8. Values for the cacheFlushModifier Parameter (continued)
Value Meaning
2 Data is flushed after 2 s.
5 Data is flushed after 5 s.
10 Data is flushed after 10 s.
20 Data is flushed after 20 s.
60 Data is flushed after 60 s (1 min.).
120 Data is flushed after 120 s (2 min.).
300 Data is flushed after 300 s (5 min.).
1200 Data is flushed after 1200 s (20 min.).
3600 Data is flushed after 3600 s (1 hr.).
Infinite Data in cache is not subject to any age or time constraints.
The data is flushed based on other criteria managed by the
controller.
This example shows how to set this parameter value for all of the logical drives in the storage subsystem:
c:\...\...\client>smcli 123.45.67.89 -c “set alllogicalDrives
cacheFlushModifier=10;”
Important: Do not set the value of the cacheFlushModifier parameter above 10 seconds. An exception is
for testing purposes. After running any tests in which you have set the values of the cacheFlushModifier
parameter above 10 seconds, return the value of the cacheFlushModifier parameter to 10 or less seconds.
The cacheWithoutBatteryEnabled parameter turns on or turns off the ability of a host to perform write
caching without backup batteries in a controller. To enable write caching without batteries, set this
parameter to TRUE. To disable write caching without batteries, set this parameter to FALSE. If you set
this parameter to TRUE, write caching continues, even when the controller batteries are completely
discharged, not fully charged, or not present. If you do not have an uninterruptible power supply (UPS)
and you enable this parameter, you can lose data if power to the storage subsystem fails.
Note: Attention: Possible loss of data – Because you can lose data when the
cacheWithoutBatteryEnabled parameter is enabled, IBM recommends that you do not enable this
parameter in a production environment.
The mirrorCacheEnabled parameter turns on or turns off write caching with mirroring. Write caching
with mirroring permits cached data to be mirrored across redundant controllers that have the same cache
size. Data written to the cache memory of one controller is also written to the cache memory of the
second controller. If one controller fails, the second controller can complete all outstanding write
operations.
Attention: Possible loss of data – If the mirrorCacheEnabled parameter is disabled and one of the
controllers fails, you might lose data that was cached in the failed controller memory but not yet written
to disk. Therefore, IBM recommends that you do not disable this parameter in a production environment.
The readCacheEnabled parameter turns on or turns off the ability of the host to read data from the
cache. Read caching enables read operations from the host to be stored in controller cache memory. If a
host requests data that is not in the cache, the controller reads the needed data blocks from the disk
drives and places them in the cache. Until the cache is flushed, all of the other requests for this data are
fulfilled with cache data rather than from a read, which increases throughput. To enable read caching, set
this parameter to TRUE. To disable read caching, set this parameter to FALSE. This example shows how
to set this parameter:
c:\...\...\client>smcli 123.45.67.89 -c “set logicalDrive
[\”Balance_04\”] readCacheEnabled=TRUE;”
The writeCacheEnabled parameter turns on or turns off the ability of the host to write data to the cache.
Write caching enables write operations from the host to be stored in cache memory. The logical drive data
in the cache is automatically written to the disk drives every 10 seconds. To enable write caching, set this
parameter to TRUE. To disable write caching, set this parameter to FALSE. This example shows how to
set this parameter:
c:\...\...\client>smcli 123.45.67.89 -c “set allLogicalDrives
writeCacheEnabled=TRUE;”
The cacheReadPrefetch parameter turns on or turns off the ability of the controller to read additional
data blocks into cache. When you turn on cache read prefetch, the controller copies additional data blocks
into cache while it is reading requested data blocks from a disk drive into cache. This action increases the
chance that a future request for data can be fulfilled from the cache, which improves the speed with
which data is accessed. The number of additional data blocks that the controller reads into cache is
determined by the storage subsystem configuration settings that you use. Cache read prefetch is
important for applications that use sequential I/O, such as multimedia applications.
Valid values for the cacheReadPrefetch parameter are TRUE or FALSE. If you want to turn on cache read
prefetch, set the cacheReadPrefetch parameter to TRUE. If you want to turn off cache read prefetch, set
the cacheReadPrefetch parameter to FALSE. This example shows how to set this parameter:
c:\...\...\client>smcli 123.45.67.89 -c “set logicalDrive
[\”Engineering_1\” \”Engineering_2\”] cacheReadPrefetch=TRUE;”
The lowest priority rate favors system performance, but the modification operation takes longer. The
highest priority rate favors the modification operation, but the system performance might be degraded.
4-38 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Use the set logicalDrive command to define the modification priority for a logical drive. The command
takes this form:
set (allLogicalDrives | logicalDrive [logicalDriveName] |
logicalDrives [logicalDriveName1 ... logicalDriveNameN] logicalDrive <wwID> |
accessLogicalDrive)
modificationPriority=(highest | high | medium | low | lowest)
This example shows how to use this command to set the modification priority for logical drives named
Engineering_1 and Engineering_2:
c:\...\...\client>smcli 123.45.67.89 -c “set logicalDrive
[\”Engineering_1\” \”Engineering_2\” modificationPriority=lowest;”
The modification rate is set to lowest so that system performance is not significantly reduced by
modification operations.
Enter the enclosure ID and the slot ID of each disk drive that you want to use. Enclose the list in square
brackets, separate the enclosure ID value and the slot ID value of a disk drive with a comma, and
separate each enclosure ID and slot ID pair with a space.
Attention: Possible loss of data – When information is written to a file, the script engine does not
check to determine if the file name already exists. If you choose the name of a file that already exists, the
script engine writes over the information in the file without warning.
You can choose to save the entire configuration or specific configuration features. This example shows
how to set this parameter value:
c:\...\...\client>smcli 123.45.67.89 -c “save storageSubsystem
configuration file=\”c:\\folder\\storageSubsystemconfig1.scr\”;”
In this example, the name folder is the folder in which you choose to place the profile file and
storageSubsystemconfig1.scr is the name of the file. You can choose any folder and any file name. The file
extension for a configuration file is .scr. The Storage Manager software uses this extension when it creates
the configuration file.
Based on information that you provide through the script commands, the storage management software
creates an empty FlashCopy repository logical drive and defines the mapping from a base logical drive to
the FlashCopy repository logical drive. The FlashCopy repository logical drive holds changed data that a
host writes to the base logical drive. When the FlashCopy repository logical drive is first created, it holds
only the metadata about the FlashCopy logical drive with which it is associated.
Note: When you first create a FlashCopy repository logical drive, briefly stop all of the write operations
to the base logical drive so that a stable image of the base logical drive is available.
You can read, write, and copy a FlashCopy logical drive. Data written by a host to the FlashCopy logical
drive is handled in the FlashCopy repository logical drive. When a write occurs to the base logical drive
of a FlashCopy logical drive, the new data also overwrites the appropriate FlashCopy repository logical
drive data. The following table lists the FlashCopy logical drive commands.
Table 5-2. FlashCopy Logical Drive Commands
Command Description
create flashcopyLogicalDrive This command creates a FlashCopy logical
drive.
recreate flashcopy This command starts a fresh copy-on-write
operation by using an existing FlashCopy
logical drive.
recreate flashcopy collection This command restarts multiple FlashCopy
logical drives as one batch operation using one
or many existing FlashCopy logical drives.
set (flashcopyLogicalDrive) This command defines the properties for a
FlashCopy logical drive and lets you rename a
FlashCopy logical drive.
stop flashcopy This command stops a copy-on-write
operation.
When you use the create FlashCopyLogicalDrive command to create a FlashCopy logical drive, the
minimum information that you need to provide is the standard logical drive that you want to use for the
base logical drive. When you create a FlashCopy logical drive by using minimum information, the
storage management software provides default values for the other property parameters that are required
for a completely defined FlashCopy logical drive.
5-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Creating a FlashCopy Logical Drive with User-Assigned Disk Drives
Creating a FlashCopy logical drive by assigning the disk drives provides flexibility in defining your
configuration by letting you choose from the available disk drives in your storage subsystem. When you
choose the disk drives for your FlashCopy logical drive, you automatically create a new array. You can
specify which disk drives to use and the RAID level for the new array. The command takes this form:
create flashcopyLogicalDrive baseLogicalDrive=”baseLogicalDriveName”
[repositoryRAIDLevel=(1 | 3 | 5 | 6)
(repositoryDrives=(enclosureID1,slotID1 ... enclosureIDn,slotIDn)
userLabel=”flashcopyLogicalDriveName”
warningThresholdPercent=percentValue
repositoryPercentOfBase=percentValue
repositoryUserLabel=”repositoryName”
repositoryFullPolicy=(failBaseWrites | failFlashCopy)]
[enclosureLossProtect=(TRUE | FALSE)]
This example shows a command in which users assign the disk drives:
c:\...\...\client>smcli
123.45.67.89 -c “create flashcopyLogicalDrive baseLogicalDrive=\”Mars_Spirit_4\”
repositoryRAIDLevel=5 repositoryDrives=(1,1 1,2 1,3 1,4 1,5);”
The command in this example creates a new FlashCopy of the base logical drive Mars_Spirit_4. The
FlashCopy repository logical drive consists of five disk drives that form a new array. The new array has a
RAID level of 5. This command also takes a FlashCopy of the base logical drive, which starts the
copy-on-write operation.
The command in this example creates a new FlashCopy for the base logical drive Mars_Spirit_4. The
FlashCopy repository logical drive is created in the same array as the base logical drive, which means
that the FlashCopy repository logical drive has the same RAID level as the base logical drive. This
command starts the copy-on-write operation.
This example shows a command in which the storage management software assigns the disk drives:
c:\...\...\client>smcli 123.45.67.89 -c “create
FlashCopyLogicalDrive baseLogicalDrive=\”Mars_Spirit_4\”
repositoryArray=2 freeCapacityArea=2;”
The command in this example creates a new FlashCopy repository logical drive in array 2. The base
logical drive is Mars_Spirit_4. The size of the FlashCopy repository logical drive is 4 GB. This command
also takes a FlashCopy of the base logical drive, starting the copy-on-write operation.
When you define the capacity of a FlashCopy repository logical drive, specify a size that is 20 percent of
the size of the base logical drive. In the previous example, the size of the FlashCopy repository logical
drive is set to 4 GB. The underlying assumption is that the base logical drive size is 20 GB (0.2 x 20 GB=
4 GB).
This example shows how to use a command in which users specify the number of disk drives:
c:\...\...\client>smcli 123.45.67.89 -c “create flashcopyLogicalDrive
baseLogicalDrive=\”Mars_Spirit_4\” repositoryRAIDLevel=5 repositoryDriveCount=3;”
The command in this example creates a new FlashCopy repository logical drive that consists of three disk
drives. Three disk drives comprise a new array that has a RAID level of 5. This command also takes a
FlashCopy of the base logical drive, which starts the copy-on-write operation.
User-Defined Parameters
Use the parameters in the create flashcopyLogicalDrive command to define the FlashCopy logical drive to
suit the requirements of your storage subsystem. The following table lists the parameters and briefly
describes what the parameters do.
5-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 5-3. FlashCopy Logical Drive Parameters
Parameter Description
driveType The type of disk drive that you want to use for the
FlashCopy repository logical drive. Valid disk drive
types are fibre, SATA, or SAS. This parameter works
only with the count-based repository method of
defining a FlashCopy logical drive.
repositoryArray The array in which you want to build the
FlashCopy repository logical drive. The default
value is to build the FlashCopy repository logical
drive in the same array as the base logical drive.
freeCapacityArea The amount of storage space that you want to use
for the FlashCopy repository logical drive. Free
storage space is defined in units of bytes, KB, MB,
GB, or TB.
userLabel The name that you want to give to the FlashCopy
logical drive. If you do not choose a name for the
FlashCopy logical drive, the software creates a
default name by using the base logical drive name.
For example, with a base logical drive name of
Mars_Spirit_4:
v When the base logical drive does not have a
FlashCopy logical drive, the default FlashCopy
logical drive name is Mars_Spirit_4-1.
v When the base logical drive already has n-1
number of FlashCopy logical drives, the default
name is Mars_Spirit_4-n.
repositoryUserLabel
The name that you want to give to the FlashCopy
repository logical drive. If you do not choose a
name for the FlashCopy repository logical drive, the
software creates a default name by using the base
logical drive name. For example, if the base logical
drive name is Mars_Spirit_4 and does not have an
associated FlashCopy repository logical drive, the
default FlashCopy repository logical drive name is
Mars_Spirit_4-R1. If the base logical drive already
has n-1 number of flashcopy repository logical
drives, the default name is Mars_Spirit_4-Rn.
warningThresholdPercent The percentage of the capacity that you will permit
the FlashCopy repository logical drive to get before
you receive a warning that the FlashCopy repository
logical drive is nearing full. The warning value is a
percentage of the total capacity of the FlashCopy
repository logical drive. The default value is 50,
which represents 50 percent of the total capacity.
(You can change this value later by using the set
flashcopyLogicalDrive command.)
repositoryPercentOfBase The size of the FlashCopy repository logical drive as
a percentage of the base logical drive size. The
default value is 20, which represents 20 percent of
the base logical drive size.
This example shows the create flashcopyLogicalDrive command that includes user-defined parameters:
c:\...\...\client>smcli 123.45.67.89 -c “create
flashcopyLogicalDrive baseLogicalDrive=\”Mars_Spirit_4\”
repositoryRAIDLevel=5 repositoryDriveCount=5
driveType=fibre userLabel=\”Mars_Spirit_4_snap1\”
repositoryUserLabel=\”Mars_Spirit_4rep1\”
warningThresholdPercent=75 repositoryPercentOfBase=40
repositoryFullPolicy=failSnapShot;”
One technique for naming the FlashCopy logical drive and the FlashCopy repository logical drive is to
add a hyphenated suffix to the original base logical drive name. The suffix distinguishes between the
FlashCopy logical drive and the FlashCopy repository logical drive. For example, if you have a base
logical drive with a name of Engineering Data, the FlashCopy logical drive can have a name of
Engineering Data-S1, and the FlashCopy repository logical drive can have a name of Engineering
Data-R1.
If you do not choose a unique name for either the FlashCopy logical drive or the FlashCopy repository
logical drive, the controllers create a default name by using the base logical drive name. These examples
are FlashCopy logical drive names that the controllers might create:
v If the base logical drive name is aaa and does not have a FlashCopy logical drive, the default
FlashCopy logical drive name is aaa1.
v If the base logical drive already has n-1 number of FlashCopy logical drives, the default name is aaa-n.
v If the base logical drive name is aaa and does not have a FlashCopy repository logical drive, the
default FlashCopy repository logical drive name is aaa-R1
v If the base logical drive already has n-1 number of FlashCopy repository logical drives, the default
name is aaa-Rn.
In the examples from the previous section, the user-defined FlashCopy logical drive name was
Mars_Spirit_4_snap1, and the user-defined FlashCopy repository logical drive name was
5-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Mars_Spirit_4_rep1. The default name that was provided by the controller for the FlashCopy logical drive
was Mars_Spirit_4-1. The default name that was provided by the controller for the FlashCopy repository
logical drive was Mars_Spirit_4-R1.
When you change the warning threshold percent and the FlashCopy repository full policy, you can apply
the changes to one or several FlashCopy logical drives with this command. This example shows how to
use the set (FlashCopy) logicalDrive command to change these properties on more than one FlashCopy
logical drive:
c:\...\...\client>smcli 123.45.67.89 -c “set logicalDrive
[\”Mars_Spirit_4-1\” \”Mars_Spirit_4-2\” \”Mars_Spirit_4-3\”
warningThresholdPercent=50
repositoryFullPolicy=failBaseWrites;”
If you no longer want copy-on-write operations to run, you can use the stop flashcopy logicalDrive
command to stop the copy-on-write operations. When you stop a FlashCopy logical drive, the FlashCopy
logicalDrive and the FlashCopy repository logical drive are still defined for the base logical drive. Only
copy-on-write has stopped. This example shows how to stop a FlashCopy logical drive:
c:\...\...\client>smcli 123.45.67.89 -c “stop flashcopy logicalDrives
[\”Mars_Spirit_4-2\” \”Mars_Spirit_4-3\”];”
When you stop the copy-on-write operations for a specific FlashCopy logical drive, only that FlashCopy
logical drive is disabled. All of the other FlashCopy logical drives stay in operation.
When you want to restart a copy-on-write operation, use the recreate flashcopy logicalDrive command or
the recreate flashcopy collection command. The recreate flashcopy logicalDrive command starts a fresh
copy-on-write operation by using an existing FlashCopy logical drive.
If you do not intend to use a FlashCopy logical drive again, you can delete the FlashCopy logical drive
by using the delete logicalDrive command. When you delete a FlashCopy logical drive, the associated
FlashCopy repository logical drive also is deleted.
5-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Chapter 6. Using the Enhanced Remote Mirroring Premium
Feature
The Enhanced Remote Mirroring premium feature provides for online, real-time replication of data
between storage subsystems over a remote distance. In the event of a disaster or a catastrophic failure on
one storage subsystem, you can promote the second storage subsystem to take over responsibility for
computing services. Enhanced Remote Mirroring is designed for extended storage environments in which
the storage subsystems that are used for Enhanced Remote Mirroring are maintained at separate sites.
Logical drives on one storage subsystem are mirrored to logical drives on another storage subsystem
across a fabric SAN. Data transfers can be synchronous or asynchronous. You choose the method when
you set up the remote-mirror pair. The data transfers occur at Fibre Channel speeds to maintain data on
the different storage subsystems. Because Enhanced Remote Mirroring is storage based, it does not
require any server overhead or application overhead.
Note: Enhanced Remote Mirroring is not supported in DS3000 storage subsystem configurations.
Table 6-1. Maximum Number of Defined Mirrors
Maximum Number of Defined
Controller Model Mirrors
DS3200, DS3300, DS3400, DS3500 Supported ONLY in a co-existence
environment with DS4000, or
DS5000 storage subsystems
DS4300 32
DS4400 64
DS4500 64
DS4700 64
DS4800 128
DS5100 128
DS5300 128
The controller owner of the primary logical drive initiates remote writes to the secondary logical drive to
keep the data on the two logical drives synchronized.
The secondary logical drive maintains a mirror (or copy) of the data on its associated primary logical
drive. The controller owner of the secondary logical drive receives remote writes from the controller
owner of the primary logical drive but will not accept host write requests. Hosts are able to read from the
secondary logical drive, which appears as read-only.
In the event of a disaster or a catastrophic failure at the primary site, you can perform a role reversal to
promote the secondary logical drive to a primary role. Hosts then are able to read from and write to the
newly promoted logical drive, and business operations can continue.
When you activate the Enhanced Remote Mirroring premium feature on the storage subsystem, you
create two mirror repository logical drives, one for each controller in the storage subsystem. An
individual mirror repository logical drive is not needed for each remote mirror.
When you create the mirror repository logical drives, you specify the location of the logical drives. You
can either use existing free capacity, or you can create a array for the logical drives from unconfigured
capacity and then specify the RAID level.
Because of the critical nature of the data being stored, do not use RAID 0 as the RAID level of mirror
repository logical drives. The required size of each logical drive is 128 MB, or 256 MB total for both
mirror repository logical drives of a dual-controller storage subsystem. In previous versions of the
Enhanced Remote Mirroring feature, the mirror repository logical drives required less disk storage space
and needed to be upgraded to use the maximum amount of mirror relationships.
Mirror Relationships
Before you create a mirror relationship, you must enable the Enhanced Remote Mirroring premium
feature on both the primary storage subsystem and the secondary storage subsystem. You must also
create a secondary logical drive on the secondary site if one does not already exist. The secondary logical
drive must be a standard logical drive of equal or greater capacity than the associated primary logical
drive.
When secondary logical drives are available, you can establish a mirror relationship in the storage
management software by identifying the primary logical drive and the storage subsystem that contains
the secondary logical drive.
When you first create the mirror relationship, a full synchronization automatically occurs, with data from
the primary logical drive copied in its entirety to the secondary logical drive.
6-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Data Replication
The controllers manage data replication between the primary logical drive and the secondary logical
drive. This process is transparent to host machines and applications. This section describes how data is
replicated between the storage subsystems that are participating in Enhanced Remote Mirroring. This
section also describes the actions taken by the controller owner of the primary logical drive if a link
interruption occurs between storage subsystems.
Write Modes
When the controller owner of the primary logical drive receives a write request from a host, the controller
first logs information about the write to a mirror repository logical drive, and then writes the data to the
primary logical drive. The controller then initiates a remote write operation to copy the affected data
blocks to the secondary logical drive at the secondary storage subsystem.
The Enhanced Remote Mirroring feature provides two write mode options that affect when the I/O
completion indication is sent back to the host: Synchronous and Asynchronous.
Metro Mirror
Metro mirror provides the highest level security for full data recovery from the secondary storage
subsystem in the event of a disaster. Metro mirror does reduce host I/O performance. When this write
mode is selected, host write requests are written to the primary logical drive and then copied to the
secondary logical drive. After the host write request has been written to the primary logical drive and the
data has been successfully copied to the secondary logical drive, the controller removes the log record on
the mirror repository logical drive. The controller then sends an I/O completion indication back to the
host system. Metro mirror is selected as the default value and is the recommended write mode.
Global Copy
Global copy offers faster host I/O performance but does not guarantee that a copy operation has
successfully completed before processing the next write request. When you use Global copy, host write
requests are written to the primary logical drive. The controller then sends an “I/O complete” indication
back to the host system, without acknowledging that the data has been successfully copied to the
secondary (remote) storage subsystem.
When using Global copy, write requests are not guaranteed to be completed in the same order on the
secondary logical drive as they are on the primary logical drive. If the order of write requests is not
retained, data on the secondary logical drive might become inconsistent with the data on the primary
logical drive. This event could jeopardize any attempt to recover data if a disaster occurs on the primary
storage subsystem.
Global Mirror
When multiple mirror relationships exist on a single storage subsystem and have been configured to use
Global copy and to preserve consistent write order, they are considered to be an interdependent group
that is in the Global mirror. The data on the secondary, remote storage subsystem cannot be considered
fully synchronized until all of the remote mirrors that are in the Global mirror are synchronized.
If one mirror relationship in the group becomes unsynchronized, all of the mirror relationships in the
group become unsynchronized. Any write activity to the remote, secondary storage subsystems is
prevented to protect the consistency of the remote data set.
When communication is restored between the controller owner of the primary logical drive and the
controller owner of the secondary logical drive, a resynchronization takes place. This resynchronization
happens automatically, or it must be started manually, depending on which write mode you chose when
setting up the mirror relationship. During the resynchronization, only the blocks of data that have
changed on the primary logical drive during the link interruption are copied to the secondary logical
drive. After the resynchronization starts, the mirrored pair transitions from an Unsynchronized status to a
Synchronization in Progress status.
The primary controller also marks the mirrored pair as unsynchronized when a logical drive error on the
secondary side prevents the remote write from completing. For example, an offline secondary logical
drive or a failed secondary logical drive can cause the remote mirror to become unsynchronized. When
the logical drive error is corrected (the secondary logical drive is placed online or recovered to an
Optimal status), then synchronization is required. The mirrored pair then transitions to a Synchronization
in Progress status.
Resynchronization
Data replication between the primary logical drive and the secondary logical drive in a mirror
relationship is managed by the controllers and is transparent to host machines and applications. When
the controller owner of the primary logical drive receives a write request from a host, the controller first
logs information about the write to a mirror repository logical drive. The controller then writes the data
to the primary logical drive. The controller then initiates a write operation to copy the affected data to the
secondary logical drive on the remote storage subsystem.
If a link interruption or a logical drive error prevents communication with the secondary storage
subsystem, the controller owner of the primary logical drive transitions the mirrored pair into an
Unsynchronized status. The controller owner then sends an I/O completion to the host sending the write
request. The host can continue to issue write requests to the primary logical drive, but remote writes to
the secondary logical drive do not take place.
When connectivity is restored between the controller owner of the primary logical drive and the
controller owner of the secondary logical drive, the logical drives must be resynchronized by copying the
blocks of data that changed during the interruption to the secondary logical drive. Only the blocks of
data that have changed on the primary logical drive during the link interruption are copied to the
secondary logical drive.
Attention: Possible loss of data access – Any communication disruptions between the primary storage
subsystem and the secondary storage subsystem while resynchronization is underway could result in a
mix of new data and old data on the secondary logical drive. This condition would render the data
unusable in a disaster recovery situation.
Before you create any mirror relationships, logical drives must exist at both the primary site and the
secondary site. The logical drive that resides on the local storage subsystem is the primary logical drive.
Similarly, the logical drive that resides on the remote storage subsystem is the secondary logical drive. If
neither the primary logical drive or the secondary logical drive exist, you must create these logical drives.
When you create the secondary logical drive, you must consider these items:
6-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
v The secondary logical drive must be of equal or greater size than the primary logical drive.
v The RAID level of the secondary logical drive does not have to be the same as the primary logical
drive.
Performance Considerations
Consider these performance issues when you create mirror relationships:
v The controller owner of a primary logical drive performs a full synchronization in the background
while processing local I/O writes to the primary logical drive and associated remote writes to the
secondary logical drive. Because the full synchronization diverts controller processing resources from
I/O writes, full synchronization can have a performance impact to the host application.
v To reduce the performance impact, you can set the synchronization priority level to determine how the
controller owner will prioritize the full synchronization relative to other I/O activity. To set the
synchronization priority level, consider these guidelines:
– A full synchronization at the lowest synchronization priority level takes approximately eight times
as long as a full synchronization at the highest synchronization priority level.
– A full synchronization at the low synchronization priority level takes approximately six times as
long as a full synchronization at the highest synchronization priority level.
– A full synchronization at the medium synchronization priority level takes approximately
three-and-a-half times as long as a full synchronization at the highest synchronization priority level.
– A full synchronization at the high synchronization priority level takes approximately twice as long
as a full synchronization at the highest synchronization priority level.
v When the mirrored logical drive pair is in a Synchronization in Progress state, all host write data is
copied to the remote system. Both controller I/O bandwidth and I/O latency can affect host write
performance. Host read performance is not affected by the mirroring relationship.
v The time that it takes for data to be copied from the primary logical drive to the secondary logical
drive might impact overall performance. This impact is primarily caused by the delay and system
resource required for copying data to the remote mirror. Some delay might also occur because of the
limit to the number of simultaneous writes.
where the file parameter is the complete file path and file name of a valid Feature Key file. Enclose the
file path and the file name in double quotation marks (“ ”). Valid file names for Feature Key files end
with a .key extension.
The free capacity that you select for the mirror repository logical drive must have a total of 256 MB of
capacity available. Two mirror repository logical drives are created on this capacity, one for each
controller. If you enter a value for the repository storage space that is too small for the mirror repository
logical drives, the firmware returns an error message that gives the amount of space needed for the
mirror repository logical drives. The command does not try to activate the Enhanced Remote Mirroring
feature. You can re-enter the command using the value from the error message for the repository storage
space value.
The RAID level that you choose for the mirror repository logical drive has these constraints:
v RAID 0 – You cannot use RAID 0.
v RAID 1 – The number of drives must be an even number. If you select an odd number of drives, the
controller firmware returns an error.
v RAID 3 or RAID 5 – You must have a minimum of three disk drives in the array.
v RAID 6 – You must have a minimum of five disk drives in the array.
The activate storageSubsystem feature=remoteMirror command provides three methods for defining the
disk drives for your mirror repository logical drive:
v You define each disk drive for the mirror repository logical drive by its enclosure ID and its slot ID.
v You define a array in which the mirror repository logical drive resides. You can optionally define the
capacity of the mirror repository logical drive.
v You define the number of disk drives, but not specific disk drives, for the mirror repository logical
drive.
Activating the Enhanced Remote Mirroring Feature with User-Assigned Disk Drives
Activating the Enhanced Remote Mirroring feature by assigning the disk drives provides flexibility in
defining your configuration by letting you choose from the available disk drives in your storage
subsystem. Choosing the disk drives for your remote mirror automatically creates a new array. You can
specify which disk drives to use and the RAID level for the new array.
This example shows a command in which you assign the disk drives:
c:\...\...\client>smcli 123.45.67.89 -c “activate
storageSubsystem feature=remoteMirror repositoryRAIDLevel=5
repositoryDrives=(1,1 1,2 1,3 1,4 1,5);”
The command in this example creates a new mirror repository logical drive consisting of five disk drives
that forms a new array. The new array has a RAID level of 5.
6-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Activating the Enhanced Remote Mirroring Feature with Software-Assigned Disk
Drives
With this version of the activate storageSubsystem feature=remoteMirror command, you choose an
existing array in which to place the mirror repository logical drive. The storage management software
then determines which disk drives to use. You can also define how much space to assign to the mirror
repository logical drive. Because you are using an existing array, the RAID level for the mirror repository
logical drive defaults to the RAID level of the array in which you place it. You cannot define the RAID
level for the mirror repository logical drive.
This example shows a command in which the software assigns the disk drives:
c:\...\...\client>smcli 123.45.67.89 -c “activate storageSubsystem
feature=remoteMirror repositoryArray=2 freeCapacityArea=2;”
The command in this example creates a new mirror repository logical drive in array 2 using the second
free capacity area.
With this version of the activate storageSubsystem feature=remoteMirror command, you must specify the
number of disk drives and the RAID level that you want for the mirror repository logical drive. This
version of the command creates a new array. For this command to work, you must have disk drives in
the storage subsystem that are not assigned to a array.
activate storageSubsystem feature=remoteMirror
repositoryRAIDLevel=(1 | 3 | 5 | 6)
repositoryDriveCount=numberOfDrives
[driveType=(fibre | SATA | SAS |)]
[enclosureLossProtect=(TRUE | FALSE)]
This example shows a command in which you specify the number of disk drives:
c:\...\...\client>smcli 123.45.67.89 -c “activate storageSubsystem f
eature=remoteMirror repositoryRAIDLevel=5 repositoryDriveCount=5
driveType=fibre;”
The command in this example creates a new mirror repository logical drive by using five
software�selected disk drives for the mirror repository logical drive. The mirror repository logical drive
has a RAID level of 5. The type of drive for the mirror repository logical drive is Fibre Channel.
where logicalDriveName is the name of the logical drive that you want to use for the primary logical
drive, and StorageSubsystemName is the remote storage subsystem that contains possible candidates for the
secondary logical drive. Enclose both the logical drive name and the storage subsystem name in double
quotation marks (“ ”).
Note: You can use the optional parameters as needed to help define your configuration.
The command in this example creates a remote mirror in which the primary logical drive is named
Jan_04_Account on the local storage subsystem. The secondary logical drive is named Jan_04_Account_B
on the remote storage subsystem that is named Tabor. The names used in this example are similar, but
that is not a requirement for the logical drive names in a remote-mirror pair. In this example, the remote
storage subsystem has a password that you must enter when making any change to the storage
subsystem configuration. Creating a remote-mirror pair is a significant change to a storage subsystem
configuration. Setting the write mode to synchronous and the synchronization priority to highest means
that host write requests are written to the primary logical drive and then immediately copied to the
secondary logical drive. These actions help to make sure that the data on the secondary logical drive is as
accurate a copy of the data on the primary logical drive as possible. The highest synchronization priority
does, however, use more system resources, which can reduce system performance.
6-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
After you have created a remote mirror, you can see the progress of data synchronization between the
primary logical drive and the secondary logical drive by running the show remoteMirror
synchronizationProgress command. This command shows the progress as a percentage of data
synchronization that has completed.
You can apply the changes to one or several remote mirror pairs by using this command. Use the
primary logical drive name to identify the remote mirror pairs for which you are changing the properties.
When a mirror relationship is in a suspended state, the primary logical drive does not make any attempt
to contact the secondary logical drive. Any writes to the primary logical drive are persistently logged in
the mirror repository logical drives. After the mirror relationship resumes, any data that is written to the
primary logical drive is automatically written to the secondary logical drive. Only the modified data
blocks on the primary logical drive are written to the secondary logical drive. Full synchronization is not
required.
Important: If you suspend a remote mirror that is set up in the Global mirror, you suspend all remote
mirror pairs within the group. You can then resume mirror operations for any of the individual
remote-mirror pairs that are in the group.
The mirror relationship remains suspended until you use the resume remoteMirror command to restart
synchronization activities. This command restarts data transfers between a primary logical drive and a
secondary logical drive in a mirror relationship after the mirror has been suspended or unsynchronized.
The writeConsistency parameter in this command operates the same as in the previous command.
When you run this command, use the name of the primary logical drive of the remote mirror pair.
To re-establish the link between a primary logical drive and a secondary logical drive, use the create
remoteMirror command.
Attention: Possible loss of data access – Deleting a primary logical drive or a secondary logical drive
permanently removes the data from the storage subsystem.
6-10 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Disabling the Enhanced Remote Mirroring Feature
You disable the Enhanced Remote Mirroring feature to prevent the new mirror relationship from being
created. When you disable the Enhanced Remote Mirroring feature, the feature is in a Disabled/Active
state. In this state, you can maintain and manage previously existing mirror relationships; however, you
cannot create new relationships. To disable the Enhanced Remote Mirroring feature, use this command:
disable storageSubsystem feature=remoteMirror
When you run the Enhanced Remote Mirroring feature with other premium features, you must consider
the requirements of the other premium features to help make sure that you set up a stable storage
subsystem configuration.
In addition to running with the premium features, you can also run the Enhanced Remote Mirroring
feature while running Dynamic Logical Drive Expansion (DVE).
Storage Partitioning
Storage Partitioning is a premium feature that lets hosts share access to logical drives in a storage
subsystem. You create a storage partition when you define any of these logical components in a storage
subsystem:
v A host
v A host group
v A logical drive-to-LUN mapping
The logical drive-to-LUN mapping lets you define which host group or host has access to a particular
logical drive in the storage subsystem.
When you create storage partitions, define the partitions after you have created the primary logical drive
and the secondary logical drive in a Enhanced Remote Mirroring configuration. The storage partition
definitions for the primary storage subsystem and the secondary storage subsystem are independent of
each other. If these definitions are put in place while the logical drive is in a secondary role, the
administrative effort associated with the site recovery is reduced if it becomes necessary to promote the
logical drive to a primary role.
In this version of the storage management software, you can create FlashCopy logical drives based on the
primary logical drive or secondary logical drive of a remote mirror.
VolumeCopy
The VolumeCopy premium feature copies data from one logical drive (the source logical drive) to another
logical drive (the target logical drive) within a single storage subsystem. You can use this feature to
perform these functions:
v Copy data from arrays that use smaller-capacity disk drives to arrays that use larger-capacity disk
drives
v Back up data
v Restore FlashCopy logical drive data to the base logical drive.
You can use a primary logical drive in a remote mirror as a source logical drive or a target logical drive
in a VolumeCopy. You cannot use a secondary logical drive as a source logical drive or a target logical
drive.
Note: If you start a role reversal during a copy-in-progress, the copy fails and cannot be restarted.
This modification operation is considered to be “dynamic” because you can continually access data on
arrays, logical drives, and disk drives throughout the entire operation.
A DVE operation can be performed on a primary logical drive or a secondary logical drive of a mirror
relationship.
Note: Although the storage management software indicates that the logical drive has increased capacity,
its usable capacity is the size of the smaller of the primary logical drive or the secondary logical drive.
6-12 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
before processing the next write request. With Global copy, you cannot make sure that a logical drive, or
collection of logical drives, at a secondary site ever reach a consistent, recoverable state.
The Asynchronous Enhanced Remote Mirroring utility enables you to bring a collection of asynchronous
remote logical drives into a mutually consistent and recoverable state. You can choose to run the utility
based on application demands, link state and speed, and other factors that are relevant to your
environment.
Note: The Asynchronous Enhanced Remote Mirroring utility does not check to make sure that
concurrently running instances of the utility are not trying to process the same logical drives and mirrors.
If you choose to simultaneously run more than one instance of the Asynchronous Enhanced Remote
Mirroring utility, you must make sure that the configuration files that you choose to run do not list the
same logical drives and mirrors.
where configuration_file is the file that you provide as input. The configuration file specifies the Enhanced
Remote Mirroring logical drives that you want to synchronize by using the utility. When you create the
configuration file, use these conditions to define the logical drives in the file:
v All the primary logical drives in a logical drive set must belong to the same storage subsystem.
v The maximum number of logical drive sets that you can specify in the file is four.
v The maximum number of mirrored pairs that you can specify as part of a consistency group is eight.
The optional parameter, -d, lets you specify a file to which you can send information regarding how the
utility runs. In this example, the file name is debug_file. The debug file contains trace information that can
be reviewed by a Customer and Technical Support representative to determine how well the
Asynchronous Enhanced Remote Mirroring utility has run.
Note: Depending on the location of the configuration file and the debug file, you must specify the
complete path with the file name.
To run the Asynchronous Enhanced Remote Mirroring utility, you must enter the asyncRVMUtil
command from the command line. Because UNIX operating systems are case sensitive, you must type the
command exactly as shown. On Windows operating systems, you can type the command in all
uppercase, in all lowercase, or in mixed case.
Note: To use the Asynchronous Enhanced Remote Mirroring utility, you must be managing the storage
subsystem by using the command line interface, not the graphical user interface of DS Storage Manager.
Configuration Utility
The configuration file is an ASCII flat text file that provides the information for the Enhanced Remote
Mirroring synchronization used by the Asynchronous Enhanced Remote Mirroring utility. The file defines
the mirror logical drive sets to be synchronized. All of the mirror logical drives in the logical drive sets
defined in the configuration file are run collectively to create a recoverable image. If any one of the
mirrors in the logical drive set fails, the operation is stopped for this logical drive set and carried on to
the next logical drive set that is listed in the configuration file.
6-14 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
primarySpec ::= "Primary" "=" LogicalDriveSpec
secondarySpec ::= "Secondary" "=" LogicalDriveSpec
FlashCopySpec ::= "Copy" "=" logicalDriveSpec
logicalDriveSpec ::= storageSubsystemName"."logicalDriveUserLabel
In this syntax, items enclosed in double quotation marks (“ ”) are terminal symbols. Items separated by a
vertical bar (|) are alternative values (enter one or the other, but not both). Items enclosed in curly braces
({ }) are optional (you can use the item zero or more times).
Note: Names and labels can be any characters that are defined as appropriate for your operating system.
The maximum length for a name or label is 30 characters. If the name or label contains special characters
(as defined by the operating system) or period characters, you must enclose the name or label in double
quotation marks (“ ”). You can, optionally, enclose the name or label in double quotation marks at any
time.
Important: In the Asynchronous Enhanced Remote Mirroring utility configuration file, you must specify
the primary logical drive, the secondary logical drive, and the copy (FlashCopy) logical drive. The utility
does not make sure that the secondary logical drive is correct for the Enhanced Remote Mirroring
relationship. The utility also does not make sure that the FlashCopy logical drive is actually a FlashCopy
for the secondary logical drive. You must make sure that these logical drives are correct. If the logical drives
are not correct, the utility will run, but the logical drives will not be consistent. For each mirror, the
secondary logical drive and the copy logical drive must reside on the same storage subsystem.
This example shows a configuration file for the Asynchronous Enhanced Remote Mirroring utility.
Log{ file="d:\rvm-consistency.log" }
LogicalDriveSet "set1" {
optimalWaitTimeLimit = 15
Mirror {
Primary = LosAngelesSubsystem.PayrollLogicalDrive
Secondary = NewYorkSubsystem.PayrollLogicalDrive
Copy = NewYorkSubsystem.PayrollLogicalDriveImage
}
LogicalDriveSet "set2" {
Mirror {
Primary = BostonSubsystem.HRLogicalDrive
Secondary = LosAngelesSubsystem.HRLogicalDrive
Copy = LosAngelesSubsystem.HRLogicalDriveImage
}
}
6-16 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Chapter 7. Using the VolumeCopy Premium Feature
The VolumeCopy premium feature lets you copy data from one logical drive (the source) to another
logical drive (the target) in a single storage subsystem. You can use this feature to perform these tasks:
v Back up data
v Copy data from arrays that use smaller-capacity disk drives to arrays using greater-capacity disk drives
v Restore FlashCopy logical drive data to the associated base logical drive
Tip: Because of this restriction, IBM strongly recommends using a FlashCopy version of the logical drive
as the source for the VolumeCopy, rather than using the original logical drive as the source. If you use
the FlashCopy as the source for the VolumeCopy operation, then I/O operations to the original logical
drive can continue.
While a VolumeCopy is In Progress, the same controller must own both the source logical drive and the
target logical drive. If one controller does not own both the source logical drive and the target logical
drive before creating the VolumeCopy, ownership of the target logical drive is automatically transferred
to the controller that owns the source logical drive. When the VolumeCopy is finished or stopped,
ownership of the target logical drive is restored to its preferred controller. If ownership of the source
logical drive changes while a VolumeCopy is running, ownership of the target logical drive also changes.
After the VolumeCopy completes, the source logical drive becomes available to host applications for write
requests. The target logical drive automatically becomes read only to hosts, and write requests to the
target logical drive are rejected.
Attention: Possible loss of data access – A VolumeCopy overwrites data on the target logical drive.
Before you start a new operation, make sure that you no longer need the old data, or you have backed
up the old data on the target logical drive.
While the VolumeCopy has a status of In Progress, Pending, or Failed, the controllers reject read and
write requests to the target logical drive. After the VolumeCopy operation is finished, the target logical
drive automatically becomes read only to the hosts, and write requests to the target logical drive are
rejected. You can change the Read-Only attribute after the VolumeCopy has completed or has been
stopped. (For more information about the Read-Only attribute, see “Viewing VolumeCopy Properties” on
page 7-6.)
The following logical drives are not valid target logical drives:
v The base logical drive of an active FlashCopy logical drive
v A FlashCopy logical drive
v A mirror repository logical drive
v A FlashCopy repository logical drive
v A secondary logical drive in a remote-mirror pair
v A failed logical drive
v A missing logical drive
v A logical drive with a status of Degraded
v A logical drive that is currently in a modification operation
v A logical drive that is holding a SCSI-2 reservation or a persistent reservation
v A logical drive that is a source logical drive or a target logical drive in another VolumeCopy that has a
status of In Progress, Pending, or Failed
To determine which logical drives have reservations, run the show (logicalDrive) reservations command.
To remove a reservation, run the clear (logicalDrive) reservations command.
7-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Storage Subsystem Performance
During a VolumeCopy operation, the resources of the storage subsystem might be diverted from
processing I/O activity to completing a VolumeCopy, which might affect the overall performance of the
storage subsystem.
When you create a new VolumeCopy, you define the copy priority to determine how much controller
processing time is allocated for a VolumeCopy compared with I/O activity.
Copy priority has five relative settings ranging from highest to lowest. The highest priority rate supports
the VolumeCopy, but I/O activity might be affected. The lowest priority rate supports I/O activity, but
the VolumeCopy takes longer. You define the copy priority when you create the VolumeCopy pair. You
can redefine the copy priority later by using the set volumeCopy command. You can also redefine the
VolumeCopy priority when you recopy a logical drive.
Restrictions
These restrictions apply to the source logical drive, the target logical drive, and the storage subsystem:
v While a VolumeCopy operation has a status of In Progress, Pending, or Failed, the source logical drive
is available for read activity only. After the VolumeCopy finishes, read activity from and write activity
to the source logical drive is permitted.
v A logical drive can be selected as a target logical drive for only one VolumeCopy at a time.
v The maximum allowable number of VolumeCopies per storage subsystem depends upon the storage
subsystem configuration.
v A logical drive that is reserved by the host cannot be selected as a source logical drive or as a target
logical drive.
v A logical drive with a status of Failed cannot be used as a source logical drive or as a target logical
drive.
v A logical drive with a status of Degraded cannot be used as a target logical drive.
v You cannot select a logical drive that is participating in a modification operation as a source logical
drive or as a target logical drive. Modification operations include Dynamic Capacity Expansion (DCE),
Dynamic RAID Level Migration (DRM), Dynamic Segment Sizing (DSS), Dynamic Volume Expansion
(DVE), and defragmenting a array.
VolumeCopy Commands
The following table lists the VolumeCopy commands and briefly describes what the commands do.
Table 7-1. VolumeCopy Commands
Command Description
create volumeCopy Creates a VolumeCopy and starts the
VolumeCopy operation.
disable storageSubsystem feature Turns off the current VolumeCopy operation.
volumeCopy
enable storageSubsystem feature Activates the VolumeCopy premium feature.
Creating a VolumeCopy
Before you create a VolumeCopy, make sure that a suitable target logical drive exists on the storage
subsystem, or create a new target logical drive specifically for the VolumeCopy. The target logical drive
that you use must have a capacity equal to or greater than the source logical drive.
You can have a maximum of eight VolumeCopies with a status of In Progress at one time. Any
VolumeCopy greater than eight has a status of Pending until one of the VolumeCopies with a status of In
Progress has completed the VolumeCopy process.
where the file parameter is the complete file path and file name of a valid Feature Key file. Enclose the
file path and file name in double quotation marks (“ ”). Valid file names for Feature Key files usually end
with a .key extension.
7-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
volumeCopy sourceCandidates command and the show volumeCopy targetCandidates command only
after you have enabled the VolumeCopy premium feature.
Creating a VolumeCopy
Attention: Possible loss of data access – A VolumeCopy overwrites data on the target logical drive.
Make sure that you no longer need the data or have backed up the data on the target logical drive before
you start a VolumeCopy operation.
When you create a VolumeCopy, you must define which logical drives that you want to use for the
source logical drive and the target logical drive. You define the source logical drive and the target logical
drive by the name of each logical drive. You can also define the copy priority and choose whether you
want the target logical drive to be read only after the data is copied from the source logical drive.
Important: Setting the targetReadOnlyEnabled attribute to false breaks the one-to-one relationship
between the source and target VolumeCopy logical drives. Therefore, any data that are written to the
target VolumeCopy logical drive will not be copied to the source VolumeCopy logical drive. In addition,
these data will be lost if you recopy of the source VolumeCopy logical drive to the target VolumeCopy
logical drive.
Before you run the create volumeCopy command, perform these actions:
v Stop all I/O activity to the source logical drive and the target logical drive.
v Dismount any file systems on the source logical drive and the target logical drive, if applicable.
The command in this example copies the data from the source logical drive named Jaba_Hut to the target
logical drive named Obi_1. Setting the copy priority to medium provides a compromise between how
quickly the data is copied from the source logical drive to the target logical drive and the amount of
processing resources that are required for data transfers to other logical drives in the storage subsystem.
Setting the targetReadOnlyEnabled parameter to TRUE means that write requests cannot be made to the
target logical drive, making sure that the data on the target logical drive stays unaltered.
After the VolumeCopy operation is completed, the target logical drive automatically becomes read only to
hosts. Any write requests to the target logical drive are rejected, unless you disable the Read-Only
attribute by using the set volumeCopy command.
To view the progress of a VolumeCopy, use the show logicalDrive actionProgress command. This
command returns information about the logical drive action, the percentage completed, and the time
remaining until the VolumeCopy is complete.
If a logical drive is participating in more than one VolumeCopy (it can be a source logical drive for one
VolumeCopy operation and a target logical drive for another VolumeCopy operation), the details are
repeated for each associated copy pair.
The command in this example is requesting information about the source logical drive JabaHut. If you
wanted information about all of the logical drives, you would use the allLogicalDrives parameter. You
can also request information about a specific target logical drive.
Copy priority has five relative settings ranging from highest to lowest. The highest priority supports the
VolumeCopy, but I/O activity might be affected. The lowest priority supports I/O activity, but the
VolumeCopy takes longer. You can change the copy priority at these times:
v Before the VolumeCopy operation starts
v While the VolumeCopy operation has a status of In Progress
v After the VolumeCopy operation has completed when re-creating a VolumeCopy operation by using
the recopy volumeCopy command
When you create a VolumeCopy pair and after the original VolumeCopy has completed, the target logical
drive is automatically defined as read-only to the hosts. The read-only status of the target logical drive
helps to make sure that the copied data on the target logical drive is not corrupted by additional writes
to the target logical drive after the VolumeCopy is created. You want to maintain the read-only status
when you are performing these tasks:
v Using the target logical drive for backup purposes
v Copying data from one array to a larger array for greater accessibility
7-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
v Planning to use the data on the target logical drive to copy back to the base logical drive in case of a
disabled FlashCopy logical drive or failed FlashCopy logical drive
At other times, you might want to write additional data to the target logical drive. You can use the set
volumeCopy command to reset the read/write permission for the target logical drive.
Note: If you have set the VolumeCopy parameters to enable host writes to the target logical drive, the
read request and the write request to the target logical drive are rejected while the VolumeCopy
operation has a status of In Progress, Pending, or Failed.
Important: Setting the targetReadOnlyEnabled attribute to false breaks the one-to-one relationship
between the source and target VolumeCopy logical drives. Therefore, any data that are written to the
target VolumeCopy logical drive will not be copied to the source VolumeCopy logical drive. In addition,
these data will be lost if you recopy of the source VolumeCopy logical drive to the target VolumeCopy
logical drive.
Note: You can use the parameters as needed to help define your configuration.
When you use the recopy volumeCopy command to make a backup, you cannot write to the source
logical drive while the recopy operation is running. The recopy operation might take a long time.
Restriction: Because of this restriction, IBM strongly recommends using a FlashCopy version of the
logical drive as the source for the VolumeCopy, rather than using the original logical drive as the source.
If you use the FlashCopy as the source for the VolumeCopy operation, then I/O operations to the original
logical drive can continue.
When you run the recopy volumeCopy command, the data on the source logical drive is copied in its
entirety to the target logical drive.
Attention: Possible loss of data access – The recopy volumeCopy command overwrites existing data
on the target logical drive and makes the target logical drive read-only to hosts. The recopy volumeCopy
command fails all of the flashcopy logical drives that are associated with the target logical drive, if any
exist.
You can also reset the copy priority by using the recopy volumeCopy command if you want to change
the copy priority for the recopy operation. The higher priorities allocate storage subsystem resources to
the VolumeCopy at the expense of storage subsystem performance.
Note: You can use the optional parameters as needed to help define your configuration.
The command in this example copies data from the source logical drive that is associated with the target
logical drive Obi_1 to the target logical drive again. The copy priority is set to the highest value to
complete the VolumeCopy as quickly as possible. The underlying consideration for using this command
is that you have already created the VolumeCopy pair, which has already created one VolumeCopy. By
using this command, you are copying the data from the source logical drive to the target logical drive
with the assumption that the data on the source logical drive has changed since the previous copy was
made.
This example shows you how to use the command in a script file:
recopy volumeCopy target [“Obi_1”] copyPriority=highest;
Stopping a VolumeCopy
The stop volumeCopy command lets you stop a VolumeCopy that has a status of In Progress, Pending, or
Failed. After you have stopped a VolumeCopy, you can use the recopy volumeCopy command to create a
new VolumeCopy by using the original VolumeCopy pair. After you stop a VolumeCopy operation, all of
the mapped hosts will have write access to the source logical drive.
Important: If the VolumeCopy has a status of In Progress, you must stop the VolumeCopy before you
can remove the VolumeCopy pair from the storage subsystem configuration.
7-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
This example shows how to use the command in a script file:
remove volumeCopy target [“Obi_1”];
When you are running the VolumeCopy feature with other premium features, you must consider the
requirements of other premium features to help make sure that you set up a stable storage subsystem
configuration.
In addition to the premium features, you also can run the VolumeCopy feature while running Dynamic
Volume Expansion (DVE).
Storage Partitioning
Storage Partitioning is a premium feature that lets hosts share access to logical drives in a storage
subsystem. You create a storage partition when you define any of these logical components in a storage
subsystem:
v A host
v A host group
v A logical drive-to-LUN mapping
The logical drive-to-LUN mapping lets you define which host group or host has access to a particular
logical drive in the storage subsystem.
After you create a VolumeCopy, the target logical drive automatically becomes read only to hosts to make
sure that the data is preserved. Hosts that have been mapped to a target logical drive do not have write
access to the logical drive, and any attempt to write to the read-only target logical drive results in a host
I/O error.
If you want hosts to have write access to the data on the target logical drive, use the set volumeCopy
command to disable the Read-Only attribute for the target logical drive.
The logical drive for which the point-in-time image is created is known as the base logical drive and
must be a standard logical drive in the storage subsystem. The FlashCopy repository logical drive stores
information about all of the data that changed since the FlashCopy was created.
Tip: You can select a FlashCopy logical drive as the source logical drive for a VolumeCopy. This selection
is a good use of this feature, because it performs complete backups without significant impact to the
storage subsystem availability. Some I/O processing resources are lost to the copy operation.
Important: If you choose the base logical drive of a FlashCopy logical drive as your target logical drive,
you must disable all of the FlashCopy logical drives that are associated with the base logical drive before
you can select it as a target logical drive.
You can use the FlashCopy Logical Drive premium feature with the VolumeCopy premium feature to
back up data on the same storage subsystem and to restore the data on the FlashCopy logical drive back
to its original base logical drive.
When you create a remote mirror, a remote mirror pair is created, which consists of a primary logical
drive at the primary storage subsystem and a secondary logical drive at a remote storage subsystem.
The primary logical drive is the logical drive that accepts host I/O and stores data. When the mirror
relationship is initially created, data from the primary logical drive is copied in its entirety to the
secondary logical drive. This process is known as a full synchronization and is directed by the controller
owner of the primary logical drive. During a full synchronization, the primary logical drive remains fully
accessible for all normal I/O activity.
The controller owner of the primary logical drive starts remote writes to the secondary logical drive to
keep the data on the two logical drives synchronized. Whenever the data on the primary logical drive
and the secondary logical drive becomes unsynchronized, the controller owner of the primary logical
drive starts a resynchronization, where only the data that changed during the interruption is copied.
The secondary logical drive maintains a mirror of the data on its associated primary logical drive. The
controller owner of the secondary logical drive receives remote writes from the controller owner of the
primary logical drive but does not accept host write requests.
The secondary logical drive stays available to host applications as read-only while mirroring is underway.
In the event of a disaster or a catastrophic failure at the primary site, you can perform a role reversal to
promote the secondary logical drive to a primary role. Hosts are then able to access the newly promoted
logical drive, and business operations can continue.
You can select a primary logical drive that is participating in a remote mirror pair to be used as the
source logical drive or a target logical drive for a VolumeCopy. A secondary logical drive that is
participating in a remote-mirror pair cannot be selected as a source logical drive or a target logical drive.
Role Reversals
A role reversal is the act of promoting the secondary logical drive to be the primary logical drive of the
remote mirror pair, and demoting the primary logical drive to be the secondary logical drive.
In the event of a disaster at the storage subsystem that contains the primary logical drive, you can fail
over to the secondary site by performing a role reversal to promote the secondary logical drive to the
primary logical drive role. This action lets hosts continue to access data, and business operations can
continue.
Trying a role reversal in which the original primary logical drive is the source logical drive for an active
VolumeCopy (the status is In Progress or Pending) causes the VolumeCopy to fail. The failure occurs
when the original primary logical drive becomes the new secondary logical drive. You cannot restart the
VolumeCopy until you return the roles of the logical drives back to their original state; that is, the logical
drive that was originally the primary logical drive is set once again to be the primary logical drive.
7-10 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
If the primary storage subsystem is recovered but is unreachable due to a link failure, a forced promotion
of the secondary logical drive will result in both the primary logical drive and the secondary logical drive
viewing themselves in the primary logical drive role (dual-primary condition). If this condition occurs,
the VolumeCopy in which the primary logical drive is participating is unaffected by the role change.
You can perform a role reversal by using the set remoteMirror command. (For information about the set
remoteMirror command, see “Set Remote Mirror” on page 3-96.)
v To change a secondary logical drive to a primary logical drive, use this command, which promotes the
selected secondary logical drive to become the primary logical drive of the remote mirror pair. Use this
command after a catastrophic failure has occurred.
set remoteMirror role=primary
v To change a primary logical drive to a secondary logical drive, use this command, which demotes the
selected primary logical drive to become the secondary logical drive. Use this command after a
catastrophic failure has occurred.
set remoteMirror role=secondary
Maintenance covers a broad spectrum of activity with the goal of keeping a storage subsystem
operational and available to all hosts. This chapter provides descriptions of commands you can use to
perform storage subsystem maintenance. The commands are organized into four sections:
v Routine maintenance
v Performance tuning
v Troubleshooting and diagnostics
v Recovery operations
The organization is not a rigid approach, and you can use the commands as appropriate for your storage
subsystem. The commands listed in this chapter do not cover the entire array of commands you can use
for maintenance. Other commands, particularly the set commands, can provide diagnostic or maintenance
capabilities.
Routine Maintenance
Routine maintenance involves those tasks that you might perform periodically to make sure that the
storage subsystem is running as well as possible or to detect conditions before they become problems.
A media scan runs on all of the logical drives in the storage subsystem that have these conditions:
v Has Optimal status
v Has no modification operations in progress
v Has media scan enabled
Errors that are detected during a scan of a user logical drive are reported to the Major Event Log (MEL)
and handled as follows:
v Unrecovered media error – The disk drive could not read the requested data on its first try or on any
subsequent retries. The result of this action is that for logical drives with redundancy protection, the
data is reconstructed, rewritten to the disk drive, and verified, and the error is reported to the Event
Log. For logical drives without redundancy protection, the error is not corrected, but it is reported to
the Event Log.
v Recovered media error – The disk drive could not read the requested data on its first attempt. The
result of this action is that the data is rewritten to the disk drive and verified. The error is reported to
the Event Log.
v Redundancy mismatches – Redundancy errors are found, and a media error is forced on the block
stripe so that it is found when the disk drive is scanned again. If redundancy is repaired, this forced
media error is removed. The result of this action is that the first 10 redundancy mismatches found on a
logical drive are reported to the Event Log.
The script command set provides two commands to define media scan properties:
v set logicalDrive
v set storageSubsystem
The set logicalDrive command enables a media scan for the logical drive. The command takes this form:
set (allLogicalDrives | logicalDrive [logicalDriveName] | logicalDrives
[logicalDriveName1 ... LogicalDriveNameN] | logicalDrive <wwID>)
mediaScanEnabled=(TRUE | FALSE)
The set storageSubsystem command defines how frequently a media scan is run on a storage subsystem.
The command takes this form:
set storageSubsystem mediaScanRate=(disabled | 1-30)
The mediaScanRate values define the number of days over which the media scan runs. Valid values are
disabled, which turns off the media scan; or 1 day to 30 days, where 1 day is the fastest scan rate, and 30
days is the slowest. A value other than what is shown will not allow the media scan to function.
Before you can run a redundancy check, you must enable redundancy checking by using the set
logicalDrive command. The command takes this form:
Resetting a Controller
Important: When you reset a controller, the controller is no longer available for I/O operations until the
reset is complete. If a host is using logical drives that are owned by the controller being reset, the I/O
that is directed to the controller is rejected. Before resetting the controller, either make sure that the
logical drives that are owned by the controller are not in use, or make sure that a multi-path driver is
installed on all of the hosts that are using these logical drives.
Resetting a controller is the same as rebooting the controller processors. To reset a controller, use this
command:
reset controller [(a | b)]
8-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
enable controller [(a | b)] dataTransfer
Note: The DS5100, DS5300, and DS4800 (Models 82, 84, 88) controller modules do not support this
command. The batteries in the DS5100, DS5300, and DS4800 (Models 82, 84, 88) controller modules do
not require that you reset the battery age after you have replaced the batteries.
To turn off the indicator light after locating the disk drive, use this command:
stop drive locate
Relocating an Array
Array relocation describes the action of moving disk drives within the same storage subsystem. This is a
supported capability; however, any relocation of storage subsystem components must be completed
under the guidance of a Customer and Technical Support representative.
This section describes the commands that you use to remove a set of disk drives and then reinstall them
into a different storage subsystem.
There are two methods you can use to move arrays: hot array relocation and cold array relocation.
Note: For more detailed information about relocating arrays, see one of the following documents:
v DS3000: IBM System Storage DS3000 Installation, User’s and Maintenance Guide
v DS4000 / DS5000: IBM System Storage DS4000/DS5000 Hard Drive and Storage Expansion Enclosure
Installation and Migration Guide
v Hot array relocation lets you add or move storage without reconfiguring the storage subsystem and, in
some cases, without rebooting. During hot array relocation, the storage subsystem power is not turned
off.
v Cold array relocation requires that the power to the source storage subsystem and the destination
storage subsystem be turned off before moving the arrays from one storage subsystem to another. Then
the power to the storage subsystems can be turned on.
To ensure that any array being moved to a different destination storage subsystem is correctly recognized
and managed by the new storage subsystem, use hot array relocation whenever possible.
Attention: Possible loss of data access – You must move a single array at a time, and it must go into a
storage subsystem with the same level of controller firmware.
Relocating an array from one storage subsystem to another includes these procedures:
1. Verifying the status of the storage subsystems
2. Ensuring that both storage subsystems have the latest controller firmware versions installed
3. Locating the drives in the array
4. Placing the array offline
5. Removing drives from the storage subsystem
6. Replacing an array into the new storage subsystem
Attention: Check firmware versions – Ensure that both existing and new storage subsystems have the
latest controller firmware versions installed.
v See the IBM Disk Support Web site to find the latest firmware versions for your storage subsystems:
www.ibm.com/systems/support/storage/disk
v Also check the following documentation for more information:
– DS3000: IBM System Storage DS3000 Installation, User’s and Maintenance Guide
– DS4000 / DS5000: IBM System Storage DS4000/DS5000 Hard Drive and Storage Expansion Enclosure
Installation and Migration Guide
To perform these steps, you must be familiar with the following CLI commands. The command syntax is
provided to assist in your use of these new commands.
Note: Array relocation commands are supported with the following controller firmware only:
v DS5000: 07.30.xx.xx
v DS4000: 07.1x.xx.xx
v DS3000: Not supported.
8-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Use the following command to place a specific storage subsystem into an exported state so that its disk
drives may be removed.
start array [user-label] export
At this point you are allowed to remove the disk drives that comprise the array, and physically reinstall
them into a different storage subsystem.
Use the following command to logically move a specific storage subsystem from an exported state to the
complete state.
start array [user-label] import
Performance Tuning
Over time, as a storage subsystem exchanges data between the hosts and the disk drives, its performance
can degrade. You can monitor the performance of a storage subsystem and make adjustments to the
operational settings on the storage subsystem to help improve performance.
where filename is the name of the file in which you want to save the performance statistics. You can use
any file name that your operating system can support. The default file type is .csv. The performance
information is saved as a comma-delimited file.
Before you use the save storageSubsystem performanceStats command, run the set session
performanceMonitorInterval command and the set session performanceMonitorIterations command to
specify how often statistics are collected.
Note: RAID 6 is a premium feature for the DS4700 (Model 70) controller module and the DS4700 (Model
72) controller module. You must enable RAID 6 with the premium feature key before you can use the
dynamic RAID migration feature.
RAID 6 is supported in DS4000/DS5000 storage products only, with controller firmware version
7.1x.xx.xx or higher.
where arrayNumber is the number of the array for which you want to change the RAID level.
where segmentSizeValue is the new segment size that you want to set. Valid segment size values are 8, 16,
32, 64, 128, 256, and 512. You can identify the logical drive by name or by WWID. (For usage information,
see “Set Logical Drive” on page 3-91.)
8-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Changing the Cache Parameters
The script command set provides two commands that you can use to change cache parameter settings:
v set storageSubsystem
v set logicalDrive
The set storageSubsystem command lets you change settings for these items:
v The cache block size
v The cache flush start percentage
v The cache flush stop percentage
The set logicalDrive command lets you change settings for these items:
v The cache flush modifier
v The cache without batteries enabled or disabled
v The mirror cache enabled or disabled
v The read cache enabled or disabled
v The write cache enabled or disabled
v The read ahead multiplier
v The redundancy check enabled or disabled
Defragmenting an Array
When you defragment an array, you consolidate the free capacity in the array into one contiguous area.
Defragmentation does not change the way in which the data is stored on the logical drives. As an
example, consider an array with five logical drives. If you delete logical drive 1 and logical drive 3, your
array is configured as follows:
space, logical drive 2, space, logical drive 4, logical drive 5, original unused space
When you defragment this array, the space (free capacity) is consolidated into one contiguous location
after the logical drives. After being defragmented, the array appears as follows:
Note: If you need to defragment the data stored in the logical drive, you must use the appropriate
defragmenting tool for the installed operating system.
storageSu bsystemProfile.txt
Major Event Log
A detailed list of errors that occur on the storage
subsystem. The list is stored in reserved areas on the
disk drives in the storage subsystem. The list records
configuration events and failures with storage
subsystem components.
majorEventLog.txt
Read link status
A detailed list of errors that have been detected in the
traffic flow between the devices on the Fibre Channel
loop. A file of historical read link status data might
also be included in the archive.
readLinkStatus.csv
Switch-on-a-chip (SOC) error
statistics Information from the loop-switch ports that are
connected to Fibre Channel devices.
socStatistics.csv
NVSRAM
A controller file that specifies the default settings for
the controllers.
NVSRAMdata.txt
Performance statistics
A detailed description of how a storage subsystem is
performing. Collected data includes the I/O activity of
specific controllers or logical drives, the transfer rate of
the controller, the current I/Os per second, and the
maximum I/Os per second.
performanceStatistics.csv
Persistent reservations and
persistent registrations A detailed list of logical drives on the storage
subsystem and persistent reservations and persistent
registrations.
persistentRegistrations.txt
Object bundle
A detailed description of the status of the storage
subsystem and its components, which was valid at the
time that the file was generated. The object bundle file
is a binary file and does not contain human-readable
information.
objectBundle
Drive diagnostic data
A detailed list of log sense data from all of the disk
drives in the storage subsystem.
driveDiagnosticData.txt
8-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 8-2. Support Data for the Storage Subsystem (continued)
Type of Data Description and File Name
Recovery profile
A detailed description of the latest recovery profile
record and historical data.
recoveryProfile.csv
Unreadable sectors
A detailed list of all of the unreadable sectors that
have been logged to the storage subsystem.
badBlocksData.txt
State capture data
A detailed description of the current state of the
storage subsystem.
stateCaptureData.dmp
Storage array
A detailed listing of the hardware components and the
software components that comprise the storage
subsystem configuration.
storageSu bsystemConfiguration.cfg
Diagnosing a Controller
The diagnose controller command provides these tests that help you make sure that a controller is
functioning correctly:
v The read test
v The write test
v The data-loopback test
The read test initiates a read command as it would be sent over an I/O data path. The read test compares
data with a known, specific data pattern, and the read test checks for data integrity and errors. If the read
command is unsuccessful or the data compared is not correct, the controller is considered to be in error
and is placed offline.
The write test initiates a write command as it would be sent over an I/O data path to the diagnostics
region on a specified disk drive. This diagnostics region is then read and compared to a specific data
pattern. If the write fails or the data compared is not correct, the controller is considered to be in error,
and it is failed and placed offline.
Run the data-loopback test only on controllers that have connections between the controller and the disk
drives. The test passes data through each controller disk drive-side channel, the minihub, out onto the
loop, and back again. Enough data is transferred to determine error conditions on the channel. If the test
fails on any channel, this status is saved so that it can be returned if all of the other tests pass.
For best results, run all three tests after you first install the storage subsystem and any time that you that
have made changes to the storage subsystem or the components that are connected to the storage
subsystem (such as hubs, switches, and host adapters).
The test results contain a generic, overall status message and a set of specific test results. Each test result
contains these items:
v Test (read, write, or data loopback)
v Port (read or write)
v Level (internal or external)
v Status (pass or fail)
Events are written to the Event Log when the diagnostics are started and when testing is completed.
These events help you to evaluate whether diagnostics testing was successful or failed and the reason for
the failure.
Error counts are calculated from the current baseline. The baseline describes the error count values for
each type of device in the Fibre Channel loop, either when the controller goes through its start-of-day
sequence or when you reset the baseline. The baseline indicates the difference in error counts from the
time the baseline was established to the time you request the read link status data.
The script command set provides two commands for running RLS diagnostics:
v reset storageSubsystem RLSBaseline – Resets the RLS baseline for all devices by setting all of the
counts to 0.
v save storageSubsystem RLSCounts – Saves the RLS counters to a file that you can review later. The
default file name is readLinkStatus.csv.
Run the reset storageSubsystem RLSBaseline command before you run the save storageSubsystem
RLSBaseline command.
The following table lists the type of data contained by the file that is generated by the save
storageSubsystem RLSBaseline command.
Table 8-3. RLS Baseline Data for the Storage Subsystem
Type of Data Description
Devices
A list of all devices on the Fibre Channel loop.
8-10 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 8-3. RLS Baseline Data for the Storage Subsystem (continued)
Type of Data Description
Baseline time The date and time when the baseline was set.
Elapsed time The time that has elapsed from when the baseline time was
set to when the read link status was gathered.
Invalid transmission
word (ITW) The total number of ITW errors that were detected on the
Fibre Channel loop from the baseline time to the current date
and time. ITW might also be referred to as the Received Bad
Character Count.
The way that you interpret the RLS results is based on the concept that the device immediately following
the problematic component will have the largest number of invalid transition word (ITW) error counts.
The process is to obtain the ITW count for every component and device on the loop, analyze the data in
loop order, and identify any large increases in the ITW counts.
Important:
The current error counting standard for when to calculate the ITW error count is not well defined.
Different vendor devices calculate at different rates. Analysis of the data must take this discrepancy into
consideration.
8-12 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Collecting Switch-on-a-Chip Error Statistics
Switch-on-a-chip (SOC) error statistics provide information about the loop-switch ports that are connected
to the Fibre Channel devices in a storage subsystem. (RLS counts provide information about the Fibre
Channel devices.) Reporting SOC error statistics is available only on storage subsystems that have SOC
loop-switch devices that are incorporated into the controller disk drive channel or the ESM circuitry. SOC
devices are integrated circuits that join together Fibre Channel devices in arbitrated loop topologies. SOC
devices automatically collect statistical information for each SOC port that is connected to a controller
port, an ESM port, a disk drive port, or an expansion connector. A Customer and Technical Support
representative can use the statistical information with RLS counts to identify problems with Fibre
Channel devices that are attached to the loop.
The method for collecting error statistics starts by establishing a baseline for the SOC error statistics. The
baseline consists of SOC error statistics that are established at a set time for each SOC device on the loop.
The baseline is set by clearing the error counters in each SOC device. You can set a device baseline by
performing one of these actions:
v Turning on the power to the device or resetting the device
v Running the reset storageSubsystem SOCBaseline command
In addition, each controller also initializes the SOC error counters in all of the expansion drawers that are
attached to the controller following a cold boot (power-on or hot insertion). If you add a expansion
drawer while the power is turned on to the storage subsystem, a new baseline is established for any
device on the expansion drawer.
After you have established the baseline for the SOC devices, you run the storage subsystem for a
predetermined amount of time (for example, two hours). At the end of the run time, you collect the SOC
error statistics by saving the information to a file. To save the information, run the save storageSubsystem
SOCCounts file filename command. The default name of the file that contains the SOC error statistics is
socStatistics.csv. You can use any file name that has the .csv extension.
Analyzing the SOC error statistics is beyond the scope of normal storage subsystem management. After
you have collected the SOC error statistics in a file, send the file to a Customer and Technical Support
representative.
Recovery Operations
Recovery operations include repairing the storage subsystem and returning it to an operational state. This
might involve replacing a failed CRU, a failed controller, or a disk drive or restoring data or the storage
subsystem to operation. For information about when it is appropriate to replace a CRU, see “Routine
Maintenance” on page 8-1.
Placing a controller online sets it to the Optimal state and makes it active and available for I/O
operations. Placing a controller offline makes it unavailable for I/O operations and moves its arrays to
the other controller if failover protection is enabled.
Taking a controller offline can seriously impact data integrity and storage subsystem operation.
v If you do not use write cache mirroring, data in the cache of the controller you place offline is lost.
v If you take a controller offline and you have controller failover protection through a host multi-path
driver, the other controller in the pair takes over. Arrays and their associated logical drives that were
assigned to the offline controller are automatically reassigned to the remaining controller. If you do not
have a multi-path driver installed on the application host and you take a controller offline while the
application is using associated logical drives, application errors will occur.
Attention: Possible loss of data access – Placing a controller offline can cause loss of data.
Use Service mode to replace CRUs, such as a controller. Placing a controller in Service mode makes it
unavailable for I/O operations and moves its arrays to the second controller without affecting the
preferred path of the array. This action might significantly reduce performance. The arrays are
automatically transferred back to the preferred controller when it is placed back online.
If you change a controller to Service mode while an application is using the associated logical drives on
the controller, the change causes I/O errors unless a multi-path driver is installed on the host. Before you
place a controller in Service mode, make sure that the logical drives are not in use, or a multi-path driver
is installed on all of the hosts that are using these logical drives.
In addition, if you do not have a multi-path driver, you must make appropriate operating system-specific
modifications to make sure that the arrays moved are accessed on the new path when you change to
Service mode.
Important: Place a controller in Service mode only under the direction of a Customer and Technical
Support representative.
Initializing a Drive
Attention: Possible loss of data access – When you initialize a disk drive, all data on the disk drive is
lost.
You must initialize a disk drive when you have moved a disk drive that was previously part of a
multidisk array from one storage subsystem to another. If you do not move the entire set of disk drives,
8-14 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
the array information and the logical drive information on the disk drives that you move are incomplete.
Each disk drive that you move contains only part of the information that is defined for the logical drive
and the array. To be able to reuse the disk drives to create a new array and logical drive, you must delete
all of the old information from the disk drives by initializing the disk drive.
When you initialize a disk drive, all of the old array information and logical drive information are
deleted, and the disk drive is returned to an unassigned state. Returning a disk drive to an unassigned
state adds unconfigured capacity to a storage subsystem. You can use this capacity to create additional
arrays and logical drives.
where enclosureID and slotID are the identifiers for the disk drive.
Reconstructing a Drive
If two or more of the disk drives in a array have failed, the logical drive shows a status of Failed. All of
the logical drives in the array are no longer operating. To return the array to an Optimal status, you must
replace the failed disk drives. Then, you must reconstruct the data on the new disk drives. The data that
you reconstruct is the data as it would appear on the failed disk drives.
Important: You can use this command only when the disk drive is assigned to a RAID 1, RAID 3, RAID
5, or RAID 6 array.
where enclosureID and slotID are the identifiers for the disk drive.
A logical drive is automatically initialized when you first create it. If the logical drive starts showing
failures, you might be required to re-initialize the logical drive to correct the failure condition.
Important: If you run this command without a multi-path driver on the hosts, stop I/O activity to the
logical drives to prevent application errors.
Important: You cannot run this command if all of the logical drives are currently owned by their
preferred controller, or the storage subsystem does not have defined logical drives.
Under some host operating systems, you must reconfigure the multi-path host driver. You might also
need to make operating system modifications to recognize the new I/O path to the logical drive.
Replacing CRUs
The DS3000, DS4000, and DS5000 controller module components, such as the controller CRUs, the
power-fan CRUs, and the interconnect-battery CRUs, have a Service Action Allowed (SAA®) indicator
light. This indicator light is a blue LED. The Service Action Allowed indicator light helps to make sure
that you do not remove a CRU before it is safe to do so.
Attention: Possible loss of data access – Never remove a component that has a Service Action
Required indicator light on unless the Service Action Allowed (SAA) indicator light is on.
If a component fails and must be replaced, the Service Action Required indicator light on that CRU
comes on to indicate that service action is required, provided no data availability dependencies or other
conditions exist that dictate the CRU should not be removed. The Service Action Allowed indicator light
automatically comes on or goes off when conditions change. In most cases, the Service Action Allowed
indicator light comes on steadily when the Service Action Required indicator light comes on for the CRU.
If the interconnect-battery CRU must be replaced, the Service Action Allowed indicator light does not
come on automatically. Before the Service Action Allowed indicator light on the interconnect-battery CRU
can come on, you must place controller CRU in slot B into Service mode. This action routes all control
and I/O activity through one controller to help make sure that data access is maintained while the
interconnect-battery CRU is removed. The Service Action Allowed indicator light comes on after the new
CRU has been installed.
The ability to remove a CRU depends on the data availability dependencies of the controller module or
the controller module. The Service Action Allowed indicator light does not come on if removing a CRU
jeopardizes data on the expansion drawers or current I/O activity. An example of limiting when you can
remove a CRU is when one controller CRU has a Service Action Required indicator light on. You cannot
remove the other controller CRU (the Service Action Allowed indicator light does not come on), because
doing so would jeopardize the data either on the expansion drawers or transitioning through the
controllers.
A less obvious example, as in the DS4800 storage subsystem, is when the power supply for the controller
CRU in slot A has failed, and the controller CRU in slot B has failed. Removing the controller CRU in slot
B before replacing the failed power-fan CRU causes the controller CRU in slot A to lose power, which
results in a loss of data access. This action occurs because power distribution from each power-fan CRU
is through the controller CRU that is physically connected to that power-fan CRU.
8-16 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
v The power-fan CRU has both its Service Action Required indicator light and its Service Action Allowed
indicator light on.
v The controller CRU in slot B has only its Service Action Required indicator light on, but its Service
Action Allowed indicator light is off.
v After the failed power-fan CRU has been replaced, the Service Action Allowed indicator light comes on
for the controller CRU in slot B.
For more information about the Service Action Not Allowed indicator, please see the IBM System Storage
DSxxxx Storage Subsystem Installation, User’s and Maintenance Guide for your storage subsystem product.
SUMMARY-----------------------------
Number of controllers: 2
Number of arrays: 5
RAID 6: Enabled
VolumeCopy: Disabled
Number of copies used: 0
Number of copies allowed: 0
Number of drives: 32
Mixed drive types: Enabled
Current drive type(s): Fibre (5), Fibre/FDE (21), Serial ATA (SATA) (6)
Total hot spare drives: 2
Standby: 2
In use: 0
Access logical drive: LUN 31,31,31 (see Mappings section for details)
Default host OS: Windows 2000/Server 2003/Server 2008 Non-Clustered (Host OS index 2)
Current configuration
Firmware version: 07.50.00.00
NVSRAM version: N1818D53R1050V03
EMW version: 10.50.G5.02
AMW version: 10.50.G5.02
Pending configuration
Staged firmware download supported: Yes
Firmware version: None
NVSRAM version: None
Transferred on: None
Controller enclosure audible alarm: Disabled
CONTROLLERS-----------------------------
Number of controllers: 2
Status: Online
Current configuration
Firmware version: 07.50.00.00
Appware version: 07.50.00.00
Bootware version: 07.50.00.00
NVSRAM version: N1818D53R1050V03
Pending configuration
Firmware version: None
Appware version: None
Bootware version: None
NVSRAM version: None
Transferred on: None
9-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Current ID (ALPA)
On drive channel 1: 125/0x1
Replacement part number: memSpyTesting_9
Model name: 7000-88
Board ID: 7091
Submodel ID: 93
Product ID: 1818 FAStT
Revision: 0730
Replacement part number: memSpyTesting_9
Part number: 32847-10
Serial number: SF74700554
Vendor: IBM
Date of manufacture: January 24, 2008
Data Cache
Total present: 8192 MB
Total used: 8192 MB
Data Cache Module
Status: Optimal
Location: Controller A, Slot 1
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196510
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Data Cache Module
Status: Optimal
Location: Controller A, Slot 2
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196542
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Data Cache Module
Status: Optimal
Location: Controller A, Slot 3
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196568
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Data Cache Module
Status: Optimal
Location: Controller A, Slot 4
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196524
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Data Cache Module
Status: Optimal
Location: Controller A, Slot 5
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1426196503
Manufacturer: Samsung
Date of manufacture: October 29, 2007
Data Cache Module
9-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Board ID: 0801
Replacement part number: Not Available
Part number: PN L2-25023-02
Serial number: SN SF84300044
Vendor: VN LSI
Date of manufacture: November 1, 2008
Host Interface Board
Status: Optimal
Location: Slot 1
Type: Fibre channel
Number of ports: 4
Board ID: 0801
Replacement part number: Not Available
Part number: PN L2-25023-02
Serial number: SN SF84300041
Vendor: VN LSI
Date of manufacture: November 1, 2008
Date/Time: Tue Jan 27 15:19:38 EST 2009
Ethernet port: 1
Link status: Up
MAC address: 00:a0:b8:29:ed:8a
Negotiation mode: Auto-negotiate
Port speed: 10 Mbps
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.70.70
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Stateless
Local IP address: FE80:0000:0000:0000:02A0:B8FF:FE29:ED8A
Ethernet port: 2
Link status: Failed
MAC address: 00:a0:b8:29:ed:8b
Negotiation mode: Auto-negotiate
Port speed: Unknown
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.129.101
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Static
Local IP address: FE80:0000:0000:0000:0000:0000:0000:0000
9-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Current ID: Not applicable/0xFFFFFFFF
Preferred ID: 125/0x1
NL-Port ID: 0x010200
Maximum data rate: 8 Gbps
Current data rate: 4 Gbps
Data rate control: Auto
Link status: Up
Topology: Fabric Attach
World-wide port identifier: 20:1e:00:a0:b8:29:ed:8a
World-wide node identifier: 20:0e:00:a0:b8:29:ed:8a
Part type: PM8032 revision 5
Status: Online
Current configuration
Firmware version: 07.50.00.00
Appware version: 07.50.00.00
Bootware version: 07.50.00.00
NVSRAM version: N1818D53R1050V03
Pending configuration
Firmware version: None
Appware version: None
Bootware version: None
NVSRAM version: None
Transferred on: None
Current ID (ALPA)
On drive channel 1: 124/0x2
Replacement part number: Not Available
Model name: 7000-88
Board ID: 7091
Submodel ID: 93
Product ID: 1818 FAStT
Revision: 0730
9-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Replacement part number:
Part number: 32847-10
Serial number: SF74600024
Vendor: IBM
Date of manufacture: January 23, 2008
Data Cache
Total present: 8192 MB
Total used: 8192 MB
Data Cache Module
Status: Optimal
Location: Controller B, Slot 9
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953EZ3-CD5
Part Number: Not Available
Serial number: 1127652678
Manufacturer: Samsung
Date of manufacture: December 31, 2007
Data Cache Module
Status: Optimal
Location: Controller B, Slot 10
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953CZ3-CD5
Part Number: Not Available
Serial number: 4076997590
Manufacturer: Samsung
Date of manufacture: January 29, 2007
Data Cache Module
Status: Optimal
Location: Controller B, Slot 11
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953CZ3-CD5
Part Number: Not Available
Serial number: 4076997577
Manufacturer: Samsung
Date of manufacture: January 29, 2007
Data Cache Module
Status: Optimal
Location: Controller B, Slot 12
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953CZ3-CD5
Part Number: Not Available
Serial number: 4076997790
Manufacturer: Samsung
Date of manufacture: January 29, 2007
Data Cache Module
Status: Optimal
Location: Controller B, Slot 13
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953CZ3-CD5
Part Number: Not Available
Serial number: 4076997641
Manufacturer: Samsung
Date of manufacture: January 29, 2007
Data Cache Module
Status: Optimal
Location: Controller B, Slot 14
Capacity: 1,024 MB
Replacement Part number: Not Available
Manufacturer Part Number: M3 93T2953CZ3-CD5
Part Number: Not Available
Serial number: 4110514102
Manufacturer: Samsung
9-10 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Location: Slot 4
Type: Fibre channel
Number of ports: 4
Board ID: 0801
Replacement part number: Not Available
Part number: PN L2-25023-02
Serial number: SN SF84300014
Vendor: VN LSI
Date of manufacture: November 1, 2008
Date/Time: Tue Jan 27 15:19:47 EST 2009
Ethernet port: 1
Link status: Up
MAC address: 00:a0:b8:29:ec:e6
Negotiation mode: Auto-negotiate
Port speed: 10 Mbps
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.70.71
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Stateless
Local IP address: FE80:0000:0000:0000:02A0:B8FF:FE29:ECE6
Ethernet port: 2
Link status: Failed
MAC address: 00:a0:b8:29:ec:e7
Negotiation mode: Auto-negotiate
Port speed: Unknown
Duplex mode: Half duplex
IPv4 settings: Enabled
Network configuration: Static
IP address: 192.168.129.102
Subnet mask: 255.255.255.0
Gateway: 0.0.0.0
IPv6 settings: Enabled
Auto-configuration: Stateless
Local IP address: FE80:0000:0000:0000:02A0:B8FF:FE29:ECE7
9-12 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
World-wide node identifier: 20:0e:00:a0:b8:29:ed:8a
Part type: PM8032 revision 5
ARRAYS-----------------------------
Number of arrays: 5
Name: 1
Status: Optimal
Capacity 1.064 TB
RAID level: 6
9-14 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Enclosure Slot
2 3
2 4
2 5
2 6
2 7
2 12
4 2
4 4
4 7
4 8
Name: FC_R3
Status: Optimal
Capacity 836.688 GB
RAID level: 3
Security Capable: No
Secure: No
Enclosure Slot
4 9
4 12
4 14
4 16
Name: FDE_R6
Status: Optimal
Capacity 817.381 GB
RAID level: 6
Enclosure Slot
2 1
2 2
2 13
2 15
2 16
4 5
4 6
4 3
Name: Sata_Raid6
Status: Optimal
Capacity 2.727 TB
RAID level: 6
Security Capable: No
Secure: No
Enclosure Slot
2 8
2 9
2 10
2 11
4 1
4 13
9-16 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Name: Secure_R1
Status: Optimal
Capacity 278.897 GB
RAID level: 1
Enclosure Slot
4 15 [mirrored pair with drive at enclosure 4, slot 10]
4 10 [mirrored pair with drive at enclosure 4, slot 15]
SUMMARY
DETAILS
Capacity: 400.0 GB
Logical Drive ID: 60:0a:0b:80:00:29:ed:8a:00:00:cd:50:49:41:11:ff
Subsystem ID (SSID): 6
Associated array: FC_R3
RAID level: 3
Capacity: 278.0 GB
Logical Drive ID: 60:0a:0b:80:00:33:98:48:00:00:c9:73:49:41:0a:a1
Subsystem ID (SSID): 8
Associated array: Secure_R1
RAID level: 1
Secure: Yes
9-18 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Logical Drive status: Optimal
Capacity: 410.0 GB
Logical Drive ID: 60:0a:0b:80:00:29:ec:e6:00:00:df:13:49:41:13:4f
Subsystem ID (SSID): 5
Associated array: FDE_R6
RAID level: 6
Secure: Yes
Capacity: 1,000.0 GB
Logical Drive ID: 60:0a:0b:80:00:29:ed:8a:00:00:cc:90:49:3f:f7:b5
Subsystem ID (SSID): 0
Associated array: Sata_Raid6
RAID level: 6
Secure: No
Capacity: 1,000.0 GB
Logical Drive ID: 60:0a:0b:80:00:29:ec:e6:00:00:dd:b1:49:3f:f9:87
Subsystem ID (SSID): 1
Associated array: Sata_Raid6
RAID level: 6
Secure: No
Capacity: 510.0 GB
Logical Drive ID: 60:0a:0b:80:00:29:ec:e6:00:00:de:a0:49:40:e6:2d
Subsystem ID (SSID): 3
Associated array: 1
RAID level: 6
Secure: Yes
9-20 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Read cache: Enabled
Write cache: Enabled
Write cache without batteries: Disabled
Write cache with mirroring: Enabled
Flush write cache after (in seconds): 10.00
Dynamic cache read prefetch: Enabled
DRIVES-----------------------------
SUMMARY
Number of drives: 32
Current drive types: Fibre (5), Fibre/FDE (21), Serial ATA (SATA) (6)
BASIC:
DRIVE CHANNELS:
9-22 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
4, 15 7 4
4, 16 4 7
Standby: 2
In use: 0
DETAILS
Drive at Enclosure 2, Slot 1
Status: Optimal
Mode: Assigned
Raw capacity: 136.732 GB
Usable capacity: 136.232 GB
World-wide identifier: 20:00:00:1d:38:1d:1d:73:00:00:00:00:00:00:00:00
Associated array: FDE_R6
Port Channel ID
0 3 0/0xEF
1 8 0/0xEF
Status: Optimal
Mode: Assigned
Raw capacity: 136.732 GB
Usable capacity: 136.232 GB
World-wide identifier: 20:00:00:1d:38:1d:1d:e1:00:00:00:00:00:00:00:00
Associated array: FDE_R6
Port Channel ID
0 8 1/0xE8
1 3 1/0xE8
Status: Optimal
Mode: Assigned
Raw capacity: 136.732 GB
Usable capacity: 136.232 GB
World-wide identifier: 20:00:00:1d:38:1d:1d:7c:00:00:00:00:00:00:00:00
Associated array: 1
Port Channel ID
0 3 2/0xE4
1 8 2/0xE4
Status: Optimal
Mode: Assigned
Raw capacity: 136.732 GB
Usable capacity: 136.232 GB
World-wide identifier: 20:00:00:1d:38:1d:1d:5c:00:00:00:00:00:00:00:00
Associated array: 1
Port Channel ID
0 8 5/0xE0
1 3 5/0xE0
9-24 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Serial number: 3QN07L7H00009912TL9U
Vendor: IBM-SSG
Date of manufacture: October 16, 2008
Status: Optimal
Mode: Assigned
Raw capacity: 279.397 GB
Usable capacity: 278.897 GB
World-wide identifier: 20:00:00:1d:38:1b:16:1d:00:00:00:00:00:00:00:00
Associated array: 1
Port Channel ID
0 3 6/0xDC
1 8 6/0xDC
Status: Optimal
Mode: Assigned
Raw capacity: 698.638 GB
Usable capacity: 698.138 GB
World-wide identifier: 20:00:00:a0:b8:41:47:0e:00:00:00:00:00:00:00:00
Associated array: Sata_Raid6
Port Channel ID
0 8 7/0xDA
1 3 7/0xDA
Security Capable: No
Secure: No
Read/write accessible: Yes
Security key identifier: Not Applicable
ATA Translator
Product ID: BR-2401-3.0
Status: Optimal
Mode: Assigned
Raw capacity: 698.638 GB
Usable capacity: 698.138 GB
World-wide identifier: 20:00:00:a0:b8:41:27:26:00:00:00:00:00:00:00:00
Associated array: Sata_Raid6
Port Channel ID
0 3 8/0xD9
1 8 8/0xD9
Security Capable: No
Secure: No
Read/write accessible: Yes
Security key identifier: Not Applicable
ATA Translator
Product ID: BR-2401-3.0
Vendor: SLI
Firmware Version: LP1158
Location: Individual Drive Canister
Status: Optimal
Mode: Assigned
Raw capacity: 136.732 GB
Usable capacity: 136.232 GB
World-wide identifier: 20:00:00:1d:38:1d:1e:18:00:00:00:00:00:00:00:00
Associated array: 1
Port Channel ID
0 4 7/0xDA
1 7 7/0xDA
9-26 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Firmware version: E097
Serial number: 3QN080DY00009903RDMQ
Vendor: IBM-SSG
Date of manufacture: October 16, 2008
Status: Optimal
Mode: Assigned
Raw capacity: 279.397 GB
Usable capacity: 278.897 GB
World-wide identifier: 50:00:cc:a0:08:02:58:0c:00:00:00:00:00:00:00:00
Associated array: FC_R3
Port Channel ID
0 7 8/0xD9
1 4 8/0xD9
Security Capable: No
Secure: No
Read/write accessible: Yes
Security key identifier: Not Applicable
DRIVE CHANNELS---------------------------
SUMMARY
DETAILS
DRIVE CHANNEL 1
Port: 8, 7
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 2 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 2
Port: 6, 5
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 3
Port: 4, 3, Out
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
9-28 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 4
Port: 2, 1, Out
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 5
Port: 1, 2
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 2 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 6
Port: 3, 4
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
9-30 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Link down errors: N/A
Total I/O count: 330848
Controller B
DRIVE CHANNEL 7
Port: 5, 6, Out
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 8
Port: 7, 8, Out
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
ENCLOSURES-----------------------------
Drive Enclosure 2 Overall Component Information
9-32 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Part number: PN 39M5570
Serial number: SN 1T54721521
Vendor: IBM
Date of manufacture: December 1, 2005
SFPs Detected: 2
Fans Detected: 2
9-34 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Vendor: VN ENGENIO
SFPs Detected: 2
Fans Detected: 2
9-36 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Temperature sensor status: Optimal
Location: ESM Canister A (left)
Batteries Detected: 2
SFPs Detected: 8
9-38 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Attached to: Host-side of controller A
Location: Channel 1
Supported data rate(s): 1 Gbps, 2 Gbps, 4 Gbps
Link length: Intermediate
Connector: LC
Transmitter type: Shortwave Laser w/o OFC
Transmission media: TM Multi-mode 62.5m(M6)
IEEE company ID: 00 17 6a
Revision: Not Available
Part number: AFBR-57R5AQZ
Serial number: A2065050D5
Vendor: AVAGO
Date of manufacture: December 14, 2006
Fans Detected: 4
TOPOLOGY DEFINITIONS
STORAGE SUBSYSTEM
Default type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Default Group
Host: Right
Host type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Host port identifier: 21:00:00:e0:8b:95:c7:1e
Alias: QLogic_1
Host type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Host port identifier: 21:01:00:e0:8b:b5:c7:1e
Alias: QLogic_2
Host type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Host port identifier: 10:00:00:05:1e:56:67:98
Alias: Brocade1
Host: Left
Host type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Host port identifier: 21:00:00:e0:8b:83:fd:cc
Alias: Qlogic1
Host type: Windows 2000/Server 2003/Server 2008 Non-Clustered
Host port identifier: 21:01:00:e0:8b:a3:fd:cc
Alias: Qlogic2
AIX-ADT/AVT Enabled 4
DEFAULT Disabled 0
9-40 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
HP-UX Enabled 7
HPXTPGS Disabled 17
Irix Disabled 10
LNXCLVMWARE Disabled 13
Linux Enabled 5
Mac OS X Enabled 1
Attention: Incorrectly setting the NVSRAM can severely affect the performance and the availability of
the subsystems. You should only modify the NVSRAM settings according to the latest information
documented for your configuration in DS4000 publications, readmes, or by your IBM support
representative.
Controller "a":
Region 226:
0000: 4942 4d20 2020 2020 3138 3138 2020 2020 IBM.....1818....
0010: 2020 4641 5374 5420 3037 3330 0000 0000 ..FAStT.0730....
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0008 5600 0000 0000 0000 0000 0000 ....V...........
Region 232:
0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0010: 5500 0000 0000 0000 0000 0000 0000 0000 U...............
Region 233:
0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 234:
0000: 1020 3040 5060 0000 0000 0000 0000 0000 ..0.P...........
0010: 1121 3141 5161 0000 0000 0000 0000 0000 ..1AQa..........
Region 236:
0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 237:
0000: 0000 0000 0000 0000 007d 0000 0000 0000 ................
0010: 0000 0000 007d 0d0e 0f00 0000 0000 0000 ................
Region 238:
0000: 0000 ca32 0000 0000 0050 0600 0000 0000 ...2.....P......
0010: 0000 0000 0000 0000 f001 0000 8480 0000 ................
0020: 0000 0000 0000 0000 cc8c 008a 0029 fe00 ................
0030: 80be 9f45 7300 2000 0f00 1400 0000 0000 ...Es...........
Region 240:
0000: 0c12 4453 3530 3030 5f41 7f7f 7f7f 7f33 ..DS5000.A.....3
0010: 3030 5f41 ab04 c0a8 8032 0104 ffff ff00 00.......2......
0020: fc01 83b5 04c0 a846 32bf 04ff ffff 00fd .......F2.......
0030: 0183 a005 726f 6269 6eac 04c0 a801 0103 .....robin......
0040: 04c0 a846 01fb 0180 a109 616e 6f6e 796d ...F......anonym
0050: 6f75 73a2 0870 6173 7377 6f72 64ff 0000 ous..password...
0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 241:
0000: 0000 ca32 0000 0000 0050 0600 0000 0000 ...2.....P......
0010: 0000 0000 0000 0000 f001 0000 8480 0000 ................
0020: 0000 0000 0000 0000 cc8c 008a 0029 fe00 ................
0030: 80be 9f45 7300 2000 0f00 1400 0000 0000 ...Es...........
0040: 4465 6661 756c 7400 0000 0000 0000 0000 Default.........
0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4445 4641 554c 5400 0000 0000 0000 0000 DEFAULT.........
0010: 0020 0000 0100 0001 0000 0000 0000 0000 ................
0020: 0001 0100 0000 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4d61 6320 4f53 2058 0000 0000 0000 0000 Mac.OS.X........
0010: 017f 0000 0100 0001 0001 0000 0000 0000 ................
0020: 0000 0100 0100 0008 0100 0000 0000 0000 ................
9-42 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 5732 4b4e 4554 4e43 4c00 0000 0000 0000 W2KNETNCL.......
0010: 0020 0000 0100 0001 0000 0000 0000 0000 ................
0020: 0001 0100 0000 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 5732 4b4e 4554 434c 0000 0000 0000 0000 W2KNETCL........
0010: 0020 0000 0100 0001 0001 0001 0000 0000 ................
0020: 0001 0100 0000 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4149 582d 4144 542f 4156 5400 0000 0000 AIX.ADT.AVT.....
0010: 0100 0000 0100 0001 0100 0000 0001 0000 ................
0020: 0000 0100 0100 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4c4e 5800 0000 0000 0000 0000 0000 0000 LNX.............
0010: 017f 0000 0100 0001 0001 0000 0000 0000 ................
0020: 0000 0100 0100 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4149 5800 0000 0000 0000 0000 0000 0000 AIX.............
0010: 0100 0000 0100 0001 0100 0000 0001 0000 ................
0020: 0000 0100 0000 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4850 5800 0000 0000 0000 0000 0000 0000 HPX.............
0010: 017f 0000 0100 0001 0101 0001 0101 0001 ................
0020: 0100 0000 0100 001c 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 534f 4c00 0000 0000 0000 0000 0000 0000 SOL.............
0010: 0120 0000 0100 0001 0001 0000 0000 0000 ................
0020: 0000 0000 0000 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 5732 4b4e 4554 4e43 4c44 4d50 0000 0000 W2KNETNCLDMP....
0010: 0020 0000 0100 0001 0000 0100 0000 0000 ................
0020: 0000 0100 0180 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4952 5800 0000 0000 0000 0000 0000 0000 IRX.............
0010: 007f 0000 0100 2001 0000 0000 0000 0000 ................
0020: 0000 0100 0000 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4e57 5246 4f00 0000 0000 0000 0000 0000 NWRFO...........
0010: 007f 0000 0100 0001 0000 0000 0000 0000 ................
0020: 0100 0100 0100 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4942 4d20 5453 2053 414e 2056 4345 0000 IBM.TS.SAN.VCE..
0010: 0000 0000 0100 0000 0000 0001 0000 0000 ................
0020: 0000 0100 0100 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 534f 4c41 5654 0000 0000 0000 0000 0000 SOLAVT..........
0010: 0120 0000 0100 0001 0001 0100 0000 0000 ................
0020: 0000 0001 0180 0000 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 5732 4b4e 4554 434c 444d 5000 0000 0000 W2KNETCLDMP.....
0010: 0020 0000 0100 0001 0001 0101 0000 0000 ................
0020: 0000 0101 0180 0008 0100 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2031 3600 0000 0000 .unnamed.16.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 4850 5854 5047 5300 0000 0000 0000 0000 HPXTPGS.........
0010: 017f 0000 0100 0001 0101 0001 0101 0000 ................
0020: 0001 0000 0000 0008 0200 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2031 3800 0000 0000 .unnamed.18.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2031 3900 0000 0000 .unnamed.19.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3000 0000 0000 .unnamed.20.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3100 0000 0000 .unnamed.21.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3200 0000 0000 .unnamed.22.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3300 0000 0000 .unnamed.23.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
9-44 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Region 242:
0000: 0075 6e6e 616d 6564 2032 3400 0000 0000 .unnamed.24.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3500 0000 0000 .unnamed.25.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3600 0000 0000 .unnamed.26.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3700 0000 0000 .unnamed.27.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3800 0000 0000 .unnamed.28.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2032 3900 0000 0000 .unnamed.29.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2033 3000 0000 0000 .unnamed.30.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Region 242:
0000: 0075 6e6e 616d 6564 2033 3100 0000 0000 .unnamed.31.....
0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Show Drive
The show drive command returns information about the disk drives in a storage subsystem.
DRIVES-----------------------------
SUMMARY
Number of drives: 32
Current drive types: Fibre (16), Fibre/FDE (14), Serial ATA (SATA) (2)
BASIC:
DRIVE CHANNELS:
9-46 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
5, 4 3 5
5, 5 5 3
5, 6 3 5
5, 7 5 3
5, 8 3 5
5, 9 5 3
5, 10 3 5
5, 11 5 3
5, 12 3 5
5, 13 5 3
5, 14 3 5
5, 15 5 3
5, 16 3 5
7, 1 6 4
7, 2 4 6
7, 3 6 4
7, 4 4 6
7, 5 6 4
7, 6 4 6
7, 7 6 4
7, 8 4 6
7, 9 6 4
7, 10 4 6
7, 11 6 4
7, 12 4 6
7, 13 6 4
7, 14 4 6
7, 15 6 4
7, 16 4 6
Standby: 5
In use: 0
DETAILS
Drive at Enclosure 5, Slot 1
Status: Optimal
Mode: Assigned
Raw capacity: 419.187 GB
Usable capacity: 418.687 GB
World-wide identifier: 50:00:cc:a0:08:02:93:00:00:00:00:00:00:00:00:00
Associated array: Mix_R5
Security Capable: No
Secure: No
Read/write accessible: Yes
Security key identifier: Not Applicable
Status: Optimal
Mode: Assigned
Raw capacity: 136.732 GB
Usable capacity: 136.232 GB
World-wide identifier: 20:00:00:1d:38:1d:1d:74:00:00:00:00:00:00:00:00
Associated array: FDE_R0
Port Channel ID
0 3 1/0xE8
1 5 1/0xE8
Status: Optimal
Mode: Assigned
Raw capacity: 698.638 GB
Usable capacity: 698.138 GB
World-wide identifier: 20:00:00:a0:b8:41:20:c8:00:00:00:00:00:00:00:00
Associated array: Sata_R1
Port Channel ID
0 5 8/0xD9
1 3 8/0xD9
Security Capable: No
9-48 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Secure: No
Read/write accessible: Yes
Security key identifier: Not Applicable
ATA Translator
Product ID: BR-2401-3.0
Vendor: SLI
Firmware Version: LP1158
Location: Individual Drive Canister
SUMMARY
DETAILS
DRIVE CHANNEL 1
Port: 8, 7
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 2
Port: 6, 5
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 3
Port: 4, 3, Out
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
9-50 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
CUMULATIVE ERROR COUNTS
Controller A
Controller B
DRIVE CHANNEL 4
Port: 2, 1, Out
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 5
Port: 1, 2, Out
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 6
Port: 3, 4, Out
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
9-52 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Controller B
DRIVE CHANNEL 7
Port: 5, 6
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
DRIVE CHANNEL 8
Port: 7, 8
Status: Optimal
Max. Rate: 4 Gbps
Current Rate: 4 Gbps
Rate Control: Auto
Controller A link status: Up
Controller B link status: Up
DRIVE COUNTS
Controller A
Controller B
SUMMARY
DETAILS
Capacity: 500.0 GB
Logical Drive ID: 60:0a:0b:80:00:29:ee:02:00:00:c8:64:49:41:0a:7a
Subsystem ID (SSID): 6
Associated array: FC_R3
RAID level: 3
Secure: No
9-54 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Preferred owner: Controller in slot A
Current owner: Controller in slot A
Capacity: 550.0 GB
Logical Drive ID: 60:0a:0b:80:00:33:98:48:00:00:c9:76:49:41:0c:4c
Subsystem ID (SSID): 7
Associated array: FC_R3
RAID level: 3
Secure: No
Capacity: 440.0 GB
Secure: Yes
Capacity: 500.0 GB
Logical Drive ID: 60:0a:0b:80:00:33:98:48:00:00:c9:70:49:41:09:a6
Subsystem ID (SSID): 3
Associated array: Mix_R5
RAID level: 5
Secure: No
9-56 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Pre-Read redundancy check: Disabled
Capacity: 520.0 GB
Logical Drive ID: 60:0a:0b:80:00:29:ee:02:00:00:c8:5e:49:41:09:04
Subsystem ID (SSID): 4
Associated array: Mix_R5
RAID level: 5
Secure: No
Capacity: 500.0 GB
Logical Drive ID: 60:0a:0b:80:00:29:ee:02:00:00:c8:53:49:40:03:e2
Subsystem ID (SSID): 0
Associated array: Sata_R1
RAID level: 1
Secure: No
Capacity: 190.0 GB
Logical Drive ID: 60:0a:0b:80:00:33:98:48:00:00:c9:93:49:42:37:1f
Subsystem ID (SSID): 8
Associated array: Sata_R1
RAID level: 1
Secure: No
9-58 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Chapter 10. Example Script Files
This appendix provides example scripts for configuring a storage subsystem. These examples show how
the script commands appear in a complete script file. Also, you can copy these scripts and modify them
to create a configuration unique to your storage subsystem.
By using the save storageSubsystem configuration command, you can create a file that you can use to
copy an existing configuration from one storage subsystem to other storage subsystems. You can also use
this file to restore an existing configuration that has become corrupted. You also can copy an existing file
to serve as a pattern from which you create a new script file by modifying portions of the original file.
The default file extension is .scr.
You can create a new script file by using a text editor, such as Microsoft Notepad. The maximum line
length is 256 characters. The command syntax must conform to the usage guidelines that are described in
Chapter 2, “About the Script Commands,” on page 2-1 and the command formatting rules that are listed
in “Formatting Rules for Script Commands” on page 3-2. When you create a new script file, you can use
any file name and extension that will run on the host operating system.
This example shows how to run a script file from the command line.
c:\...\...\client>smcli 123.45.67.89 -f scriptfile.scr;
This example shows blank lines between the lines beginning with Show, Create, //Note, and create. The
blank lines are included in this example only for clarity. Each command is actually written on one line in
the script file; however, the size of this page has caused the command text to wrap. You might want to
include blank lines in your script files to separate blocks of commands or make a comment that stands
out. To include a comment, enter two forward slashes (//), which causes the script engine to treat the line
as a comment.
The line beginning with //Create is a comment that explains that the purpose of this script file is to create
a new logical drive by using the create logicalDrive command on an existing array.
The line beginning //Note: is a comment in the script file that explains that the size of the last logical
drive created that uses all of the available capacity because the capacity parameter is not used.
The command in this example creates a new logical drive in array 1. The logical drive has a RAID level
of 5. The logical drive name (user label) is 7. (Note the double quotation marks around the 7. The double
quotation marks define that the information in the double quotation marks is a label.) The new logical
drive is assigned to the controller in slot A in the controller module. The segment size is set to 16. The
logical drive has a read ahead multiplier value of 256. The capacity of the logical drive is 2 GB.
The general form of the command shows the optional parameters in a different sequence than the
optional parameters in the example command. You can enter optional parameters in any sequence. You
must enter the required parameters in the sequence shown in the command descriptions.
The line showing “Setting additional attributes for logical drive 7” is another example of using the
show “string” command. The reason for placing this command here is to tell the user that the create
logicalDrive command ran successfully and that properties that could not be set by the create
logicalDrive command are now set.
The set logicalDrive parameters are shown on separate lines. You do not need to use separate lines for
each parameter. You can enter more than one parameter with the set logicalDrive command by leaving a
space between the parameters, as in this example:
set logicalDrive[“7”] cacheFlushModifier=10 cacheWithoutBatteryEnabled=false
modificationPriority=high;
By using separate lines, you can see more clearly the parameters that you are setting and the values to
which you are setting the parameters. Blocking the parameters in this manner makes it easier to either
edit the file or copy specific parameter settings for use in another script file.
10-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
show “Setting additional attributes for logical drive 7”'//Configuration settings
that cannot be set during logical drive creation
set logicalDrive [“7”] cacheFlushModifier=10;
set logicalDrive [“7”] cacheWithoutBatteryEnabled=false;
set logicalDrive [“7”] mirrorEnabled=true;
set logicalDrive [“7”] readCacheEnabled=true;
set logicalDrive [“7”] writeCacheEnabled=true;
set logicalDrive [“7”] mediaScanEnabled=false;
set logicalDrive [“7”] redundantCheckEnabled=false;
set logicalDrive [“7”] modificationPriority=high;
The command in this example, like the create logicalDrive command in the previous example, creates a
new logical drive. The significant difference between these two examples is that this example shows how
you can define specific disk drives to include in the logical drive. Use the show storageSubsystem profile
command to find out what disk drives are available in a storage subsystem.
Deprecated Commands
Table 11-1. Deprecated Commands
Deprecated Command New Command
Removed.
accept storageSubsystem pendingTopology
(allHosts | host [user-label] | hosts
[user-label])
show Removed.
storageSubsystem pendingTopology
show show
logicalDrives logicalDrive [userLabel] storageSubsystem profile
capacity=logicalDriveCapacity capacity=logicalDriveCapacity
raidLevel=(0 | 1 | 3 | 5) userLabel= owner=(a | b)
logicalDriveName owner=(a | b) cacheReadPrefetch=(TRUE | FALSE)
usageHint=usageHintSpec segmentSize= segmentSize=segmentSizeValue
segmentSizeValue readAheadMultiplier=
multiplierValue In the create RAID logicalDrive
commands, the new commands use fewer
optional attribute�value pairs.
11-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 11-1. Deprecated Commands (continued)
Deprecated Command New Command
11-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table 11-1. Deprecated Commands (continued)
Deprecated Command New Command
Deprecated Parameters
Table 11-2. Deprecated Parameters
Old Syntax New Syntax
clearEventLog clear storageSubsystem eventLog
copyEntry volumeCopy
database Removed
disableFlashcopy stop flashcopy
enforceSoftLimit Removed
featureKey feature
filesystem Removed
gatewayIPAddress IPv4GatewayIP
hostType Removed from the create host port
command and the set host port
command.
id[] logicalDrive<>
11-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Appendix. Additional Documentation
Finding DS3000, DS4000, and DS5000 documents
The following tables present an overview of the IBM System Storage Storage Manager, Storage
Subsystem, and Storage Expansion Enclosure product libraries, as well as other related documents. Each
table lists documents that are included in the libraries and what common tasks they address.
You can access the documents listed in these tables at both of the following Web sites:
www.ibm.com/servers/storage/support/disk/
www.ibm.com/shop/publications/order/
The following table associates each document in the DS3000 Storage Subsystem library with its related
common user tasks.
Table A-1. DS3000 Storage Subsystem document titles by user tasks
Title User Tasks
Planning Hardware Software Configuration Operation and Diagnosis and
Installation Installation Administration Maintenance
IBM System Storage
DS3000 Storage
Subsystem
U U U U U
Installation, User’s
and Maintenance
Guides
IBM System Storage
DS3000 Quick Start U
Guides
The following table associates each document in the DS4000 Storage Subsystem library with its related
common user tasks.
Table A-2. DS4000 Storage Subsystem document titles by user tasks
Title User Tasks
Planning Hardware Software Configuration Operation and Diagnosis and
Installation Installation Administration Maintenance
IBM System Storage
DS4000 Storage
Subsystem
U U U U U
Installation, User’s
and Maintenance
Guides
IBM System Storage
DS4000 Quick Start U
Guides
The following table associates each of the following documents with its related common user tasks.
Table A-3. Storage Expansion Enclosure document titles by user tasks
Title User Tasks
Planning Hardware Software Configuration Operation and Diagnosis and
Installation Installation Administration Maintenance
IBM System Storage
EXPxxx Storage
Expansion Enclosure
U U U U U
Installation, User’s,
and Maintenance
Guide
IBM System Storage
Quick Start Guide,
Quick Reference for
the DS4700 and
U U U
DS4200, Sections 2,
3, and 4 also for
installing the EXP810
and EXP420
IBM System Storage
Hard Drive and
Storage Expansion
U U
Enclosures
Installation and
Migration Guide
IBM System Storage
Quick Start Guide,
Quick Reference for
U U U
the DS5100 and
DS5300, and the
EXP5000
The following table associates each of the following documents with its related common user tasks.
Table A-4. DS3000 and DS4000–related document titles by user tasks
Title User Tasks
Planning Hardware Software Configuration Operation and Diagnosis and
Installation Installation Administration Maintenance
IBM Safety
U
Information
IBM TotalStorage®
Hardware
U
Maintenance Manual
¹
IBM System Storage
Problem U
Determination Guide
A-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Table A-4. DS3000 and DS4000–related document titles by user tasks (continued)
Title User Tasks
Planning Hardware Software Configuration Operation and Diagnosis and
Installation Installation Administration Maintenance
IBM Fibre Channel
Planning and
Integration: User’s U U U U
Guide and Service
Information
IBM TotalStorage
FC2-133 Host Bus
U U
Adapter Installation
and User’s Guide
IBM TotalStorage
FC2-133 Dual Port
Host Bus Adapter U U
Installation and
User’s Guide
IBM Netfinity® Fibre
Channel Cabling U
Instructions
IBM Fibre Channel
SAN Configuration U U U U
Setup Guide
Note:
1. The IBM TotalStorage DS4000 Hardware Maintenance Manual does not contain maintenance information for the IBM
System Storage DS4100, DS4200, DS4300, DS4500, DS4700, DS4800, DS5100, or DS5300 storage subsystems. You
can find maintenance information for these products in the IBM System Storage DSx000 Storage Subsystem
Installation, User’s, and Maintenance Guide for the particular subsystem.
IBM may not offer the products, services, or features discussed in this document in other countries.
Consult your local IBM representative for information on the products and services currently available in
your area. Any reference to an IBM product, program, or service is not intended to state or imply that
only that IBM product, program, or service may be used. Any functionally equivalent product, program,
or service that does not infringe any IBM intellectual property right may be used instead. However, it is
the user’s responsibility to evaluate and verify the operation of any non-IBM product, program, or
service.
IBM may have patents or pending patent applications covering subject matter described in this
document. The furnishing of this document does not grant you any license to these patents. You can send
license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property
Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation
Licensing
2-31 Roppongi 3-chome, Minato-ku
Tokyo 106-0032, Japan
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATIONS ″AS IS″ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some
states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this
statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically
made to the information herein; these changes will be incorporated in new editions of the publications.
IBM may make improvements or changes (or both) in the product(s) or program(s) (or both), described in
this publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in
any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of
the materials for this IBM product and use of those Web sites is at your own risk.
Information concerning non-IBM products was obtained from the suppliers of those products, their
published announcements or other publicly available sources. IBM has not tested those products and
cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM
products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of
those products.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
B-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Glossary
This glossary provides definitions for the host-agent to communicate with the
terminology and abbreviations used in IBM controllers in the storage subsystem.
System Storage publications.
adapter
A printed circuit assembly that transmits
If you do not find the term you are looking for,
user data input/output (I/O) between the
see the IBM Glossary of Computing Terms located at
internal bus of the host system and the
the following Web site:
external fibre-channel (FC) link and vice
versa. Also called an I/O adapter, host
http://www.ibm.com/ibm/terminology
adapter, or FC adapter.
This glossary also includes terms and definitions advanced technology (AT®) bus architecture
from: A bus standard for IBM compatibles. It
v Information Technology Vocabulary by extends the XT™ bus architecture to 16
Subcommittee 1, Joint Technical Committee 1, bits and also allows for bus mastering,
of the International Organization for although only the first 16 MB of main
Standardization and the International memory are available for direct access.
Electrotechnical Commission (ISO/IEC agent A server program that receives virtual
JTC1/SC1). Definitions are identified by the connections from the network manager
symbol (I) after the definition; definitions taken (the client program) in a Simple Network
from draft international standards, committee Management Protocol-Transmission
drafts, and working papers by ISO/IEC Control Protocol/Internet Protocol
JTC1/SC1 are identified by the symbol (T) after (SNMP-TCP/IP) network-managing
the definition, indicating that final agreement environment.
has not yet been reached among the
participating National Bodies of SC1. AGP See accelerated graphics port.
v IBM Glossary of Computing Terms. New York: AL_PA
McGraw-Hill, 1994. See arbitrated loop physical address.
arbitrated loop
The following cross-reference conventions are
One of three existing fibre-channel
used in this glossary:
topologies, in which 2 - 126 ports are
See Refers you to (a) a term that is the interconnected serially in a single loop
expanded form of an abbreviation or circuit. Access to the Fibre Channel
acronym, or (b) a synonym or more Arbitrated Loop (FC-AL) is controlled by
preferred term. an arbitration scheme. The FC-AL
topology supports all classes of service
See also
and guarantees in-order delivery of FC
Refers you to a related term.
frames when the originator and responder
Abstract Windowing Toolkit (AWT) are on the same FC-AL. The default
A Java graphical user interface (GUI). topology for the disk array is arbitrated
loop. An arbitrated loop is sometimes
accelerated graphics port (AGP)
referred to as a Stealth Mode.
A bus specification that gives low-cost 3D
graphics cards faster access to main arbitrated loop physical address (AL_PA)
memory on personal computers than the An 8-bit value that is used to uniquely
usual peripheral component interconnect identify an individual port within a loop.
(PCI) bus. AGP reduces the overall cost of A loop can have one or more AL_PAs.
creating high-end graphics subsystems by
array A collection of fibre-channel or SATA hard
using existing system memory.
drives that are logically grouped together.
access volume All the drives in the array are assigned
A special logical drive that allows the the same RAID level. An array is
C-2 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
dac See disk array controller. (FC) device. It is not used in the fibre
channel-small computer system interface
dar See disk array router.
(FC-SCSI) hardware path ID. It is required
DASD to be the same for all SCSI targets
See direct access storage device. logically connected to an FC adapter.
data striping drive channels
See striping. The DS4200, DS4700, and DS4800
subsystems use dual-port drive channels
default host group
that, from the physical point of view, are
A logical collection of discovered host
connected in the same way as two drive
ports, defined host computers, and
loops. However, from the point of view of
defined host groups in the
the number of drives and enclosures, they
storage-partition topology that fulfill the
are treated as a single drive loop instead
following requirements:
of two different drive loops. A group of
v Are not involved in specific logical storage expansion enclosures are
drive-to-LUN mappings connected to the DS4000 storage
v Share access to logical drives with subsystems using a drive channel from
default logical drive-to-LUN mappings each controller. This pair of drive
channels is referred to as a redundant
device type
drive channel pair.
Identifier used to place devices in the
physical map, such as the switch, hub, or drive loops
storage. A drive loop consists of one channel from
each controller combined to form one pair
DHCP See Dynamic Host Configuration Protocol.
of redundant drive channels or a
direct access storage device (DASD) redundant drive loop. Each drive loop is
A device in which access time is associated with two ports. (There are two
effectively independent of the location of drive channels and four associated ports
the data. Information is entered and per controller.) For the DS4800, drive
retrieved without reference to previously loops are more commonly referred to as
accessed data. (For example, a disk drive drive channels. See drive channels.
is a DASD, in contrast with a tape drive,
DRAM
which stores data as a linear sequence.)
See dynamic random access memory.
DASDs include both fixed and removable
storage devices. Dynamic Host Configuration Protocol (DHCP)
A protocol defined by the Internet
direct memory access (DMA)
Engineering Task Force that is used for
The transfer of data between memory and
dynamically assigning Internet Protocol
an input/output (I/O) device without
(IP) addresses to computers in a network.
processor intervention.
dynamic random access memory (DRAM)
disk array controller (dac)
A storage in which the cells require
A disk array controller device that
repetitive application of control signals to
represents the two controllers of an array.
retain stored data.
See also disk array router.
ECC See error correction coding.
disk array router (dar)
A disk array router that represents an EEPROM
entire array, including current and See electrically erasable programmable
deferred paths to all logical unit numbers read-only memory.
(LUNs) (hdisks on AIX). See also disk
EISA See Extended Industry Standard Architecture.
array controller.
electrically erasable programmable read-only
DMA See direct memory access.
memory (EEPROM)
domain A type of memory chip which can retain
The most significant byte in the node port its contents without consistent electrical
(N_port) identifier for the fibre-channel power. Unlike the PROM which can be
Glossary C-3
programmed only once, the EEPROM can N_ports using address information in the
be erased electrically. Because it can only frame header. A fabric can be as simple as
be reprogrammed a limited number of a point-to-point channel between two
times before it wears out, it is appropriate N-ports, or as complex as a frame-routing
for storing small amounts of data that are switch that provides multiple and
changed infrequently. redundant internal pathways within the
fabric between F_ports.
electrostatic discharge (ESD)
The flow of current that results when fabric port (F_port)
objects that have a static charge come into In a fabric, an access point for connecting
close enough proximity to discharge. a user’s N_port. An F_port facilitates
N_port logins to the fabric from nodes
environmental service module (ESM) canister
connected to the fabric. An F_port is
A component in a storage expansion
addressable by the N_port connected to it.
enclosure that monitors the environmental
See also fabric.
condition of the components in that
enclosure. Not all storage subsystems FC See Fibre Channel.
have ESM canisters.
FC-AL See arbitrated loop.
E_port See expansion port.
feature enable identifier
error correction coding (ECC) A unique identifier for the storage
A method for encoding data so that subsystem, which is used in the process
transmission errors can be detected and of generating a premium feature key. See
corrected by examining the data on the also premium feature key.
receiving end. Most ECCs are
Fibre Channel (FC)
characterized by the maximum number of
A set of standards for a serial
errors they can detect and correct.
input/output (I/O) bus capable of
ESD See electrostatic discharge. transferring data between two ports at up
to 100 Mbps, with standards proposals to
ESM canister
go to higher speeds. FC supports
See environmental service module canister.
point-to-point, arbitrated loop, and
automatic ESM firmware synchronization switched topologies.
When you install a new ESM into an
Fibre Channel Arbitrated Loop (FC-AL)
existing storage expansion enclosure in a
See arbitrated loop.
DS4000 storage subsystem that supports
automatic ESM firmware synchronization, Fibre Channel Protocol (FCP) for small computer
the firmware in the new ESM is system interface (SCSI)
automatically synchronized with the A high-level fibre-channel mapping layer
firmware in the existing ESM. (FC-4) that uses lower-level fibre-channel
(FC-PH) services to transmit SCSI
EXP See storage expansion enclosure.
commands, data, and status information
expansion port (E_port) between a SCSI initiator and a SCSI target
A port that connects the switches for two across the FC link by using FC frame and
fabrics. sequence formats.
Extended Industry Standard Architecture (EISA) field replaceable unit (FRU)
A bus standard for IBM compatibles that An assembly that is replaced in its
extends the Industry Standard entirety when any one of its components
Architecture (ISA) bus architecture to 32 fails. In some cases, a field replaceable
bits and allows more than one central unit might contain other field replaceable
processing unit (CPU) to share the bus. units. Contrast with customer replaceable
See also Industry Standard Architecture. unit (CRU).
fabric A fibre channel entity which interconnects FlashCopy
and facilitates logins of N_ports attached A premium feature for that can make an
to it. The fabric is responsible for routing instantaneous copy of the data in a
frames between source and destination volume.
C-4 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
F_port See fabric port. menu bars and other menus, overlapping
windows, icons, and the object-action
FRU See field replaceable unit.
relationship.
GBIC See gigabit interface converter
GUI See graphical user interface.
gigabit interface converter (GBIC)
HBA See host bus adapter.
A transceiver that performs serial,
optical-to-electrical, and hdisk An AIX term representing a logical unit
electrical-to-optical signal conversions for number (LUN) on an array.
high-speed networking. A GBIC can be
heterogeneous host environment
hot swapped. See also small form-factor
A host system in which multiple host
pluggable.
servers, which use different operating
Global Copy systems with their own unique disk
Refers to a remote logical drive mirror storage subsystem settings, connect to the
pair that is set up using asynchronous same storage subsystem at the same time.
write mode without the write consistency See also host.
group option. This is also referred to as
host A system that is directly attached to the
″Asynchronous Mirroring without
storage subsystem through a fibre-channel
Consistency Group.″ Global Copy does
input/output (I/O) path. This system is
not ensure that write requests to multiple
used to serve data (typically in the form
primary logical drives are carried out in
of files) from the storage subsystem. A
the same order on the secondary logical
system can be both a storage management
drives as they are on the primary logical
station and a host simultaneously.
drives. If it is critical that writes to the
primary logical drives are carried out in host bus adapter (HBA)
the same order in the appropriate An interface between the fibre-channel
secondary logical drives, Global Mirroring network and a workstation or server.
should be used instead of Global Copy.
host computer
See also asynchronous write mode, Global
See host.
Mirroring, remote mirroring, Metro
Mirroring. host group
An entity in the storage partition
Global Mirroring
topology that defines a logical collection
Refers to a remote logical drive mirror
of host computers that require shared
pair that is set up using asynchronous
access to one or more logical drives.
write mode with the write consistency
group option. This is also referred to as host port
″Asynchronous Mirroring with Ports that physically reside on the host
Consistency Group.″ Global Mirroring adapters and are automatically discovered
ensures that write requests to multiple by the Storage Manager software. To give
primary logical drives are carried out in a host computer access to a partition, its
the same order on the secondary logical associated host ports must be defined.
drives as they are on the primary logical
hot swap
drives, preventing data on the secondary
To replace a hardware component without
logical drives from becoming inconsistent
turning off the system.
with the data on the primary logical
drives. See also asynchronous write mode, hub In a network, a point at which circuits are
Global Copy, remote mirroring, Metro either connected or switched. For
Mirroring. example, in a star network, the hub is the
central node; in a star/ring network, it is
graphical user interface (GUI)
the location of wiring concentrators.
A type of computer interface that presents
a visual metaphor of a real-world scene, IBMSAN driver
often of a desktop, by combining The device driver that is used in a Novell
high-resolution graphics, pointing devices, NetWare environment to provide
multipath input/output (I/O) support to
the storage controller.
Glossary C-5
IC See integrated circuit. interrupt request (IRQ)
A type of input found on many
IDE See integrated drive electronics.
processors that causes the processor to
in-band suspend normal processing temporarily
Transmission of management protocol and start running an interrupt handler
over the fibre-channel transport. routine. Some processors have several
interrupt request inputs that allow
Industry Standard Architecture (ISA)
different priority interrupts.
Unofficial name for the bus architecture of
the IBM PC/XT™ personal computer. This IP See Internet Protocol.
bus design included expansion slots for
IPL See initial program load.
plugging in various adapter boards. Early
versions had an 8-bit data path, later IRQ See interrupt request.
expanded to 16 bits. The ″Extended
ISA See Industry Standard Architecture.
Industry Standard Architecture″ (EISA)
further expanded the data path to 32 bits. Java Runtime Environment (JRE)
See also Extended Industry Standard A subset of the Java Development Kit
Architecture. (JDK) for end users and developers who
want to redistribute the Java Runtime
initial program load (IPL)
Environment (JRE). The JRE consists of
The initialization procedure that causes an
the Java virtual machine, the Java Core
operating system to commence operation.
Classes, and supporting files.
Also referred to as a system restart,
system startup, and boot. JRE See Java Runtime Environment.
integrated circuit (IC) label A discovered or user entered property
A microelectronic semiconductor device value that is displayed underneath each
that consists of many interconnected device in the Physical and Data Path
transistors and other components. ICs are maps.
constructed on a small rectangle cut from
LAN See local area network.
a silicon crystal or other semiconductor
material. The small size of these circuits LBA See logical block address.
allows high speed, low power dissipation,
local area network (LAN)
and reduced manufacturing cost
A computer network located on a user’s
compared with board-level integration.
premises within a limited geographic
Also known as a chip.
area.
integrated drive electronics (IDE)
logical block address (LBA)
A disk drive interface based on the 16-bit
The address of a logical block. Logical
IBM personal computer Industry Standard
block addresses are typically used in
Architecture (ISA) in which the controller
hosts’ I/O commands. The SCSI disk
electronics reside on the drive itself,
command protocol, for example, uses
eliminating the need for a separate
logical block addresses.
adapter card. Also known as an
Advanced Technology Attachment logical partition (LPAR)
Interface (ATA). A subset of a single system that contains
resources (processors, memory, and
Internet Protocol (IP)
input/output devices). A logical partition
A protocol that routes data through a
operates as an independent system. If
network or interconnected networks. IP
hardware requirements are met, multiple
acts as an intermediary between the
logical partitions can exist within a
higher protocol layers and the physical
system.
network.
A fixed-size portion of a logical volume.
Internet Protocol (IP) address
A logical partition is the same size as the
The unique 32-bit address that specifies
physical partitions in its volume group.
the location of each device or workstation
Unless the logical volume of which it is a
on the Internet. For example, 9.67.97.103
part is mirrored, each logical partition
is an IP address.
C-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
corresponds to, and its contents are stored sublayer of the data link control layer that
on, a single physical partition. supports medium-dependent functions
and uses the services of the physical layer
One to three physical partitions (copies).
to provide services to the logical link
The number of logical partitions within a
control sublayer. The MAC sublayer
logical volume is variable.
includes the method of determining when
logical unit number (LUN) a device has access to the transmission
An identifier used on a small computer medium.
system interface (SCSI) bus to distinguish
Metro Mirroring
among up to eight devices (logical units)
This term is used to refer to a remote
with the same SCSI ID.
logical drive mirror pair which is set up
loop address with synchronous write mode. See also
The unique ID of a node in fibre-channel remote mirroring, Global Mirroring.
loop topology sometimes referred to as a
MIB See management information base.
loop ID.
micro channel architecture (MCA)
loop group
Hardware that is used for PS/2 Model 50
A collection of storage area network
computers and above to provide better
(SAN) devices that are interconnected
growth potential and performance
serially in a single loop circuit.
characteristics when compared with the
loop port original personal computer design.
A node port (N_port) or fabric port
Microsoft Cluster Server (MSCS)
(F_port) that supports arbitrated loop
MSCS, a feature of Windows NT Server
functions associated with an arbitrated
(Enterprise Edition), supports the
loop topology.
connection of two servers into a cluster
LPAR See logical partition. for higher availability and easier
manageability. MSCS can automatically
LUN See logical unit number.
detect and recover from server or
MAC See medium access control. application failures. It can also be used to
balance server workload and provide for
management information base (MIB)
planned maintenance.
The information that is on an agent. It is
an abstraction of configuration and status mini hub
information. An interface card or port device that
receives short-wave fiber channel GBICs
man pages
or SFPs. These devices enable redundant
In UNIX-based operating systems, online
fibre channel connections from the host
documentation for operating system
computers, either directly or through a
commands, subroutines, system calls, file
fibre channel switch or managed hub,
formats, special files, stand-alone utilities,
over optical fiber cables to the DS4000
and miscellaneous facilities. Invoked by
Storage Server controllers. Each DS4000
the man command.
controller is responsible for two mini
MCA See micro channel architecture. hubs. Each mini hub has two ports. Four
host ports (two on each controller)
media scan
provide a cluster solution without use of
A media scan is a background process
a switch. Two host-side mini hubs are
that runs on all logical drives in the
shipped as standard. See also host port,
storage subsystem for which it has been
gigabit interface converter (GBIC), small
enabled, providing error detection on the
form-factor pluggable (SFP).
drive media. The media scan process
scans all logical drive data to verify that it mirroring
can be accessed, and optionally scans the A fault-tolerance technique in which
logical drive redundancy information. information on a hard disk is duplicated
on additional hard disks. See also remote
medium access control (MAC)
mirroring.
In local area networks (LANs), the
Glossary C-7
model The model identification that is assigned partitioning
to a device by its manufacturer. See storage partition.
MSCS See Microsoft Cluster Server. parity check
A test to determine whether the number
network management station (NMS)
of ones (or zeros) in an array of binary
In the Simple Network Management
digits is odd or even.
Protocol (SNMP), a station that runs
management application programs that A mathematical operation on the
monitor and control network elements. numerical representation of the
information communicated between two
NMI See non-maskable interrupt.
pieces. For example, if parity is odd, any
NMS See network management station. character represented by an even number
has a bit added to it, making it odd, and
non-maskable interrupt (NMI)
an information receiver checks that each
A hardware interrupt that another service
unit of information has an odd value.
request cannot overrule (mask). An NMI
bypasses and takes priority over interrupt PCI local bus
requests generated by software, the See peripheral component interconnect local
keyboard, and other such devices and is bus.
issued to the microprocessor only in
PDF See portable document format.
disastrous circumstances, such as severe
memory errors or impending power performance events
failures. Events related to thresholds set on storage
area network (SAN) performance.
node A physical device that allows for the
transmission of data within a network. peripheral component interconnect local bus
(PCI local bus)
node port (N_port)
A local bus for PCs, from Intel®, that
A fibre-channel defined hardware entity
provides a high-speed data path between
that performs data communications over
the CPU and up to 10 peripherals (video,
the fibre-channel link. It is identifiable by
disk, network, and so on). The PCI bus
a unique worldwide name. It can act as
coexists in the PC with the Industry
an originator or a responder.
Standard Architecture (ISA) or Extended
nonvolatile storage (NVS) Industry Standard Architecture (EISA)
A storage device whose contents are not bus. ISA and EISA boards plug into an IA
lost when power is cut off. or EISA slot, while high-speed PCI
controllers plug into a PCI slot. See also
N_port
Industry Standard Architecture, Extended
See node port.
Industry Standard Architecture.
NVS See nonvolatile storage.
polling delay
NVSRAM The time in seconds between successive
Nonvolatile storage random access discovery processes during which
memory. See nonvolatile storage. discovery is inactive.
Object Data Manager (ODM) port A part of the system unit or remote
An AIX proprietary storage mechanism controller to which cables for external
for ASCII stanza files that are edited as devices (such as display stations,
part of configuring a drive into the terminals, printers, switches, or external
kernel. storage units) are attached. The port is an
access point for data entry or exit. A
ODM See Object Data Manager.
device can contain one or more ports.
out-of-band
portable document format (PDF)
Transmission of management protocols
A standard specified by Adobe Systems,
outside of the fibre-channel network,
Incorporated, for the electronic
typically over Ethernet.
distribution of documents. PDF files are
compact; can be distributed globally by
C-8 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
e-mail, the Web, intranets, or CD-ROM; redundant array of independent disks (RAID)
and can be viewed with the Acrobat A collection of disk drives (array) that
Reader, which is software from Adobe appears as a single volume to the server,
Systems that can be downloaded at no which is fault tolerant through an
cost from the Adobe Systems home page. assigned method of data striping,
mirroring, or parity checking. Each array
premium feature key
is assigned a RAID level, which is a
A file that the storage subsystem
specific number that refers to the method
controller uses to enable an authorized
used to achieve redundancy and fault
premium feature. The file contains the
tolerance. See also array, parity check,
feature enable identifier of the storage
mirroring, RAID level, striping.
subsystem for which the premium feature
is authorized, and data about the redundant disk array controller (RDAC)
premium feature. See also feature enable (1) In hardware, a redundant set of
identifier. controllers (either active/passive or
active/active). (2) In software, a layer that
private loop
manages the input/output (I/O) through
A freestanding arbitrated loop with no
the active controller during normal
fabric attachment. See also arbitrated loop.
operation and transparently reroutes I/Os
program temporary fix (PTF) to the other controller in the redundant
A temporary solution or bypass of a set if a controller or I/O path fails.
problem diagnosed by IBM in a current
remote mirroring
unaltered release of the program.
Online, real-time replication of data
PTF See program temporary fix. between storage subsystems that are
maintained on separate media. The
RAID See redundant array of independent disks
Enhanced Remote Mirror Option is a
(RAID).
premium feature that provides support
RAID level for remote mirroring. See also Global
An array’s RAID level is a number that Mirroring, Metro Mirroring.
refers to the method used to achieve
ROM See read-only memory.
redundancy and fault tolerance in the
array. See also array, redundant array of router A computer that determines the path of
independent disks (RAID). network traffic flow. The path selection is
made from several paths based on
RAID set
information obtained from specific
See array.
protocols, algorithms that attempt to
RAM See random-access memory. identify the shortest or best path, and
other criteria such as metrics or
random-access memory (RAM)
protocol-specific destination addresses.
A temporary storage location in which the
central processing unit (CPU) stores and RVSD See recoverable virtual shared disk.
executes its processes. Contrast with
SAI See Storage Array Identifier.
DASD.
SA Identifier
RDAC
See Storage Array Identifier.
See redundant disk array controller.
SAN See storage area network.
read-only memory (ROM)
Memory in which stored data cannot be SATA See serial ATA.
changed by the user except under special
scope Defines a group of controllers by their
conditions.
Internet Protocol (IP) addresses. A scope
recoverable virtual shared disk (RVSD) must be created and defined so that
A virtual shared disk on a server node dynamic IP addresses can be assigned to
configured to provide continuous access controllers on the network.
to data and file systems in a cluster.
SCSI See small computer system interface.
Glossary C-9
segmented loop port (SL_port) POWER host systems to manage storage
A port that allows division of a subsystems through the host fibre-channel
fibre-channel private loop into multiple connection.
segments. Each segment can pass frames
SMclient
around as an independent loop and can
The Storage Manager client software,
connect through the fabric to other
which is a Java-based graphical user
segments of the same loop.
interface (GUI) that is used to configure,
sense data manage, and troubleshoot storage servers
(1) Data sent with a negative response, and storage expansion enclosures in a
indicating the reason for the response. (2) storage subsystem. SMclient can be used
Data describing an I/O error. Sense data on a host system or on a storage
is presented to a host system in response management station.
to a sense request command.
SMruntime
serial ATA A Java compiler for the SMclient.
The standard for a high-speed alternative
SMutil
to small computer system interface (SCSI)
The Storage Manager utility software that
hard drives. The SATA-1 standard is
is used on Microsoft Windows, AIX,
equivalent in performance to a 10 000
HP-UX, Solaris, and Linux on POWER
RPM SCSI drive.
host systems to register and map new
serial storage architecture (SSA) logical drives to the operating system. In
An interface specification from IBM in Microsoft Windows, it also contains a
which devices are arranged in a ring utility to flush the cached data of the
topology. SSA, which is compatible with operating system for a particular drive
small computer system interface (SCSI) before creating a FlashCopy.
devices, allows full-duplex packet
small computer system interface (SCSI)
multiplexed serial data transfers at rates
A standard hardware interface that
of 20 Mbps in each direction.
enables a variety of peripheral devices to
server A functional hardware and software unit communicate with one another.
that delivers shared resources to
small form-factor pluggable (SFP)
workstation client units on a computer
An optical transceiver that is used to
network.
convert signals between optical fiber
server/device events cables and switches. An SFP is smaller
Events that occur on the server or a than a gigabit interface converter (GBIC).
designated device that meet criteria that See also gigabit interface converter.
the user sets.
SNMP
SFP See small form-factor pluggable. See Simple Network Management Protocol
and SNMPv1.
Simple Network Management Protocol (SNMP)
In the Internet suite of protocols, a SNMP trap event
network management protocol that is
An event notification sent by the SNMP
used to monitor routers and attached
agent that identifies conditions, such as
networks. SNMP is an application layer
thresholds, that exceed a predetermined
protocol. Information on devices managed
value. See also Simple Network
is defined and stored in the application’s
Management Protocol.
Management Information Base (MIB).
SNMPv1
SL_port
The original standard for SNMP is now
See segmented loop port.
referred to as SNMPv1, as opposed to
SMagent SNMPv2, a revision of SNMP. See also
The Storage Manager optional Java-based Simple Network Management Protocol.
host-agent software, which can be used
SRAM
on Microsoft Windows, Novell NetWare,
See static random access memory.
AIX, HP-UX, Solaris, and Linux on
C-10 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
SSA See serial storage architecture. striping
Splitting data to be written into equal
static random access memory (SRAM)
blocks and writing blocks simultaneously
Random access memory based on the
to separate disk drives. Striping
logic circuit know as flip-flop. It is called
maximizes performance to the disks.
static because it retains a value as long as
Reading the data back is also scheduled
power is supplied, unlike dynamic
in parallel, with a block being read
random access memory (DRAM), which
concurrently from each disk then
must be regularly refreshed. It is however,
reassembled at the host.
still volatile, meaning that it can lose its
contents when the power is turned off. subnet
An interconnected but independent
storage area network (SAN)
segment of a network that is identified by
A dedicated storage network tailored to a
its Internet Protocol (IP) address.
specific environment, combining servers,
storage products, networking products, sweep method
software, and services. See also fabric. A method of sending Simple Network
Management Protocol (SNMP) requests
Storage Array Identifier (SAI or SA Identifier)
for information to all the devices on a
The Storage Array Identifier is the
subnet by sending the request to every
identification value used by the Storage
device in the network.
Manager host software (SMClient) to
uniquely identify each managed storage switch A fibre-channel device that provides full
server. The Storage Manager SMClient bandwidth per port and high-speed
program maintains Storage Array routing of data by using link-level
Identifier records of previously-discovered addressing.
storage servers in the host resident file,
switch group
which allows it to retain discovery
A switch and the collection of devices
information in a persistent fashion.
connected to it that are not in other
storage expansion enclosure (EXP) groups.
A feature that can be connected to a
switch zoning
system unit to provide additional storage
See zoning.
and processing capacity.
synchronous write mode
storage management station
In remote mirroring, an option that
A system that is used to manage the
requires the primary controller to wait for
storage subsystem. A storage management
the acknowledgment of a write operation
station does not need to be attached to
from the secondary controller before
the storage subsystem through the
returning a write I/O request completion
fibre-channel input/output (I/O) path.
to the host. See also asynchronous write
storage partition mode, remote mirroring, Metro Mirroring.
Storage subsystem logical drives that are
system name
visible to a host computer or are shared
Device name assigned by the vendor’s
among host computers that are part of a
third-party software.
host group.
TCP See Transmission Control Protocol.
storage partition topology
In the Storage Manager client, the TCP/IP
Topology view of the Mappings window See Transmission Control Protocol/Internet
displays the default host group, the Protocol.
defined host group, the host computer,
terminate and stay resident program (TSR
and host-port nodes. The host port, host
program)
computer, and host group topological
A program that installs part of itself as an
elements must be defined to grant access
extension of DOS when it is executed.
to host computers and host groups using
logical drive-to-LUN mappings. topology
The physical or logical arrangement of
Glossary C-11
devices on a network. The three installed between a computer system and
fibre-channel topologies are fabric, its power source. The uninterruptible
arbitrated loop, and point-to-point. The power supply keeps the system running if
default topology for the disk array is a commercial power failure occurs, until
arbitrated loop. an orderly shutdown of the system can be
performed.
TL_port
See translated loop port. user action events
Actions that the user takes, such as
transceiver
changes in the storage area network
A device that is used to transmit and
(SAN), changed settings, and so on.
receive data. Transceiver is an
abbreviation of transmitter-receiver. worldwide port name (WWPN)
A unique identifier for a switch on local
translated loop port (TL_port)
and global networks.
A port that connects to a private loop and
allows connectivity between the private worldwide name (WWN)
loop devices and off loop devices (devices A globally unique 64-bit identifier
not connected to that particular TL_port). assigned to each fibre channel port.
Transmission Control Protocol (TCP) WORM
A communication protocol used in the See write-once read-many.
Internet and in any network that follows
write-once read many (WORM)
the Internet Engineering Task Force (IETF)
Any type of storage medium to which
standards for internetwork protocol. TCP
data can be written only a single time, but
provides a reliable host-to-host protocol
can be read from any number of times.
between hosts in packed-switched
After the data is recorded, it cannot be
communication networks and in
altered.
interconnected systems of such networks.
It uses the Internet Protocol (IP) as the WWN See worldwide name.
underlying protocol.
zoning
Transmission Control Protocol/Internet Protocol In fibre channel environments, the
(TCP/IP) grouping of multiple ports to form a
A set of communication protocols that virtual, private, storage network. Ports
provide peer-to-peer connectivity that are members of a zone can
functions for both local and wide-area communicate with each other, but are
networks. isolated from ports in other zones.
trap In the Simple Network Management A function that allows segmentation of
Protocol (SNMP), a message sent by a nodes by address, name, or physical port
managed node (agent function) to a and is provided by fabric switches or
management station to report an hubs.
exception condition.
trap recipient
Receiver of a forwarded Simple Network
Management Protocol (SNMP) trap.
Specifically, a trap receiver is defined by
an Internet Protocol (IP) address and port
to which traps are sent. Presumably, the
actual recipient is a software application
running at the IP address and listening to
the port.
TSR program
See terminate and stay resident program.
uninterruptible power supply
A source of power from a battery that is
C-12 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Index
A P
Activate Host Port 3-22 products, developed B-1
Activate iSCSI Initiator 3-23
address
of the IBM director of licensing
address, IBM xiv
B-1 R
resources
AIX host
Web sites xiii
support xiii
C S
sending your comments to IBM xiv
comments about this document, how to
services offered in the U.S.A. B-1
send xiv
storage area network (SAN)
technical support Web site xiii
Storage Manager software
D where to obtain xii
device drivers switch
downloading latest versions xii technical support Web site xiii
documentation System p host
Web sites xiii support xiii
documentation, Storage Subsystem, System Storage Interoperation Center
Storage Subsystem library A-1 (SSIC) xiii
drivers xii System x host
DS3000 software/firmware support xi support xiii
DS4000 software/firmware support xi
DS5000 software/firmware support xi
T
trademarks xvii
F
fire suppression xiv
W
Web sites
G AIX xiii
glossary C-1 Fix central xiv
IBM publications center xiv
IBM System Storage product
H information xiv
interoperability matrix xiii
hardware service and support xiv
list xiii
how to send your comments xiv
premium feature activation xiii
SAN support xiii
SSIC xiii
I switch support xiii
IBM System p xiii
director of licensing address B-1 System x xiii
IBM address xiv
Intel and AMD-based host
support xiii
L
Linux host
support xiii
N
notices
general B-1
We appreciate your comments about this publication. Please comment on specific errors or omissions, accuracy,
organization, subject matter, or completeness of this book. The comments you send should pertain to only the
information in this manual or product and the way in which the information is presented.
For technical questions and information about products and prices, please contact your IBM branch office, your
IBM business partner, or your authorized remarketer.
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any
way it believes appropriate without incurring any obligation to you. IBM or any other organizations will only use
the personal information that you supply to contact you about the issues that you state on this form.
Comments:
Name Address
Company or Organization
_ _ _ _ _ _ _Fold
_ _ _and
_ _ _Tape
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Please
_ _ _ _ _do
_ _not
_ _ staple
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Fold
_ _ _and
_ _ Tape
______
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
DS3000/DS4000/DS5000
GZW
900 South Rita Road
Tucson, AZ
USA 85744-0001
_________________________________________________________________________________________
Fold and Tape Please do not staple Fold and Tape
Cut or Fold
GC52-1275-02 Along Line
����
Printed in USA
GC52-1275-02