Createsnapshotwithlunonlastpit command, Deletepitorsnapshot command – HP SAN Virtualization Services Platform User Manual

Page 30

Advertising
background image

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 asynchronous/synchronous mirror PiT on the specific virtual
disk is used. 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.

NOTE:

This command is similar to CreateSnapshot, but enables you to associate the created
snapshot to a specific LUN number on each host.

The command is designed for a UDH (user defined host), under the intelligent switch framework.

If the LUN number for UDH is set to -1, a LUN is associated automatically to that snapshot
under the relevant host.

If you want to give permissions to the host, but the LUN number is not important (but still assigned),
the LUN number for the host should be -1. Check the VSM user guide documentation for valid
values.

CreateSnapshotWithLunOnLastPiT

command

Syntax

CreateSnapshotWithLunOnLastPiT -VirtualDisk VirtualDiskName, ~
[-Type Any | MV | UserPiT | SyncPiT ,] ~
-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 on the virtual disk's most recently created PiT. The PiT name is not
specified, but the PiT type can be specified.

NOTE:

This command is similar to the CreateSnapshotOnLastPiT command, but enables you
to associate the created snapshot to a specific LUN number on each host.

The command is designed for a UDH (user defined host), under the intelligent switch framework.

If the LUN number for UDH is set to -1, a LUN is associated automatically to that snapshot
under the relevant host.

If you want to give permissions to the host, but the LUN number is not important (but still assigned),
the LUN number for the host should be -1.

DeletePiTOrSnapshot

command

Syntax

DeletePiTOrSnapshot -name SnapshotOrPiTName [LastInstance], -timeout 900

30

Using the VSM command line interface

Advertising