HP P6000 Replication Solutions Manager User Guide (T3680-96089, October 2012)

// Check the state of the DR group before we continue.69
WaitDrGroupNormalization ($DRG1)70
//71
// Delete the DR group from Site 2 to Site 3, but keep the copy at Site 3.72
// Keep trying until the destination is finished allocating.73
// The time required depends on virtual disk size, workload, etc.74
ddgwt: Wait ("0:0:3"75
DeleteDrGroup ($DR_group_name, DETACH) onerror goto ddgwt:76
//77
// Delete the presentation.78
// This is required only for VCS 3.x. For later versions, you may remove this step.79
E3: UnpresentStorageVolume ($Rep1, $host_name) onerror pauseat E3:80
//81
// Delete the snapclone(s) at Site 2 that the DR group was using.82
E2: DeleteStorageVolume ($Rep1) onerror pauseat E2:83
//84
Exit (SUCCESS)85
//86
// Failure exit - no rollback needed.87
E1: Exit (FAILURE)88
Perform planned failover (template)
Template summary
Performs a failover of two sites in the case where the source site resources and link remain available.
The DR group pair contains one storage volume (virtual disk) at the source and destination sites.
A. Stops an application on the enabled host at site 1 (if necessary).
B. Unmounts the host volume on the enabled host at site 1.
C. Performs a failover from site 1 to site 2.
D. Discovers the host volume at site 2
E. Mounts host volume on the enabled host at site 2.
F. Starts applications on enabled host at site 2.
Guidelines apply.
Job templates 199