Script Command Structure
All script commands have the following structure:
command operand-data
(
statement-data
)
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.
The syntax for
operand-data
is as follows:
(
object-type
| all
object-types
| [
qualifier
] (
object-type
[
identifier
]
{
object-type
[
identifier
]} |
object-types
[
identifier-list
]))
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 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 only, or enclosure ID,
drawer ID, and slot ID, depending on the type of
storage enclosure
replacementDrive
Enclosure ID and slot ID only, or enclosure ID,
drawer ID, and slot ID, depending on the type of
storage enclosure
drivechannel
Drive channel identifier
host
User label
hostchannel
Host channel identifier
hostgroup
User label
hostport
User label
iscsiInitiator
Logical drive user label or iSCSI Qualified Name
(IQN)
iscsiTarget
Logical drive user label or IQN
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
2-2
IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Содержание 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...