HP StorageWorks SAN Virtualization Services Platform Manager command line interface user guide (AG781-96016, March 2009)

For example:
AddSnapcloneTaskEx -group Group1, ~
-task Task1 _priority 1 _StoragePool Pool1 _host Myhost ~
_permission RW, -timeout 900
The order of arguments is insignificant. Arguments may be entered in any order. However, the
order of values and keywords for each argument must be the same as in the examples.
If an input file is specified, the # character, followed by a white-space separator at the beginning
of a line in the file, marks a comment line that is not processed by the CLI.
Names containing white spaces or special symbols (tildes, quotes, dashes, and so on) must be
enclosed between quotation marks to avoid problems in parsing the command line. Also, the
decimal symbol in some regions is a comma (for example, 1,24), which is normally used as an
argument separator. Consequently, enclose numbers with a decimal symbol between quotation
marks to avoid this problem.
NOTE:
When using the -C option, you must use \” (backslash and quotation mark) instead of a simple
quotation mark before and after the string name. (The backslash character is the literal escape
character that causes the next character to be treated literally.)
Note the following two examples:
In a script file:
CreatePiT -VirtualDisk “my Vdisk”, -PiTName “my PiT”, ~
-timeout 900
In a command file:
vsm_cli -c CreatePiT -VirtualDisk \”my vol\”, ~
-PiTName \”my PiT\”, -timeout 900
Name strings of created objects (virtual disks, PiTs, snapshots, and so on) are not allowed to
contain the following characters:
" : ' ; , * % { } [ ] ~ / \ ? < > |
Some commands have aliases, such as a primary name and an alternate name. In these cases,
either command name can be used (preferably the primary name). Only the primary name of a
command is used in the produced CLI output.
Basic interactive help (console mode)
When using the VSM CLI in console mode, you can list available commands by entering the ? character
at the command line prompt. The VSM CLI treats this character as a wildcard when searching the
command repository. For example, entering the list? command results in the following:
.
.
.
ListStoragePools
ListSyncMirrorGroups
ListSyncMirrorPiTs
ListVDGroupPiTs
ListVDGroupSnapshots
ListVDGroups
VistVSMDomains
HP StorageWorks SAN Virtualization Services Platform Manager command line interface user
guide 19