|Oracle Business Transaction Management Online Help
Part Number E26585-05
|PDF · Mobi · ePub|
generateMonitoringScript command is part of the backup and recovery process. Using this command to capture the system's current monitoring state, allows you to restore that state later if the system is damaged and needs to be recovered.
btmcli generateMonitoringScript [-scriptLanguage bat | sh] [-o outputFile] -s sphereUrl -l username:password
|--||-scriptLanguage||The scripting language to use for the output: bat for Windows batch file or sh for Unix shell script. If not specified, it defaults to bat for Windows and sh for Unix.|
|-o||-outputFile||The name of the file where the monitoring script is written. If the file already exists, the system will generate a new name by appending a unique number to the given file name.
If you omit this flag, output is sent to stdout.
|-s||-sphereUrl||Required. The URL of the sphere with which you want to register the container.
This flag is not required if you have set the AP_SPHERE_URL environment variable for your sphere.
|-l||-userLogin||The username and password associated with the sphere, in the format: username:password. This set of credentials must belong to a user in the btmadmin role.
See Security Options in Accessing CLI Commands for information on furnishing login credentials.
You can encrypt passwords using the
The following example specifies that the script be written to the file
btmcli generateMonitoringScript -scriptLanguage bat -oMyMonitoringStateFile -s http://myHost:8080/btmcentral/sphere/ -l admin:abracadabra