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 a ho
st volume group, and mount component(s) 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
$source_VG _c
omponent_unc1 = SetVariable(%source_VG_component_unc1%
8
//
9
// Validate that resources are as expected.
10
ValidateHost ($source_host)
11
ValidateHost ($mount_host)
12
ValidateSnapshotHostVolumeGroup ($source_VolumeGroup_unc1)
13
//
14
$Rep1 = SnapshotHostVolumeGroup ($source_VolumeGroup_unc1, FULLY_ALLOCATED, SAME, WAIT)
onerror pauseat E1:
15
//
16
// Mount the
replicated volume(s) on a host.
17
$HV1 = CreateHostVolumeGroup ($source_VolumeGroup_unc1, $Rep1, $mount_host) onerror pauseat
E2:
18
$MP1 = MountVolumeGroupComponent ($HV1, $source_VolumeGroup_unc1, $source_VG_compo-
nent_unc1, %mount_point1%) onerror pauseat E3:
19
//
20
//Waitforusertoinitiaterollback.
21 Pa use ()
22
//
23
// Rollback.
24
E4: UnmountHostVolume ($MP1) onerror pauseat E4:
25
E3: DeleteHostVolumeGroup ($HV1) onerror pauseat E3:
26
//
27
E2: DeleteStorageVolumes ($Rep1) onerror pauseat E2
28
//
29 Exit (SUCCESS)
30
//
31
// Failure exit - no rollback need ed.
32
E1: Exit (FAILURE)
HP StorageWorks Replication Solutions Manager 4.0.1
55