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

Template Options
Number of virtual disks in DR group. Adds commands for each virtual disk.
Suspend source before replication. Adds launch commands for interacting with an enabled
host, for example to suspend and resume host application I/O.
Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Comments
Guidelines apply. See the HP P6000 Replication Solutions Manager User Guide for remote
replication guidelines.
Example
This template was generated to perform one iteration of the cascaded replication involving one
virtual disk. No other template options were selected.
TaskLine
// Perform cascaded replication.1
//2
// This template assumes that you have three storage systems located at three different sites:3
// Site 1: Contains a source DR group.4
// Site 2: Contains a destination DR group.5
// Site 3: After the script completes, it will contain a snapclone of the virtual disk.6
//7
// Assign some variables that will be used in this job.8
$site_1_array = SetVariable(%site_1_array%)9
$site_1_array_DR_Group_name_unc = SetVariable(%site_1_array_DR_Group_name_unc%)10
$source_storvol_unc1 = SetVariable(%source_storvol_unc1%)11
$dest_storvol1 = SetVariable(%dest_storvol1%)12
$DiskGroup_name = SetVariable(%DiskGroup_name%)13
$site_2_array = SetVariable(%site_2_array%)14
$host_name = SetVariable(%host_name%15
$site_3_array = SetVariable(%site_3_array%)16
$DR_group_name = SetVariable(%DR_group_name%)17
$DR_source_storvol_unc1 = SetVariable(%DR_source_storvol_unc1%)18
//19
// Validate some resources needed by this job:20
// - The arrays at Sites 1, 2 and 3.21
// - The source DR group at Site 1 and it's virtual disk member(s).22
// - The storage system at Site 2 with the destination DR group and it's virtual disk member(s).23
// - The host name at Site 2.24
// - The source host used for suspend/resume application at Site 1 (if applicable).25
Job templates 61