HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure User Manual page 209

Hp storageworks replication solutions manager 4.0.1 user guide (t3680-96308, june 2008)
Hide thumbs Also See for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure:
Table of Contents

Advertisement

Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Considerations
Tru64 UNIX. When replicating AdvFS volumes that have heavy I/O, select the option Suspend
source before replication.
Example
This template was generated to fracture and mount one host volume on an enabled host. No other
template options were selected.
Line Task
1
// Fracture host volume and mounting it to a host.
2
//
3
// Assign some variables that will be used in this job.
4
$source_hostvol_unc1 = SetVariable(%source_hostvol_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)
1 1
ValidateHostVolumeMirrorclones ($source_hostvol_unc1)
12
//
13
WaitHostVolumeNormalization($source_hostvol_unc1)
14
//
15
//
16
DO {
// The return value from FractureHostVolumeMirrorclones is a list of mirrorclones of under line storage
17
volumes of a host volume.
18
$Rep1 = FractureHostVolumeMirrorclones ($source_hostvol_unc1)
19
//
20
} ALWAYS {
21
}
22
//
23
// Mount the replicated volume(s) on a host.
24
PresentStorageVolumes ($Rep1, $mount_host) onerror pauseat E2:
25
DiscoverDiskDevices ($mount_host, $Rep1) onerror continue
$HV1 = CreateHostVolumeFromDiskDevices ($source_hostvol_unc1, $Rep1, $mount_host) onerror
26
pauseat E3:
27
$MP1 = MountHostVolume ($HV1, %mount_point1%) onerror pauseat E4:
28
//
HP StorageWorks Replication Solutions Manager 4.0.1
209

Advertisement

Table of Contents
loading

Table of Contents