Replicate Host Volumes, Mount To A Host (Template) - HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Command Reference Manual

Job command reference
Hide thumbs Also See for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure:
Table of Contents

Advertisement

Line Task
1
// Replicate host volume(s).
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
//
7
// Validate that resources are as expected.
8
ValidateHostVolume ($source_hostvol_unc1)
9
ValidateSnapshotHostVolume ($source_hostvol_unc1)
10
//
$Rep1 = SnapshotHostVolume ($source_hostvol_unc1, FULLY_ALLOCATED, SAME, WAIT) onerror
1 1
pauseat E1:
12
//
13
// Wait for user to initiate rollback.
14
Pause ()
15
//
16
// Rollback.
17
E2: DeleteStorageVolumes ($Rep1) onerror pauseat E2:
18
//
19
Exit (SUCCESS)
20
//
21
// Failure exit - no rollback needed.
22
E1: Exit (FAILURE)

Replicate host volumes, mount to a host (template)

Template summary
A.
Locally replicates (copies) the storage volumes that underlie a host volume on an enabled host.
B.
Presents the underlying storage volume copies to a second enabled host (creates a new host
volume).
C.
Mounts the new host volume on the second enabled host.
D.
Pauses the job.
E.
After continuing, unmounts the new host volume from the second enabled host, unpresents and
deletes the storage volume copies from the storage system.
Template options
Number of volumes to replicate. Adds commands for each volume.
Suspend source before replication. Adds launch commands for interacting with an enabled host,
for example to suspend and resume host application I/O.
Launch backup after replication. Adds a launch command for interacting with an enabled host,
for example, to start a tape backup.
HP StorageWorks Replication Solutions Manager 4.0.1
59

Advertisement

Table of Contents
loading

Table of Contents