HP Matrix Operating Environment Software User Manual

Page 15

Advertising
background image

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.

Multiple User Defined storage adapters

Matrix recovery management supports multiple User Defined storage adapters to co-exist in a
Matrix recovery management configuration. For each User Defined storage adapter type, you can
create a new subdirectory and place your implementation of the three commands for that storage
type. For example, to add a storage adapter named EMC, create an EMC subdirectory under
<Matrix recovery management installed directory>/STORAGE

and copy all three

commands to the newly created directory:

<Matrix recovery management installed

directory>/STORAGE/EMC/validatesms.cmd

<Matrix recovery management installed

directory>/STORAGE/EMC/validatesrg.cmd

<Matrix recovery management installed

directory>/STORAGE/EMC/failoversrg.cmd

Setting up Storage

15

Advertising