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

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

Line Task
1
// Perform a planned failover of a CA configuration.
2
//
3
// Assign some variables that will be used in this job.
4
$site_2_array = SetVariable(%site_2_array%)
5
$site_1_host = SetVariable(%site_1_host%
6
$site_2_host = SetVariable(%site_2_host%)
7
$site_1_host_hostvol_unc = SetVariable(%site_1_host_hostvol_unc%)
8
//
9
// Validate that resources are as expected.
10
ValidateHost ($site_1_host)
1 1
ValidateHost ($site_2_host)
12
ValidateStorageSystem ($site_2_array)
13
//
14
// Execute any necessary commands on the host to get the volumes ready to dismount,
15
// such as export volumegroups, stop the local application running on the volume(s), etc.
16
Pause()
17
//
18
// Unmount the local volume(s).
19
UnmountHostVolume ($site_1_host_hostvol_unc)
20
// Failover all DR groups to the remote site.
21
FailoverDrGroups ( %DR_group_name_list%, FALSE )
22
//
23
// Do a bus scan for the new volumes, make sure that new devices are seen by multipath driver.
24
// Repeat the Discover for each DR group.
25
DiscoverDiskDevicesForDrGroup($site_2_host, %DR_group_name%)
26
//
27
// Execute any necessary commands on the remote host to get the volumes ready to mount,
28
// such as import volumegroups, fsck volumes, etc.
29
// Mount devices on the remote host.
30
// Start the application on the remote host.
31
Pause()
32
//
33
Exit (SUCCESS
34
//
218
Jobs

Advertisement

Table of Contents
loading

Table of Contents