56 //
57 // Set the DR group at Site 1 back to asynchronous.
58 SetDrGroupIoMode ($site_1_array_DR_Group_name_unc, ASYNCHRONOUS) onerror continue
59 //
60 // Present the snapclone at Site 2 to a host.
61 // NOTE: This is required only for VCS 3.x. For later versions, you may remove this step.
62 // Typically you will NOT want to present to an Enabled Host Agent, but instead
63 // use the name of a ’dummy’ EVA host that you have set up in Command View.
64 PresentStorageVolume ($Rep1, $host_name, %LUN1%, READ_WRITE) onerror pauseat E2:
65 //
66 // Make a DR group with the Site 3 storage system.
67 $DRG1 = CreateDrGroup ($DR_group_name, $DR_source_storvol_unc1, $site_3_array, "", "", SAME,
"", "", 0, FALSE) onerror pauseat E3:
68 //
69 // Check the state of the DR group before we continue.
70 WaitDrGroupNormalization ($DRG1)
71 //
72 // Delete the DR group from Site 2 to Site 3, but keep the copy at Site 3.
73 // Keep trying until the destination is
fi
nished allocating.
74 // The time required depends on virtual disk size, workload, etc.
75 ddgwt: Wait ("0:0:3"
76 DeleteDrGroup ($DR_group_name, DETACH) onerror goto ddgwt:
77 //
78 // Delete the presentation.
79 // This is required only for VCS 3.x. For later versions, you may remove this step.
80 E3: UnpresentStorageVolume ($Rep1, $host_name) onerror pauseat E3:
81 //
82 // Delete the snapclone(s) at Site 2 that the DR group was using.
83 E2: DeleteStorageVolume ($Rep1) onerror pauseat E2:
84 //
85 Exit (SUCCESS)
86 //
87 // Failure exit - no rollback needed.
88 E1: Exit (FAILURE)
216
Jobs
Summary of Contents for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure
Page 16: ...Tables 1 Document conventions 18 16 ...
Page 20: ...20 About this guide ...
Page 56: ...56 Replication Solutions Manager ...
Page 160: ...160 Host volumes ...
Page 384: ...384 Managed sets ...
Page 402: ...402 Oracle ...
Page 412: ...412 Storage systems ...
Page 444: ...444 Virtual disks ...
Page 456: ...456 CLUI ...