HP 418800-B21 HP StorageWorks Replication Solutions Manager 4.0.1 job command - Page 70
Number of volumes to replicate, Suspend source before replication, Use snapclone instead of snapshot
UPC - 882780564640
View all HP 418800-B21 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 70 highlights
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 // 11 $Rep1 = SnapshotStorageVolume ($source_storvol_unc1, FULLY_ALLOCATED, SAME, $dest_storvol1, 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) 70 Job concepts, templates and commands