HP P9000 Replication Manager Software 7.3.1-00 CLI User Guide

Preparations required before executing extended commands ........................................................ 176
Checking the prerequisite conditions ................................................................................... 177
Execution permissions for extended commands .............................................................. 178
Automatic execution of extended commands ................................................................. 178
Prerequisite VBScript version ........................................................................................ 178
Deletion of unnecessary files ....................................................................................... 178
Setting up an FTP service for backing up to tape .................................................................. 179
Specifying how to start the extended commands ................................................................... 179
Creating a host environment settings file .............................................................................. 180
Creating operation IDs ...................................................................................................... 181
Creating operation definition files for file system backup ........................................................ 181
Deployment of operation definition files ........................................................................ 182
Format of operation definition files ............................................................................... 182
Example of creating operation definition files (in a cluster configuration) ........................... 184
Creating operation definition files for SQL Server database backup ........................................ 186
Deployment of operation definition files ........................................................................ 186
Format of operation definition files ............................................................................... 187
Example of creating operation definition files ................................................................ 189
Creating operation definition files for Exchange database backup .......................................... 191
Deployment of operation definition files ........................................................................ 191
Format of operation definition files ............................................................................... 192
Example of creating operation definition files ................................................................ 194
Checking the temporary directory for extended commands .................................................... 196
Checking the copy-group list file ......................................................................................... 197
Checking the FTP service (if you are going to back up to tape) ............................................... 197
Creating a user script .............................................................................................................. 198
Overview of user scripts .................................................................................................... 198
Coding rules for user scripts ............................................................................................... 198
Coding rules for user scripts ........................................................................................ 198
Entries in user scripts .................................................................................................. 199
Script environment variables ........................................................................................ 205
Command execution permission ................................................................................... 205
Commands that can be specified in user pre-processing and user post-processing .............. 205
Examples of user script usage ............................................................................................ 207
Specifying settings for sending mail .......................................................................................... 207
Backing up the Application Agent operating environment ............................................................. 209
Files that need to be backed up ......................................................................................... 209
Application Agent environment setting files and log files ................................................. 209
Definition files created after the installation of Application Agent ...................................... 209
Application Agent backup information .......................................................................... 210
Recovering the operating environment ................................................................................. 212
Recovering operating environment (common among servers) ........................................... 212
Recovering backup information (file server) .................................................................... 213
Recovering backup information (database server) ........................................................... 213
Restoring backup information (backup server) ................................................................ 213
Creating the Exchange environment configuration file .................................................................. 214
4 Application Agent operations .......................................................... 217
Application Agent commands .................................................................................................. 217
Extended commands ........................................................................................................ 217
Basic commands .............................................................................................................. 218
Correspondence between extended commands and basic commands ........................................... 218
Precautions on operations ........................................................................................................ 221
Precautions on operations ................................................................................................. 222
6