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

//30
// Failure exit - no rollback needed.31
E1: Exit (FAILURE)32
Replicate host volume group, mount entire group to a host (template)
Template summary
A. Locally replicates (copies) the storage volumes that underlie a host volume group on an enabled
host.
B. Presents the underlying storage volume copies to a second enabled host (creates a new host
volume group).
C. Mounts all of the components (logical volumes) in the new host volume group on the second
enabled host.
D. Pauses the job.
E. After continuing, unmounts the new volume group components from the second enabled host,
unpresents and deletes the storage volume copies from the storage system.
Template options
Number of volume groups to replicate. Adds commands for each component.
Suspend source before replication. Adds launch commands for interacting with an enabled
host, for example to suspend and resume host application I/O.
Launch backup after replication. Adds a launch command for interacting with an enabled
host, for example, to start a tape backup.
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.
Comments
Tru64 UNIX. Replication is not supported when an AdvFS domain spans partitions.
Tru64 UNIX. When replicating AdvFS volumes that have heavy I/O, select the option Suspend
source before replication. See Suspending I/O before replicating AdvFS volumes.
Example
This template was generated to locally replicate one host volume group and mount all of its
components (logical volumes). No other template options were selected.
TaskLine
// Replicate host volume group(s), and mount to a host.1
//2
// Assign some variables that will be used in this job.3
$source_VolumeGroup_unc1 = SetVariable(%source_VolumeGroup_unc1%)4
$source_host = SetVariable(%source_host%)5
$mount_host = SetVariable(%mount_host%)6
//7
// Validate that resources are as expected.8
Job templates 71