HP XP P9000 Replication Manager Software 7.6.0-00 Application Agent CLI Reference Guide

Examples
The following are examples of using Application Agent version 7.0.
In this example, the drmhostinfo command is used to display host information:
PROMPT> drmhostinfo
PRODUCT VERSION
HP StorageWorks P9000 Replication Manager Application Agent Copy Controller
07.0.0.0000(07-00)
HP StorageWorks P9000 Replication Manager Application Agent for SQL 07.0.0.0000(07-00)
PROMPT>
In this example, the drmhostinfo command is used to display product information in CSV format:
PROMPT> drmhostinfo i
#PRODUCT,VERSION,ORGANIZATION,OWNER,INSTALL_PATH
"HP StorageWorks P9000 Replication Manager Application Agent Copy Controller","07.0.0.0000","
<ORGANIZATION>","<OWNER>","C:\Program Files\CVXPAE\DRM"
"HP StorageWorks P9000 Replication Manager Application Agent for SQL","07.0.0.0000","","","
C:\Program Files\CVXPAE\DRM"
In this example, the drmhostinfo command is used to output product information to a CSV file:
PROMPT> drmhostinfo i >D:\temp\drmhostinfo.csv
PROMPT>
drmresync (Resynchronizes copy groups)
Formats
To resynchronize a copy group:
drmresync -copy_group copy-group-name [ -pf copy-parameter-definition-file
]
To resynchronize the copy groups associated with a backup ID:
drmresync -backup_id backup-ID [ -pf copy-parameter-definition-file ]
To resynchronize a copy group target definition file:
drmresync -cg_file copy-group-list-file [ -pf copy-parameter-definition-file
]
Description
The drmresync command resynchronizes the specified copy group or the copy groups associated
with the specified backup ID and returns them to the mirror status. The corresponding backup
information is then deleted from the backup catalog. Because this command uses the primary volume
as the base for synchronization with the secondary volume, the backup data contained in the secondary
volume will be overwritten. HP recommends that you copy the contents of the secondary volume to
tape or other secondary storage media before executing this command.
Do not use this command when the data is being backed up from a secondary volume to a tape
device by using the drmmediabackup command, when the data is being restored from a tape device
to a secondary volume by using the drmmediarestore command, or when a secondary volume is
being mounted by using the drmmount command.
When you execute the drmresync command while the pair status is SMPL, the system does not
automatically execute the paircreate command. The system automatically executes the paircreate
Basic commands124