HP StorageWorks SAN Virtualization Services Platform Manager Command Line Interface User Guide (5697-0936, May 2011)

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
ListVirtualDisks
** End of listing **
The ? wildcard can also be used to perform more complex searches. For example, typing get?info
produces a list of all commands that start with the “get” token, and have the “info” token after it.
The output would be:
.
.
.
GetDpmInfo
GetMigrationInfo
GetMyHostInfo
GetSnapcloneGroupInfo
GetSnapcloneTaskInfo
GetSyncMirrorGroupInfo
GetVDGroupInfo
** End of listing **
16 Using the VSM command line interface