How-To Guides
...
Configuration Guides
Configure Monitoring & Alarm

sc-watchdog Configuration

3min

Adding required System Config Parameters

  1. Navigate to Administration > System Config Man.
  2. Enter the following fields:

Parameter Name

Definition

Description

Sample Value

netright.job.master.instance.name

Instance name

Master instance parameter for the controller region. It must be the same as the one defined in netright.properties.

singleconnect-1

netright.job.master.instance.name.$region_name

Instance name

Master instance parameter for the controlled region. It must be the same as the one defined in netright.properties

$region_name should be replaced with the defined region name in the instance controller page.

singleconnect-1

watchdog.check.attempt.num

integer

Number of times the watchdog should check the status before initiating the failover scenario

10

watchdog.check.interval

integer

How often the watchdogs should communicate with each other. (second)

300

watchdog.interregion.communication

Boolean

The default value is false. If the parameter value is changed to true, instance acknowledgments are accessible from within regions and the whole environment.

false

watchdog.stop.sapm.jobs.after.down.instance

Boolean true/false

The default value is false. If changed to true, the watchdog application will do the following checks:

  • If the status of a master instance is down, or
  • If the watchdog of a master instance is unavailable, or
  • If the replication status is not active for one of the master instances, enabled SAPM Jobs are disabled for all instances in the environment.
  • After these undesired conditions are eliminated, the disabled SAPM Jobs are changed back to Enabled to trigger.
  • Watchdog does not interfere with activity jobs, only changes their status in the database. When the status of these jobs is disabled, they are not executed. They are only executed when the status is set to β€œenabled” again.

ο»Ώ

ο»Ώ

Configuring application.properties file

  1. Create ssh connection to the instance.
  2. Navigate to /u01/watchdog/config.
  3. Edit application.properties file with vi.
  4. Edit the following parameters:

ο»Ώ

Field

Sample Value

Definition

logging.file

watchdog.log

This parameter indicates the logging file. The parameter value must be watchdog.log.

server.port

8082

This parameter indicates the port for watchdog service. The parameter value must be 8082.

netright.baseurl

https://localhost

This parameter is the netright baseurl definition. This must be https://localhost.

watchdog.instanceName

sconnect-1

It is the name of the instance that needs to be added. The instance name must be the same as the name in netright.properties file.

server.address

10.20.30.40

Instance IP