![HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Скачать руководство пользователя страница 215](http://html.mh-extra.com/html/hp/418800-b21-storageworks-modular-smart-array-70-storage-enclosure/418800-b21-storageworks-modular-smart-array-70-storage-enclosure_user-manual_155409215.webp)
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 con
fi
guration
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
fi
nish.
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
HP StorageWorks Replication Solutions Manager 4.0.1
215
Содержание 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure
Страница 16: ...Tables 1 Document conventions 18 16 ...
Страница 20: ...20 About this guide ...
Страница 56: ...56 Replication Solutions Manager ...
Страница 160: ...160 Host volumes ...
Страница 384: ...384 Managed sets ...
Страница 402: ...402 Oracle ...
Страница 412: ...412 Storage systems ...
Страница 444: ...444 Virtual disks ...
Страница 456: ...456 CLUI ...