HP Matrix Operating Environment Software User Manual
Page 15

Command-line arguments
•
For validatesms.cmd:
sms_name=
sms_username=
•
For validatesrg.cmd:
sms_name=
sms_username=
srg_name=
local_storage_id=
remote_storage_id=
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=
local_sms_username=
local_storage_id=
remote_sms_name=
remote_sms_username=
remote_storage_id=
srg_name=
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:
sms_username=admin
•
During Storage Replication Group configuration in Matrix recovery management:
sms_username=admin local_storage_id=emc_id1 remote_storage_id=emc_id2 srg_name=SRG1
•
During an Activate operation in Matrix recovery management:
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
and copy all three
commands to the newly created directory:
•
directory>/STORAGE/EMC/validatesms.cmd • directory>/STORAGE/EMC/validatesrg.cmd • directory>/STORAGE/EMC/failoversrg.cmd Setting up Storage 15