HP StorageWorks 60 HP StorageWorks Replication Solutions Manager 4.0.1 user gu - Page 234
E6: UnmountHostVolume $MP1 onerror pauseat E6
View all HP StorageWorks 60 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 234 highlights
13 ValidateHost ($mount_host1) 14 ValidateHostVolume ($source_hostvol_unc1) 15 ValidateSnapshotHostVolume ($source_hostvol_unc1 16 // 17 $Rep1 = SnapshotHostVolume ($source_hostvol_unc1, FULLY_ALLOCATED, SAME, WAIT) onerror pauseat E1: 18 // 19 // Mount the replicated volume(s) on a host. 20 PresentStorageVolumes ($Rep1, $mount_host1) onerror pauseat E2: 21 DiscoverDiskDevices ($mount_host1, $Rep1) onerror continue 22 $HV1 = CreateHostVolumeFromDiskDevices ($source_hostvol_unc1, $Rep1, $mount_host1) onerror pauseat E2: 23 $MP1 = MountHostVolume ($HV1, %mount_point1%) onerror pauseat E5: 24 // 25 // Launch a backup process on a host. 26 Launch ($launch_host_name, %command_line%, "", WAIT, "0") onerror pauseat E6: 27 // 28 // Unmount the volume(s). 29 E6: UnmountHostVolume ($MP1) onerror pauseat E6: 30 E5: DeleteHostVolume ($HV1) onerror pauseat E5: 31 // 32 // 33 PresentStorageVolumes ($Rep1, $mount_host2) onerror pauseat E2: 34 DiscoverDiskDevices ($mount_host2, $Rep1) onerror continue 35 $HV2 = CreateHostVolumeFromDiskDevices ($source_hostvol_unc1, $Rep1, $mount_host2) onerror pauseat E2: 36 $MP2 = MountHostVolume ($HV2, %mount_point2%) onerror pauseat E3: 37 // 38 // Launch a backup process on a host. 39 Launch ($launch_host_name, %command_line%, "", WAIT, "0") onerror pauseat E4: 40 // 41 // Wait for user to initiate rollback. 42 Pause ( 43 // 44 // Rollback. 45 E4: UnmountHostVolume ($MP2) onerror pauseat E4: 46 E3: DeleteHostVolume ($HV2) onerror pauseat E3: 47 E2: DeleteStorageVolumes ($Rep1) onerror pauseat E2: 48 // 234 Jobs