HP StorageWorks P9000 Replication Manager Software 7.1.1 CLI Reference Guide (TB584-96028, September 2011)

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.
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:
Application Agent CLI Reference Guide 37