HP XP P9000 Replication Manager Software 7.6.0-00 Application Agent CLI Reference Guide
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.
• Information cannot be acquired from the backup ID file (when no copy group is specified).
• Information cannot be acquired from the copy-group list file (when the file is specified).
• An invalid copy track size is specified.
• A command executed inside the extended command encounters an error.
• The acquisition of the result of a command executed inside the extended command fails.
• 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.
• 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 resynchronize the pair volume of the copy
group CG001,dev01:
EX_DRM_RESYNC operation01 -cg CG001,dev01
• In this example, the extended command is used to resynchronize the pair volumes of the copy
group specified in the list file C:\temp\CGLIST.txt in batch mode:
EX_DRM_RESYNC operation01 -cg_file C:\temp\CGLIST.txt
• In this example, the extended command is used to resynchronize the pair volume of the copy
group corresponding to the backup ID recorded in the backup ID file:
EX_DRM_RESYNC operation01
Extended command specifications (Tape-related commands)
EX_DRM_CACHE_PURGE (Clears the cache of the secondary volume)
Formats
To clear the cache of the secondary volume when usual operation is in the pair status:
EX_DRM_CACHE_PURGE operation-ID
Extended commands36