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.
Assigning Global Hot Spares
You can assign or unassign global hot spares by using the
set drive
command. To use this command,
you must identify the location of the disk drives by the enclosure ID and the slot ID. Then, you set the
hotSpare
parameter to
TRUE
to enable the hot spare or
FALSE
to disable an existing hot spare. The
command takes this form:
set (drive [
enclosureID,slotID
] | drives
[
enclosureID1,slotID1 ... enclosureIDn,slotIDn
]) hotSpare=(TRUE | FALSE)
This example shows how to set hot spare disk drives:
c:\...\...\client>smcli 123.45.67.89 -c “set drives [1,2 1,3] hotSpare=TRUE;”
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.
Saving a Configuration to a File
After you have created a new configuration or if you want to copy an existing configuration for use on
other storage subsystems, you can save the configuration to a file by using the
save storageSubsystem
configuration
command. Saving the configuration creates a script file that you can run on the command
line. The command takes this form:
save storageSubsystem configuration file=”
filename
”
[(allconfig | globalSettings=(TRUE | FALSE)) |
logicalDriveConfigAndSettings=(TRUE | FALSE) |
hostTopology=(TRUE | FALSE) | lunMappings=(TRUE | FALSE)]
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.
4-50
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...