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

NOTE:
Before you attempt to back up the file system or the database to a secondary volume, execute this
extended command for all secondary volumes of resources to be backed up. If you back up data
without clearing the cache of the secondary volume, when you mount the secondary volume, the
existing cache is overwritten to the secondary volume, and the backup data might be lost.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Conditions Causing an Error
This extended command fails in the following cases:
An invalid option is specified.
The system cannot acquire information from the operation definition file linked to the operation
ID.
The backup ID cannot be acquired from the backup ID file (when the copy group is not specified).
Information cannot be acquired from the copy-group list file (when the file is specified).
Information cannot be acquired from the host environment settings file.
No storage directory for extended-command temporary files is specified in the operation definition
file.
A command executed inside the extended command encounters an error.
The acquisition of the result of a command executed inside the extended command fails.
The command fails to obtain the name of the directory where dictionary map files are stored.
Examples
In this example, the extended command is used to clear the cache of the secondary volume that
belongs to the CG001,dev01 copy group:
EX_DRM_CACHE_PURGE operation01 -cg CG001,dev01
In this example, the extended command is used to clear the cache of the secondary volume that
belongs to the copy group specified in the C:\temp\CGLIST.txt copy-group list file:
EX_DRM_CACHE_PURGE operation01 -cg_file C:\temp\CGLIST.txt
In this example, the extended command is used to clear the cache of the secondary volume that
belongs to the copy group corresponding to the backup ID recorded in the backup ID file:
EX_DRM_CACHE_PURGE operation01
Extended commands38