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

For the following, Operation_A is used as the operation ID.
To lock the copy group:
1. Checking the secondary volume status.
Display the list of copy groups and make sure that none are locked.
To check the lock status of a copy group, execute the drmcgctl command with no parameters.
If UNLOCKED is displayed in the LOCK STATUS column, the copy group is not locked.
DBServer > drmcgctl
COPY GROUP LOCK STATUS BACKUP-ID
VG01,VOL11 UNLOCKED 0000000001
VG01,VOL12 UNLOCKED 0000000001
VG01,VOL13 UNLOCKED 0000000001
VG02,VOL21 UNLOCKED 0000000002
VG02,VOL22 UNLOCKED 0000000002
VG02,VOL23 UNLOCKED 0000000002
VG03,VOL31 UNLOCKED 0000000003
VG03,VOL32 UNLOCKED 0000000003
VG03,VOL33 UNLOCKED 0000000003
DBServer >
2. Obtain a backup (generation 1) from the primary volume to the secondary volume.
DBServer > EX_DRM_SQL_BACKUP Operation_A
The primary volume is backed up to secondary volume 1.
3. Check that the data was backed up correctly.
To check whether the backup was performed properly, execute the drmsqlcat command and
drmappcat command on the database server.
DBServer > drmsqlcat default
INSTANCE: default
BACKUP-ID: 0000000004 BACKUP-MODE: ONLINE INSTANCE: default
:
:
DBServer > drmappcat
BACKUP-ID BACKUP-MODE BACKUP-OBJECT START-TIME END-TIME
0000000004 ONLINE MSSQL 2004/08/11 14:04:10 2004/08/11
14:04:22
0000000002 ONLINE MSSQL 2004/08/05 14:13:44 2004/08/05
14:13:55
0000000003 ONLINE MSSQL 2004/08/05 14:16:24 2004/08/05
14:16:35
DBServer >
In this example, the results of the drmsqlcat command indicate that the most recent backup ID
is 0000000004. The results of the drmappcat command also indicate that the backup ID
0000000001, displayed as the result of the drmcgctl command in the step 1, has been changed
to 0000000004.
Application Agent CLI User Guide 325