HP StorageWorks 60 HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 44
WaitStorageVolumeNormalization $Rep1 onerror pauseat E2
View all HP StorageWorks 60 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 44 highlights
19 // 20 // Validate some resources needed by this job: 21 // - The arrays at Sites 1, 2 and 3. 22 // - The source DR group at Site 1 and it's virtual disk member(s). 23 // - The storage system at Site 2 with the destination DR group and it's virtual disk member(s). 24 // - The host name at Site 2. 25 // - The source host used for suspend/resume application at Site 1 (if applicable). 26 // 27 // Validate that resources are as expected. 28 ValidateHost ($host_name) 29 ValidateStorageSystem ($site_1_array) 30 ValidateStorageSystem ($site_2_array) 31 ValidateStorageSystem ($site_3_array) 32 ValidateStorageVolume (%site_1_array_source_storvol_unc1%) 33 ValidateStorageVolume (%site_2_array_source_storvol_unc1%) 34 // 35 // The setting of the following 2 steps may be dependent on the configuration 36 // of the DR group. Please consult the documentation for the appropriate setting options. 37 // Set the DR group to synchronous. 38 // [Use 'onerror continue' in case the mode is already set.] 39 SetDrGroupIoMode ($site_1_array_DR_Group_name_unc, SYNCHRONOUS) onerror continue 40 // 41 // Set the DR group to failsafe enabled. 42 // [Use 'onerror continue' in case the mode is already set.] 43 SetDrGroupFailsafe ($site_1_array_DR_Group_name_unc, ENABLED) onerror continue 44 // 45 // If the DR group from Site 1 to Site 2 is not normalized, wait. 46 WaitDrGroupNormalization ($site_1_array_DR_Group_name_unc) 47 // 48 // Create a snapclone at Site 2. 49 $Rep1 = SnapcloneStorageVolume ($source_storvol_unc1, $DiskGroup_name, SAME, $dest_storvol1, WAIT) onerror pauseat E1: 50 // 51 // Wait for the snapclone(s) to finish. 52 WaitStorageVolumeNormalization ($Rep1) onerror pauseat E2: 53 // 54 // Set the DR group at Site 1 back to failsafe disabled. 55 SetDrGroupFailsafe ($site_1_array_DR_Group_name_unc, DISABLED) onerror continue 44 Job concepts, templates and commands