HP Matrix Operating Environment Software User Manual

Page 15

Advertising
background image

7.

Create a Recovery Group by using the Matrix recovery management GUI, and associate that
Recovery Group with the Storage Replication Group for the nonintegrated storage.

8.

Perform a Matrix recovery management Export operation at the Local Site to generate an
exportconfig

file, then perform an Import operation to import that exportconfig file at

the Remote Site.

User Defined storage adapter interface specification

The following commands are defined in the User Defined storage adapter interface specification:

validatesms.cmd

—Validates a Storage Management Server during configuration

validatesrg.cmd

—Validates a Storage Replication Group during configuration

failoversrg.cmd

—Fails over a Storage Replication Group while Recovery Group activation

occurs

Command-line arguments

For validatesms.cmd:

sms_name=<name of a Storage Management Server>
sms_username=<login name for a Storage Management Server>

For validatesrg.cmd:

sms_name=<name of the Storage Management Server at the Local Site>
sms_username=<login name for the Storage Management Server at the Local Site>
srg_name=<name of the Storage Replication Group to be validated>
local_storage_id=<unique identifier of the storage system at the Local Site>
remote_storage_id=<unique identifier of the storage system at the Remote Site>

NOTE:

Volumes in the Storage Replication Group (identified by srg_name) are replicated

between the local storage system (identified by local_storage_id) and the remote storage
system (identified by remote_storage_id).

For failoversrg.cmd:

local_sms_name=<name of the Storage Management Server at the Local Site>
local_sms_username=<user name for the Storage Management Server at the Local Site>
local_storage_id=<unique identifier of the storage system at the Local Site>
remote_sms_name=<name of the Storage Management Server at the Remote Site>
remote_sms_username=<user name for the Storage Management Server at the Remote Site>
remote_storage_id=<unique identifier of the storage system at the Remote Site>
srg_name=<name of the Storage Replication Group to be failed over
use_non_current_data=<yes or no>

NOTE:

A value of yes requires the Storage Replication Group to be failed over even in

cases where the data at the destination site may not be current. A value of no requires storage
failover to fail if the data at the destination is not current.

Example invocations of Matrix recovery management User Defined adapter implementation

During Storage Management Server configuration in Matrix recovery management:

<Matrix recovery management installed directory>/STORAGE/EMC/validatesms.cmd sms_name=EMC_SMS1
sms_username=admin

During Storage Replication Group configuration in Matrix recovery management:

<Matrix recovery management installed directory>/STORAGE/EMC/validatesrg.cmd sms_name=EMCSE1
sms_username=admin local_storage_id=emc_id1 remote_storage_id=emc_id2 srg_name=SRG1

During an Activate operation in Matrix recovery management:

<Matrix recovery management installed directory>/STORAGE/EMC/failoversrg.cmd local_sms_name=EMC_SMS1
local_sms_username=admin local_storage_id=emc_id1 remote_sms_name=EMC_SMS2 remote_user_name=admin
remote_storage_id=emc_id2 srg_name=SRG1 use_non_current_data=yes

Command return code

Commands must return 0 on successful completion, and a nonzero error code indicates failure.

Setting up Storage

15

Advertising