HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.0 Mainframe Agent Installation and Configuration Guide (TB581-96014, November 2010)

drmcgctl
To lock or unlock a copy group by specifying a copy group name:
drmcgctl -copy_group copy-group-name -mode { lock | unlock }
To lock or unlock a copy group by specifying a backup ID:
drmcgctl -backup_id backup-ID -mode { lock | unlock }
Description
The drmcgctl command locks a copy group that contains the backup data so that it is not overwritten
the next time a backup is required. This command can also unlock copy groups. Locking copy groups
is valid only on the server where this command was executed. Operations from this server to the copy
group cannot be performed until the copy group is unlocked.
When you execute this command with no option specified, a list of copy groups will be displayed.
This allows you to check the following:
The lock status of the copy group
The backup ID (if a backup has been made)
Arguments
-copy_group copy-group-name
Specify the name of the copy group you want to lock or unlock.
You can check whether the logical volumes are the same or not by using following command:
When the backup is of a file system, use the drmfsdisplay command.
In environments where one logical volume group is comprised of multiple copy groups, if the multiple
generation backup function is used, the number of generations of all copy groups comprising the
logical volume group must match. If the copy group generations do not match, backup generation
management cannot be performed correctly in Application Agent.
-mode { lock | unlock }
Specify whether to lock or unlock the copy group. To lock the copy group, specify lock. To unlock
the copy group, specify unlock.
-backup_id backup-ID
Specify the backup ID associated with the copy groups you want to lock or unlock. By specifying a
backup ID, you can lock or unlock all the copy groups used for the backup identified by the specified
ID at the same time. Specify the backup ID created when the backup was performed from the primary
volume to the secondary volume.
To check backup IDs, execute either of the following commands, according to what was backed up:
When the backup is of a file system, use the drmfscat command.
When the backup is of an SQL Server database, use the drmsqlcat command.
When the backup is of an Exchange database, use the drmexgcat command.
Basic commands106