Line Task
1
// Replicate host volume group(s), and mount to a host.
2
//
3
// Assign some variables that will be used in this job.
4
$source_VolumeGroup_unc1 = SetVariable(%source_VolumeGroup_unc1%)
5
$source_host = SetVariable(%source_host%)
6
$mount_host = SetVariable(%mount_host%)
7
//
8
// Validate that resources are as expected.
9
ValidateHost ($source_host)
10 ValidateHost ($mount_host)
11
ValidateSnapshotHostVolumeGroup ($source_VolumeGroup_unc1)
12 //
13 $Rep1 = SnapshotHostVolumeGroup ($source_VolumeGroup_unc1, FULLY_ALLOCATED, SAME, WAIT)
onerror pauseat E1:
14 //
15 // Mount the replicated volume(s) on a host.
16 $HV1 = CreateHostVolumeGroup ($source_VolumeGroup_unc1, $Rep1, $mount_host) onerror pauseat
E2:
17 $VG1 = MountEntireVolumeGroup ($HV1, $source_VolumeGroup_unc1, %VGcopyPre
fi
x%) onerror
pauseat E3:
18 //
19 // Wait for user to initiate rollback.
20 Pause ()
21 //
22 // Rollback.
23 E4: UnmountEntireVolumeGroup ($VG1) onerror pauseat E3:
24 E3: DeleteHostVolumeGroup ($HV1) onerror pauseat E3:
25 //
26 E2: DeleteStorageVolumes ($Rep1) onerror pauseat E2:
27 //
28 Exit (SUCCESS)
29 //
30 // Failure exit - no rollback needed.
31 E1: Exit (FAILURE)
228
Jobs
Summary of Contents for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure
Page 16: ...Tables 1 Document conventions 18 16 ...
Page 20: ...20 About this guide ...
Page 56: ...56 Replication Solutions Manager ...
Page 160: ...160 Host volumes ...
Page 384: ...384 Managed sets ...
Page 402: ...402 Oracle ...
Page 412: ...412 Storage systems ...
Page 444: ...444 Virtual disks ...
Page 456: ...456 CLUI ...