HP StorageWorks SAN Virtualization Services Platform Administrator Guide (5697-0934, May 2011)

5 Installing the VSM command line interface
The Virtualization Services Manager (VSM) command line interface (CLI) provides scripting
capabilities that you can use to automate creation and modification of VSM objects or entities.
You may see references to the VSM CLI on some menu screens as SANAPI. The VSM CLI package
is separate from the VSM software and the DPM image. You must install the VSM CLI package on
every host for which a VSM object (such as a virtual disk, a PiT, or a snapshot) needs to be created
or modified. Each operating system has a specific, unique version of the VSM CLI package.
Before you can use the CLI commands, you must first install the appropriate CLI package on each
server, present it to all hosts using the VSM CLI, and then create a VSM CLI virtual disk.
Creating the VSM CLI virtual disk
This is done once for each SVSP domain and is used by all servers using the VSM CLI.
1. Start the VSM GUI.
2. From the menu bar, select Tools > Maintenance.
3. Click Create SANAPI Volume. The Create SANAPI wizard appears and the Enter volume
parameters dialog appears.
4. In the Volume name text box, type a unique name for the volume.
5. In the Comment text box, type optional information.
6. Click Next. The Select pool dialog appears.
7. In the Pools table, select the pool, and click Add. The pool appears in the Selected Pools table.
8. Click Next. The Select host dialog appears.
9. Choose the host from the Hosts table to which you want to assign permission to access the
VSM CLI virtual disk and from which the CLI will run.
10. Click Add. The host appears in the Selected Hosts table.
11. Click Next. The Select LUN dialog appears.
12. In the Select LUN dialog, select one of the LUN options:
Next free LUN (recommended)—VSM assigns the next available free LUN.
Specified LUN—Select the LUN from the Specified LUN drop-down list.
13. Click Next. A confirmation dialog appears.
14. Click Finish. The VSM CLI virtual disk is created and assigned to the appropriate host.
Install the appropriate VSM CLI package for the host operating system
The VSM CLI packages are on the Virtual Services Manager CD that is part of the media kit. At
the main screen, choose Browse to VSM CLI Packages. The actual version number of the package
may be different than the version numbers shown here.
AIX operating system
Install this package:
VSMCLI.AIX.5.1.29.1.LA.bff
HP-UX operating systems
Install this package:
VSMCLI.HPUX.V5.R1.29.0.depot
Linux operating system
Unzip and untar this file:
58 Installing the VSM command line interface