Chapter 8. Command-line interface and Script Editor
497
Create_LUN AIX_B Data_FC 20 64 AIX_ITSO b 11
Create_LUN AIX_C Data_FC 20 128 AIX_ITSO a 12
Create_LUN AIX_D Data_FC 20 128 AIX_ITSO b 13
# Run cfgmgr and check final LUN configuration
/usr/sbin/cfgmgr
# For AIX 5.3 use /usr/bin/fget_config command
/usr/bin/mpio_get_config -Av
Renaming a DS5000 storage subsystem
Example 8-9, Example 8-10, and Example 8-11 demonstrate the differences between
running a command with the -c and -f options. The -c option requires you to be aware of
specialized parsing syntax for your particular platform. The -f option eliminates that need.
Example 8-9 Windows command line with -c option
C:\temp>"C:\Program Files\IBM_DS\client\SMcli.exe" 9.11.218.183 9.11.218.182 -p
xxxxxxx -c "set storagesubsystem userlabel=\"Tucson_5020\";"
Performing syntax check...
Syntax check complete.
Executing script...
Script execution complete.
SMcli completed successfully.
C:\temp>
Example 8-10 UNIX command line with -c option
/usr/SMclient/SMcli 9.11.218.183 9.11.218.182 -p xxxxxxx -c "set storagesubsystem
userlabel=\"ITSO_5020\";" <
Performing syntax check...
Syntax check complete.
Executing script...
Script execution complete.
SMcli completed successfully.
root@itsop630:/root
#
Example 8-11 Script file alternative on WIndows or UNIX
In userlabel.scr:
set storageSubsystem userlabel="Test DS5020";
On Windows or UNIX:
SMcli 9.11.218.163 9.11.218.164 -f userlabel.scr
Содержание System Storage DS4000
Страница 2: ......
Страница 18: ...xvi IBM Midrange System Storage Hardware Guide...
Страница 40: ...22 IBM Midrange System Storage Hardware Guide...
Страница 302: ...284 IBM Midrange System Storage Hardware Guide...
Страница 344: ...326 IBM Midrange System Storage Hardware Guide...
Страница 372: ...354 IBM Midrange System Storage Hardware Guide Figure 7 25 Drive firmware Incompatible...
Страница 490: ...472 IBM Midrange System Storage Hardware Guide...
Страница 522: ...504 IBM Midrange System Storage Hardware Guide...
Страница 544: ...526 IBM Midrange System Storage Hardware Guide...
Страница 561: ...Index 543 Z zoning 129 130...
Страница 562: ...544 IBM Midrange System Storage Hardware Guide...
Страница 564: ...IBM Midrange System Storage Hardware Guide IBM Midrange System Storage Hardware Guide...
Страница 565: ......