HP StorageWorks Storage System Scripting Utility reference (September 2005)

3Conguration exampl es
This chapter provides an example that describe how to use commands to create a simple conguration
and to view specic array information.
Select a management server cvevaserver to manage using the user default username and password
(administrator/administrator):
NoSystemSelected: select manager cvevaserver username=administrator
password=administrator
List the Systems (use the LS SYSTEM command to list arrays):
NoSystemSelected: ls system Systems available on this Manager:
Uninitialized Storage System [5000-1FE1-0015-1F50]
Select an array using the SELECT SYSTEM command (if an array is uninitialized, it will be shown
“Uninitialized Storage System with the world wide name xxxx-xxxx-xxxx-xxxx):
NoSystemSelected: select system "Uninitialized Storage System [5000-1FE1-0015-1F50]"
Add an array Archive (use the help system (?) to show available switches):
Uninitialized Storage System [5000-1FE1-0015-1F50]: add system Archive ?
The options are:
COMMENT
CONSOLE_LUN_ID
DEVICE_COUNT
DISKGROUP_DISKTYPE
SPARE_POLICY
Add 8 disks to the Archive array:
Uninitialized Storage System [5000-1FE1-0015-1F50]: add system Archive device_count=8
Use the LS SYSTEM command to show arrays:
NoSystemSelected: ls system
Systems available on this Manager:
Archive
Select the array Arc
hive:
NoSystemSelected: select system Archive
Add a 10GB virtual disk called History to Archive:
Archive: add vdisk History size=10
Add a new host called MainServer (use the help system (?) to list switches for ADD command) :
Archive: add host MainServer ?
The options are:
COMMENT
IP
HP StorageWorks Storage System Scripting Utilit y reference
71