HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure User Manual page 216

Hp storageworks replication solutions manager 4.0.1 user guide (t3680-96308, june 2008)
Hide thumbs Also See for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure:
Table of Contents

Advertisement

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.
$DRG1 = CreateDrGroup ($DR_group_name, $DR_source_storvol_unc1, $site_3_array, "", "", SAME,
67
"", "", 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 finished 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

Advertisement

Table of Contents
loading

Table of Contents