Line Task
1
// Throttle replication I/O on non-critical DR groups,
2
// so that critical DR groups will have the best performance.
3
//
4
// Assign some variables that will be used in this job.
5
$DR_Group_name_unc1 = SetVariable(%DR_Group_name_unc1%)
6
//
7
// Suspend the non-critical DR group(s).
8
SetDrGroupSuspend ($DR_Group_name_unc1, SUSPENDED) onerror pauseat E1:
9
//
10
// Wait for the critical DR group(s) to normalize.
1 1
WaitDrGroupNormalization (%critical_DR_Group_name_unc%)
12
//
13
// Resume the non-critical DR group(s).
14
E2: SetDrGroupSuspend ($DR_Group_name_unc1, RESUMED) onerror pauseat E2:
15
//
16
Exit (SUCCESS)
17
//
18
// Failure exit - no rollback needed.
19
E1: Exit (FAILURE)
Unmount and delete existing host volumes (template)
Template summary
Unmounts and deletes host volumes.
Template options
•
Number of volumes to unmount and delete. Adds commands for each volume.
•
Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Example
This template was generated to unmount and delete one host volume. No other template options were
selected.
254
Jobs