HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.0 Mainframe Agent Installation and Configuration Guide (TB581-96014, November 2010)

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 could not acquire information from the definition file linked to the operation ID.
A specified Application Agent command option cannot be specified as an extended command
option.
The system could not acquire information from the backup ID file.
A command executed inside the extended command encounters an error.
The command fails to obtain the name of the dictionary map files storage directory.
Examples
In this example, the extended command is used to restore the backup data identified by the oper-
ation ID operation01 from a tape device to the secondary volume.
0000000001 is the backup ID that was created when this data was backed up to the tape device.
The secondary volume is mounted on drive E:.
EX_DRM_TAPE_RESTORE operation01 -backup_id 0000000001 -exopt -mount_pt E:
In this example, the extended command is used to restore the backup data identified by the oper-
ation ID operation01 from a tape device to the secondary volume by forcibly mounting it at the
specified mount point.
0000000001 is the backup ID that was created when this data was backed up to the tape device.
The secondary volume is mounted on drive E:.
EX_DRM_TAPE_RESTORE operation01 -backup_id 0000000001
-exopt -mount_pt E: -force
EX_DRM_UMOUNT (Unmounts a secondary volume)
Formats
EX_DRM_UMOUNT operation-ID [ -copy_group copy-group-name ]
Description
The EX_DRM_UMOUNT command unmounts the secondary volume mounted by the EX_DRM_MOUNT
command and unlocks the appropriate copy group.
If the volume corresponding to the specified copy group name is already unmounted, the
EX_DRM_UMOUNT command displays a warning message indicating that the volume is already
unmounted and continues processing.
Extended commands46