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

The system cannot acquire information from the operation definition file linked to the operation
ID.
The backup ID cannot be recorded in the backup ID file.
A command executed inside the extended command encounters an error.
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.
Example
In this example, the extended command is used to create a backup ID file that contains the backup
ID 0000000001:
EX_DRM_BACKUPID_SET operation01 -backup_id 0000000001
EX_DRM_CG_DEF_CHECK (Checks the contents of a copy-group list file)
Formats
EX_DRM_CG_DEF_CHECK -cg_file copy-group-list-file-name
Description
This extended command is used to check the contents of a copy-group list file. The command first
checks to see if the file specified in the argument exists. If it does, the command then checks all the
copy groups set in the copy-group list file to make sure that:
One copy group name is coded on each line.
There is no duplication of copy group names in the file.
The copy group names in the file are included in the list of copy groups displayed by the drmcgctl
command.
Copy group names are case sensitive.
Prerequisites
The prerequisite for executing this extended command is as follows:
The extended command must be executed on the machine that contains the copy-group list file to
be checked.
Arguments
-cg_file copy-group-list-file-name
Use an absolute path to specify the copy-group list file to be checked.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Extended commands26