DatabaseWatchdog
The Oracle Communications Unified Assurance Database Watchdog service verifies availability of configured databases and maintains states. You can view the state of the databases on the Databases UI. See Databases in Unified Assurance User's Guide for information about this UI.
The service is automatically enabled on all servers in a redundant environment to support quicker fail over if a primary database is down, and fail-back when the primary database recovers.
You can run this application as a service using the Services UI.
Database Watchdog Setup
In a redundant environment, Database Watchdog is enabled by default.
In non-redundant environments, you can manually enable the default Database Watchdog, or create a custom one. See Services in Unified Assurance User's Guide for information about the UI for creating and enabling services.
Default Service
The following table shows the settings for the default Database Watchdog service. Actual values are in bold, descriptions of values are in plaintext.
Field | Value |
---|---|
Package | assure1-app |
Name | Database Watchdog |
Program | bin/DatabaseWatchdog |
Arguments | This field is blank. There is no default value. |
Description | Database state watcher |
Failover Type | Standalone (Supported: Standalone) |
Status | Disabled |
Privileged | This option is selected. |
Default Configuration
The following table shows the default configurations for the application. Actual values are in bold, descriptions of values are in plaintext.
Name | Default Value | Possible Values | Notes |
---|---|---|---|
CheckTime | 60 | An integer | How often (in seconds) where the application checks to see if there are any relevant changes. |
Interval | This field is blank. There is no default value. | An integer | How often (in seconds) where the application checks the state of the databases (defaults to 30 if unset). |
LogFile | logs/DatabaseWatchdog.log | Text, 255 characters | The relative path to the log file. |
LogLevel | ERROR | OFF, FATAL, ERROR, WARN, INFO, DEBUG | The logging level for the application. |
Threads | 3 | An integer | Number of process threads created. |
TimeOut | This field is blank. There is no default value. | An integer | The time out for the database connection (defaults to 10 if unset). |
SBMLimit | 10 | An integer | (Optional) For mysql databases in redundant environment. Limit for Seconds_Behind_Source to be considered up-to-date. Defaults to 10 seconds. |
Administration Details
The following list shows the technical details you will need for advanced administration of the application:
-
Package: assure1-app
-
Synopsis:
./DatabaseWatchdog [OPTIONS]
-
Options:
-c, --AppConfigID N Application Config ID (Service, Job, or Request ID) -?, -h, --Help Print usage and exit
-
Threaded: Multithreaded