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-322 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
– subsystems
– 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:
© Copyright IBM Corp. 2008, 2012
3-1
Содержание System Storage DS3000
Страница 10: ...x IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 12: ...xii IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 46: ...2 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 382: ...3 336 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 476: ...7 16 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 504: ...9 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 512: ...10 8 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 530: ...11 18 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 590: ...12 60 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 594: ...13 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 596: ...14 2 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 598: ...A 2 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 599: ...Appendix A Examples of information returned by the show commands A 3...
Страница 600: ...A 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 601: ...Appendix A Examples of information returned by the show commands A 5...
Страница 602: ...A 6 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 603: ...Appendix A Examples of information returned by the show commands A 7...
Страница 604: ...A 8 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 605: ...Appendix A Examples of information returned by the show commands A 9...
Страница 606: ...A 10 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 607: ...Appendix A Examples of information returned by the show commands A 11...
Страница 608: ...A 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 609: ...Appendix A Examples of information returned by the show commands A 13...
Страница 610: ...A 14 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 611: ...Appendix A Examples of information returned by the show commands A 15...
Страница 623: ...Appendix A Examples of information returned by the show commands A 27...
Страница 624: ...A 28 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 625: ...Appendix A Examples of information returned by the show commands A 29...
Страница 626: ...A 30 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 627: ...Appendix A Examples of information returned by the show commands A 31...
Страница 628: ...A 32 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 632: ...B 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 648: ...F 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 651: ......
Страница 652: ...Part Number 00W1466 Printed in USA GA32 0961 05 1P P N 00W1466...