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

// Mount devices on the remote host.29
// Start the application on the remote host.30
Pause()31
//32
Exit (SUCCESS33
//34
Perform unplanned failover (template)
Template summary
Performs an unplanned failover of two sites in the case where the source site resources or link is
no longer available. The DR group pair contains one storage volume (virtual disk) at the source
and destination sites.
A. Performs a failover from site 1 to site 2.
B. Discovers the host volume on an enabled host at site 2.
C. Pauses the job prior to mounting the host volume on the enabled host at site 2.
Template options
Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Comments
Guidelines apply.
IMPORTANT: During actual emergencies, HP recommends that you manually perform a failover
by using the Failover action in the GUI.
Example
This template was generated to perform one iteration of an unplanned failover of a DR group pair
containing one virtual disk.
TaskLine
// Perform an unplanned failover of a CA configuration.1
// Since it is 'unplanned', we do not quiesce or unmount the source volumes.2
//3
// Assign some variables that will be used in this job.4
$site_2_array = SetVariable(%site_2_array%5
$site_2_host = SetVariable(%site_2_host%)6
//7
// Validate that resources are as expected.8
ValidateHost ($site_2_host)9
ValidateStorageSystem ($site_2_array)10
//11
Job templates 201