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

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.
Example
This template was generated to unmount one host volume on an enabled host. No other template
options were selected.
TaskLine
// Unmount existing 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
// Unmount the volume(s).11
E1: UnmountHostVolume ($hostvol_unc1)12
Exit (SUCCESS)13
//14
Job templates 89