Hewlett-Packard 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Command Reference Manual
Download Command reference manual of HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Adapter, All in One Printer for Free or View it Online on All-Guides.com.
Brand: HP
Category: Adapter , All in One Printer , Carrying Case , Network Router , Printer , Printer Accessories , Server , Storage
Type: Command reference manual
Model: HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure , HP 8100
Pages: 207 (2.25 Mb)
Line
Task
1
// Replicate hos
tvolumegroup(s),andmounttoahost.
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
// M ount the replicated volume(s) on a host.
16
$HV1 = Creat
eHostVolumeGroup ($source_VolumeGroup_unc1, $Rep1, $mount_host) onerror pauseat
E2:
17
$VG1 = MountEntireVolumeGroup ($HV1, $source_VolumeGroup_unc1, %VGcopyPrefix%) onerror
pauseat E3:
18
//
19
// Wait for u
ser 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 need ed.
31
E1: Exit (FAILURE)
HP StorageWorks Replication Solutions Manager 4.0.1
57