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

Arguments
operation-ID
A character string that uniquely identifies the operation to be performed. Information in the operation
definition file corresponding to the specified operation ID is used when executing the extended
command.
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 copy destination folder for the target file does not exist.
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.
Example
In this example, the extended command is used to deploy SQL Server metafiles based on the settings
specified in the operation definition file operation01:
EX_DRM_SQLFILE_EXTRACT operation01
EX_DRM_SQLFILE_PACK (Saves SQL Server metafiles)
Format
EX_DRM_SQLFILE_PACK operation-ID
Description
This extended command saves SQL Server metafiles in the following directory to the temporary directory
for extended commands.
On the database server:
The VDI metafile storage directory that was registered with the drmsqlinit command
On the backup server:
directory-specified-for-FTP_HOME_DIR\directory-specified-for-
FTP_SUB_DIR\operation-ID\AP
When this command is executed on the database server, all SQL Server metafiles in the backup-target
directory are deleted, and then the SQL Server metafiles are backed up from the backup-source
directory to the backup-target directory.
If this extended command is executed on the backup server, SQL Server metafiles are not deleted
from the temporary folder for extended commands.
Extended commands62