Unmount existing host volumes (template), Unmount existing host volumes, Template options – HP P6000 Continuous Access Software User Manual
Page 224: Example, Template summary

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.
Task
Line
// Unmount and delete the host volume(s).
1
//
2
// Assign some variables that will be used in this job.
3
$hostvol_unc1 = SetVariable(%hostvol_unc1%)
4
$host_name = SetVariable(%host_name%)
5
//
6
// Validate that resources are as expected.
7
ValidateHost ($host_name)
8
ValidateHostVolume ($hostvol_unc1)
9
//
10
E1: UnmountHostVolume ($hostvol_unc1)
11
E2: DeleteHostVolume ($hostvol_unc1)
12
//
13
Exit (SUCCESS)
14
//
15
Unmount existing host volumes (template)
Template summary
A.
Unmounts an existing* host volume on an enabled host. Existing refers to a host volume that
is created by means other than this job. The volume must exist and be in the replication
manager database when this job is run.
B.
The underlying storage volume remains presented to the host.
Template options
•
Number of volumes to unmount. Adds commands for each volume.
•
Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See
SetNotificationPolicy
.
224 Jobs