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

NOTE:
The -host argument is considered optional by the VSM API, but is required by the VSM
(returns an error).
If [Template] is used, the name of the object must be less than 16 characters long.
If the LastInstance flag is used, the preceding PiT name is the root name, and the most recently
created snapshot PiT (with a template name) is used.
If the LastAsyncMirror/LastSyncMirror flag is used, the preceding PiT name is the root
name, and the most recently created async/sync mirror PiT on the specific virtual disk is used.
NOTE: This root name is different from the asynchronous/synchronous mirror template name.
You must retrieve this root name from the list of PiTs defined on the specific virtual disk.
CreateSnapshotOnLastPiT command
Syntax
CreateSnapshotOnLastPiT -VirtualDisk VirtualDiskName, ~
[-Type Any | MV | UserPiT | SyncPiT ,] ~
-snapshot SnapshotName [TEMPLATE], ~
-host HostName1 RW|OFF, ~
[-host HostName2 RW|OFF, ] -StoragePool PoolName, ~
-cluster 0|1, -timeout 900
Description
Creates a snapshot on the virtual disk's most recently created PiT. The PiT name is not specified,
but the PiT type can be specified.
The -Type specifies the type of the last PiT to use:
Any: Any PiT
MV: Snapshot PiT
UserPiT: Async mirror user PiT
SyncPiT: Sync PiT
If -Type is not specified, the last PiT is used (like the Any option).
NOTE:
The -host argument is considered optional by the VSM API, but is required by the VSM
(returns an error).
If [Template] is used, the name of the object must be less than 16 characters long.
CreateSnapshotWithLun command
Syntax
CreateSnapshotWithLun ~
-Pit NameOfPiT [LastInstance | LastAsyncMirror | LastSyncMirror], ~
-snapshot SnapshotName [TEMPLATE], ~
-host HostName1 RW|OFF, LunNumber, ~
[-host HostName2 RW|OFF LunNumber, ] ~
-StoragePool PoolName, ~
-cluster 0|1, -timeout 900
Description
Creates a snapshot with LUN.
CLI command guidance 29