HP StorageWorks P9000 Replication Manager Software 7.1 CLI Reference Guide (TB584-96021, May 2011)
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.
• A specified Application Agent command option cannot be specified as an extended command
option.
• The system fails to record a backup ID in the backup ID record file.
• A command executed inside the extended command encounters an error.
• 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 first to delete the transaction log file based on the
settings specified in the operation definition file operation01, and then to back up the database
to the secondary volume by using VSS:
EX_DRM_EXG_BACKUP operation01 -mode vss -transact_log_del
• In this example, the extended command is used first to delete the transaction log file based on the
settings specified in the operation definition file operation01, and then to back up the database
to the secondary volume:
EX_DRM_EXG_BACKUP operation01 -transact_log_del
EX_DRM_EXG_DEF_CHECK (Checks the contents of an operation definition file
and automatically creates a temporary directory)
Formats
To check the contents of an operation definition file for a database server by specifying an operation
ID:
EX_DRM_EXG_DEF_CHECK operation-ID -db
To check the contents of an operation definition file for a backup server by specifying an operation
ID:
EX_DRM_EXG_DEF_CHECK operation-ID -bk
To check the contents of an operation definition file for a database server by specifying a definition
file:
EX_DRM_EXG_DEF_CHECK -db -f definition-file-name
To check the contents of an operation definition file for a backup server by specifying a definition
file:
EX_DRM_EXG_DEF_CHECK -bk -f definition-file-name
Extended commands68