Example – HP P6000 Continuous Access Software User Manual

Page 225

Advertising
background image

Example

This template was generated to unmount one host volume on an enabled host. No other template
options were selected.

Task

Line

// 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 225

Advertising