HP P6000 Replication Solutions Manager Job Command Reference (T3680-96090, October 2012)

// Mount the replicated volume(s) on a host.15
PresentStorageVolumes ($Rep1, $mount_host) onerror pauseat E2:16
DiscoverDiskDevices ($mount_host, $Rep1) onerror continue17
$HV1 = CreateHostVolumeFromDiskDevices ($source_hostvol_unc1, $Rep1, $mount_host) onerror pauseat E2:18
$MP1 = MountHostVolume ($HV1, %mount_point1%) onerror pauseat E3:19
//20
// Wait for user to initiate rollback.21
Pause ()22
//23
// Rollback.24
E4: UnmountHostVolume ($MP1) onerror pauseat E4:25
E3: DeleteHostVolume ($HV1) onerror pauseat E3:26
//27
E2: DeleteStorageVolumes ($Rep1) onerror pauseat E2:28
//29
Exit (SUCCESS)30
//31
// Failure exit - no rollback needed.32
E1: Exit (FAILURE)33
Replicate raw storage volumes mount (raw) to a host (template)
Template summary
A. Locally replicates (copies) raw storage volumes.
B. Presents the storage volume copies to an enabled host (creates a raw host volume).
C. Pauses the job.
D. After continuing, removes the raw host volume from the enabled host.
E. Unpresents and deletes the storage volume copy from the storage system.
Template options
Number of volumes to replicate. Adds commands for each volume.
Use snapclone instead of snapshot. Generates a template that uses snapclone replication.
Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Example
This template was generated to locally replicate one storage volume. No other template options
were selected.
TaskLine
// Replicate raw storage volume(s), and mount to a host.1
Job templates 81