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

To clear the cache of the secondary volume when usual operation is in the split state:
EX_DRM_CACHE_PURGE operation-ID
{ -cg copy-group | -cg_file copy-group-list-file }
Description
This extended command sequentially executes the drmmount and drmumount commands to clear
the cache of the secondary volume.
When usual operation is in the pair status, the cache of the secondary volume for the specified copy
group is cleared based on the backup ID created when data is backed up from the primary volume
to the secondary volume. When usual operation is in the split state, you need to specify the copy
group to clear the cache of the secondary volume because the cache needs to be cleared before the
backup.
Prerequisites
The prerequisites for executing this extended command are as follows:
An operation definition file linked to the specified operation ID has been provided.
During ordinary paired operation, the file system or the database has been backed up to a sec-
ondary volume by one of the following extended commands, and a backup ID record file has
been generated:
When backing up a file system, use the EX_DRM_FS_BACKUP command.
When backing up an SQL Server database, use the EX_DRM_SQL_BACKUP command.
When backing up an Exchange database, use the EX_DRM_EXG_BACKUP command.
Arguments
operation-ID
A character string that uniquely identifies the operation to be performed. Information in the operation
definition file linked to the specified operation ID is used when executing an extended command.
-cg copy-group
When usual operation is in the split state, specify the name of the copy group to clear the cache of
the secondary volume. When the copy group to be used for the next backup can be identified, specify
that copy group. When the copy group to be used for the next backup cannot be identified, specify
all copy groups.
-cg_file copy-group-list-file
When usual operation is in the split state, use an absolute path to specify the copy-group list file that
records the copy group for which you want to clear the cache of the secondary volume. Use this
option if you want to clear the caches for many copy groups at the same time. When the copy group
to be used for the next backup can be identified, specify that copy group. When the copy group to
be used for the next backup cannot be identified, specify all copy groups.
Application Agent CLI Reference Guide 37