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

NOTE: To pass command line comments from the server to the SVSP it is necessary to create a
CLI virtual disk. This disk behaves like a "mailbox" for commands and responses.
Modes of command execution
There are three modes of command execution:
Interactive
Single command
Script
Interactive mode
Run the VSM CLI executable from the command prompt. To begin, enter SelectVSMDomain and
specify the SVSP domain name, user name, and password. Then type your commands directly to
the command line.
VSM_CLI -SD DomainName UserName Password
Single command mode
To execute one VSM CLI command at a time, enter the –C option before the VSM CLI command.
VSM_CLI -SD DomainName UserName Password ~
[-O output_file] -C VSM_CLI-Command
Script mode
The most common way to use the VSM CLI is to run scripts. The script containing the VSM CLI
commands is specified as an input file. You can also specify an output file to review the output of
the script for analysis or troubleshooting. The output file lists when the script was executed, the
name of each command and its parameters, and whether the script succeeded or failed (see
Figure 1 (page 9)).
8 Overview