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.
•
Use snapclone instead of snapshot. Generates a template that uses snapclone replication.
•
Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Considerations
•
Tru64 UNIX. When replicating virtual disks with AdvFS volumes that have heavy I/O, select
the option Suspend source before replication.
Example
This template was generated to replicate one storage volume. No other template options were selected.
Line Task
1
// Replicate storage volume(s).
2
//
3
// Assign some variables that will be used in this job.
4
$source_storvol_unc1 = SetVariable(%source_storvol_unc1%)
5
$dest_storvol1 = SetVariable(%dest_storvol1%)
6
//
7
// Validate that resources are as expected.
8
ValidateStorageVolume ($source_storvol_unc1
9
ValidateSnapshotStorageVolume ($source_storvol_unc1
10
//
$Rep1 = SnapshotStorageVolume ($source_storvol_unc1, FULLY_ALLOCATED, SAME, $dest_storvol1,
1 1
WAIT) onerror pauseat E1:
12
//
13
// Wait for user to initiate rollback.
14
Pause ()
15
//
16
// Rollback.
17
E2: DeleteStorageVolume ($Rep1) onerror pauseat E2:
18
//
19
Exit (SUCCESS
20
//
21
// Failure exit - no rollback needed.
22
E1: Exit (FAILURE)
HP StorageWorks Replication Solutions Manager 4.0.1
241
Need help?
Do you have a question about the 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure and is the answer not in the manual?
Questions and answers