HP 418800-B21 HP StorageWorks Replication Solutions Manager 4.0.1 job command - Page 84
Unmount existing host volumes template
UPC - 882780564640
View all HP 418800-B21 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 84 highlights
Line Task 1 // Unmount and delete the host volume(s). 2 // 3 // Assign some variables that will be used in this job. 4 $hostvol_unc1 = SetVariable(%hostvol_unc1%) 5 $host_name = SetVariable(%host_name%) 6 // 7 // Validate that resources are as expected. 8 ValidateHost ($host_name) 9 ValidateHostVolume ($hostvol_unc1) 10 // 11 E1: UnmountHostVolume ($hostvol_unc1) 12 E2: DeleteHostVolume ($hostvol_unc1) 13 // 14 Exit (SUCCESS) 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. Example This template was generated to unmount one host volume on an enabled host. No other template options were selected. 84 Job concepts, templates and commands