HP XP P9000 Replication Manager Software 7.6.1-00 Application Agent CLI User Guide

Precautions for executing commands in a cluster environment
In a cluster environment, before executing a Application Agent command, you must set the environment
variable DRM_HOSTNAME as shown below.
PROMPT> set DRM_HOSTNAME=virtual-server-name
If you run a backup and restore on Windows Server 2003 in a cluster configuration that uses Veritas
Cluster Server, first use the Windows Computer Management window to make sure that the startup
type of the Windows Management Instrumentation service is not set to Disabled.
If the startup type is disabled, backup commands with cold specified in the -mode option and restore
commands with the -resync option specified will terminate in an error, with a message indicating
that the attempt to switch cluster resources offline failed.
Precautions regarding backup servers
Precautions when mounting
The drmmount command stores information about the mounted secondary volume in the following
file:
Application-Agent-installation-directory\DRM\tmp\mntpt.dat
Do not delete this file while the secondary volume is being mounted by the drmmount command.
When you execute the drmmount command with a backup ID specified, the copy group corres-
ponding to the backup ID is locked. Such copy groups can be unlocked by executing the drmu-
mount command with the same backup ID. As such, if you use the drmmount command to mount
the secondary volume, make sure to use the drmumount command to unmount the volume. If, for
some reason, the volume cannot be unmounted by using the drmumount command, use OS
commands to unmount the volume, and then use the drmcgctl command to unlock the copy
group corresponding to the backup ID specified using the drmumount command.
If NetBackup is used with tape backup management software, the following points should be taken
into consideration with respect to the drmmount command when the -mount_pt option is spe-
cified:
If the drmmediabackup command and the drmmediarestore command are used with an
arbitrary directory specified in the drmmount command's -mount_pt option and the secondary
volume is allocated to a mount point, Application Agent requires that the Policy registered with
NetBackup has the cross mount point checkbox set to ON.
If the drmmediabackup command and the drmmediarestore command are used with an
arbitrary directory specified in the drmmount command's -mount_pt option, the -raw option
cannot be specified in the drmmediabackup command.
If the -raw option is used in the drmmediabackup command, either do not specify the
-mount_pt option in the immediately preceding drmmount command, or else specify the
drive letter in the -mount_pt option.
If an arbitrary directory is specified in the drmmount command's -mount_pt option and the
backup data obtained using the drmmediabackup command is to be restored, the drmmount
command executed before the drmmediarestore command must specify an arbitrary directory
in the -mount_pt option.
Application Agent operations232