HP P6000 Replication Solutions Manager Job Command Reference (T3680-96090, October 2012)
Template options
• Number of volumes to replicate. Adds commands for each host volume
• 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.
• Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Considerations
• 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 fracture and mount one host volume on an enabled host. No other
template options were selected.
TaskLine
// Fracture host volume and mounting it to a host.1
//2
// Assign some variables that will be used in this job.3
$source_hostvol_unc1 = SetVariable(%source_hostvol_unc1%)4
$source_host = SetVariable(%source_host%)5
$mount_host = SetVariable(%mount_host%)6
//7
// Validate that resources are as expected.8
ValidateHost ($source_host)9
ValidateHost ($mount_host)10
ValidateHostVolumeMirrorclones ($source_hostvol_unc1)11
//12
WaitHostVolumeNormalization($source_hostvol_unc1)13
//14
//15
DO {16
// The return value from FractureHostVolumeMirrorclones is a list of mirrorclones of under line storage volumes
of a host volume.
17
$Rep1 = FractureHostVolumeMirrorclones ($source_hostvol_unc1)18
//19
} ALWAYS {20
}21
//22
// Mount the replicated volume(s) on a host.23
56 Jobs