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, and mount slices/partitions/LVs to a host.
2
//
3
// Assign some variables that will be used in this job.
4
$mount_host = SetVariable(%mount_host%)
5
$source_host = SetVariable(%source_host%)
6
$source_hostvol_unc1 = SetVariable(%source_hostvol_unc1%)
7
//
8
// Validate that resources are as expected.
9
ValidateHost ($mount_host)
10
ValidateHostVolume ($source_hostvol_unc1)
11
Va lidateSnapshotHostVolume ($source_hostvol_unc1)
12
//
13
$Rep1 = SnapshotHostVolume ($source_hostvol_unc1, FULLY_ALLOCATED, SAME, WAIT) onerror
pauseat E1:
14
//
15
// M ount the replicated volume(s) on a host.
16
PresentSto
rageVolumes ($Rep1, $mount_host) onerror pauseat E2:
17
DiscoverDiskDevices ($mount_host, $Rep1) onerror continue
18
$HV1 = CreateHostVolumeFro mDiskDevices ($sour ce_hostvol_unc1, $Rep1, $mount_host) onerror
pauseat E2:
19
$MP1 = MountHostVolume ($HV1, %mount_point1%) onerror pauseat E 3 :
20
//
21
//Waitforusertoinitiaterollback.
22 P ause ()
23
//
24
// Rollback.
25
E4: UnmountHostVolume ($MP1) onerror pauseat E4:
26
E3: DeleteHostVolume ($HV1) onerror pauseat E3:
27
//
28
E2: DeleteStorageVolumes ($Rep1) onerror pauseat E2:
29
//
30 Exit (SUCCESS)
31
//
32
// Failure exit - no rollback need ed.
33
E1: Exit (FAILURE)
HP StorageWorks Replication Solutions Manager 4.0.1
67