HP StorageWorks SAN Virtualization Services Platform administrator guide (5697-0204, January 2010)

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 on each VSM server 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 LUNSelect 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.
HP StorageWorks SAN Virtualization Services Platform administrator guide 71