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

If ONLINE is set in CLU_MSCS_RESTORE in the Application Agent configuration definition
file (init.conf), you can perform restoration of a user database while the cluster resources
are online by specifying the -resync option. In this case, the cluster resource that manages
the instance to be restored cannot be placed offline. However, if the restoration target is a
system database (master, model, msdb, or distribution) or a database that contains a system
database, restoration will be performed offline.
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.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Example
In this example, the extended command is used to restore data from the secondary volume to the
primary volume by resynchronizing the volumes, based on the settings specified in the operation
definition file operation01: EX_DRM_SQL_RESTORE operation01 -resync
EX_DRM_SQL_TLOG_BACKUP (Backs up the transaction log of the SQL Server)
Format
EX_DRM_SQL_TLOG_BACKUP operation-ID
[ -no_cat ]
[ -no_truncate ]
[ -target database-name | -f list-file-name ]
Description
This extended command executes the drmsqllogbackup command to back up the SQL Server's
transaction log linked to the specified operation ID.
Prerequisites
The prerequisite for executing this extended command is as follows:
An operation definition file linked to the specified operation ID has been provided.
Arguments
operation-ID
Extended commands58