Template summary, Template options – HP P6000 Continuous Access Software User Manual

Page 193

Advertising
background image

PresentStorageVolumes ($Rep1, $mount_host) onerror pauseat E2:

24

DiscoverDiskDevices ($mount_host, $Rep1) onerror continue

25

$HV1 = CreateHostVolumeFromDiskDevices ($source_hostvol_unc1, $Rep1, $mount_host) onerror pauseat E3:

26

$MP1 = MountHostVolume ($HV1, %mount_point1%) onerror pauseat E4:

27

//

28

// Wait for user to initiate rollback.

29

Pause ()

30

//

31

// Rollback.

32

E5: UnmountHostVolume ($MP1) onerror pauseat E5:

33

E4: DeleteHostVolume ($HV1) onerror pauseat E4:

34

//

35

E3: UnpresentStorageVolumes ($Rep1, $mount_host) onerror pauseat E3:

36

//

37

E2: ResyncMirrorclones ($Rep1) onerror pauseat E2:

38

//

39

// Uncomment the following line if you want the job to wait for the mirrors to resynchronize before completing

40

//WaitHostVolumeNormalization($source_hostvol_unc1)

41

//

42

//

43

Exit (SUCCESS)

44

//

45

// Failure exit - no rollback needed.

46

E1: Exit (FAILURE)

47

Instant restore storage volumes to other storage volumes (template)

Template summary

A.

Disables (flushes) the write cache of the storage volume (virtual disk) to restore from.

B.

Converts the storage volume to restore to into a container.

C.

Copies (restores) from the storage volume (by snapclone) to the container.

D.

Re-enables the write cache of the source storage volume.

NOTE:

This template cannot be used with some older versions of controller software.

Template options

Number of volumes. Adds commands for each storage volume to restore from.

Suspend source before replication. Adds launch commands for interacting with an enabled
host, for example to suspend and resume host application I/O.

Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See

SetNotificationPolicy

.

Job templates

193

Advertising