HP StorageWorks Storage System Scripting Utility reference (September 2005)

Examples
SSSU
This example starts the utility without additional arguments and prompts you for commands.
SSSU “FILE snap
D1.txt”
This example starts the utility and then executes the le snapD1.txt from the current directory .
SSSU “cmd1” “cmd2” “cmd3”
This example st
arts the utility and executes multiple c om m ands.
Shortcut commands
The utility command s and switches can be shortened to the length that makes them unique. For example,
a shortcut for EMVERSION could be EM (note that using just the letter E would not make the command
unique since EXERCISE_DISK also starts with the letter E).
Understandin
g paths and naming conventions
This section d
escribes important information about paths and naming conventions in the utility.
NOTE:
For detailed descriptions of the following commands, refer to Chapter 2.
Thefollowingimportantrootfoldersletyouorganizeyourarray:
You cannot create root-level folders. You can, however, create ad ditional folders within the \Hosts\ and
\Virtual Disks\ folders to organize your array (see ADD FOLDER)
“\Hosts\”
“\Disk Groups\”
“\Data Replication\”
“\Hardware\”
“\Virtual Disks\”
Virtual disk exa mple
Due to the space in the root name for the Virtual Disks folder, you must always enclose strings that include
the name of this folder within double quotes (“”) .
ADD VDISK “\Virtual Disks\new_code” SIZE=10
This example creates a virtual disk family named new_code in the default disk group.
This is a virtual disk family. The actual virtual disk name (the active virtual disk) is \Virtual
Disks\new_code\ACTIVE.
NOTE:
If you create a virtual disk (using A DD V DISK) within a deeper folder structure, you need to include the
full path within double quotes.
ADD VDISK “\Virtual Disks\engineering\gene_research” SIZE=2
Disk groups example
This example uses an alias to identify a disk group.
18
Getting started