Throttle replication i/o, Template summary – HP P6000 Continuous Access Software User Manual

Page 222

Advertising
background image

$DR_dest_array = SetVariable(%DR_dest_array%)

5

$DR_group_name = SetVariable(%DR_group_name%)

6

$DR_source_storvol_unc1 = SetVariable(%DR_source_storvol_unc1%)

7

$dest_host_name = SetVariable(%dest_host_name%)

8

//

9

// Validate that resources are as expected.

10

ValidateHost ($dest_host_name)

11

ValidateStorageSystem ($DR_source_array)

12

ValidateStorageSystem ($DR_dest_array)

13

ValidateStorageVolume ($DR_source_storvol_unc1)

14

//

15

$DRG1 = CreateDrGroup ($DR_group_name, $DR_source_storvol_unc1, $DR_dest_array, "", "", SAME, "",
"", 0, FALSE) onerror pauseat E1:

16

//

17

SetDrGroupFailsafe($DRG1, %failsafe_mode%) onerror continue

18

SetDrGroupIoMode($DRG1, %io_mode%) onerror continue

19

SetDrGroupDestinationAccess($DRG1, NONE) onerror continue

20

SetDrGroupSuspend($DRG1, RESUMED) onerror continue

21

//

22

// Present destination vdisk to a destination host.

23

WaitDrGroupNormalization ($DRG1

24

// The dest_storvol will be created AFTER the job,

25

// so enter the name of the storage volume manually.

26

// Default name is the same as the source storage volume.

27

PresentStorageVolume (%dest_storvol%, $dest_host_name, %lun_number%, READ_WRITE)

28

//

29

Exit (SUCCESS)

30

//

31

// Failure exit - no rollback needed.

32

E1: Exit (FAILURE)

33

Throttle replication I/O (remote replication template)

IMPORTANT:

Jobs generated by this template are intended to be run only in conjunction with

a log merge or full-copy events on a single storage system.

Template summary

Suspends remote replication in non-critical DR group pairs until critical DR group pairs have
normalized across the two sites. The DR groups must be source groups on a single storage system.

The terms critical and non-critical used in the template do not refer to the critical operational status.
For the purpose of using the template, you can consider any DR group to be critical or non-critical.

222 Jobs

Advertising