HP StorageWorks 70 HP StorageWorks Replication Solutions Manager 4.0.1 user gu - Page 230
Replicate host volumes, mount to a host template
View all HP StorageWorks 70 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 230 highlights
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 // 11 $Rep1 = SnapshotHostVolume ($source_hostvol_unc1, FULLY_ALLOCATED, SAME, WAIT) onerror 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. 230 Jobs