Top
Enterprise Postgres 16 Cluster Operation Guide(Database Multiplexing)

3.7 Monitoring Mirroring Controller Messages

The messages that are output by Mirroring Controller are output to both the database server and the arbitration server. If the automatic switch fails, for example, an important message related to the continuation of the operation may be output, so ensure that the system log messages are monitored.

If the arbitration server is used for automatic degradation, monitor messages on both the database server and the arbitration server.

Message output destination on the database server

Messages are output to the system log.

Message output destination on the arbitration server
Linux

Messages are output to the system log.

Windows

Messages are output to the event log.

Point

  • To monitor message types considered to be important, an operating system setting must be configured beforehand. Refer to the operating system manuals, check if the message is of a message type that is monitored to be output to the system log, and configure the setting if required.

  • If the heartbeat_error_action parameter in serverIdentifier.conf is set to "message", only message output is performed when a heartbeat abnormality is detected during heartbeat monitoring of operating systems and servers - automatic switch/disconnection is not performed. Therefore users need to monitor the messages. Refer to "3.6 Action Required when a Heartbeat Abnormality is Detected" for details.

Display format on the database server

programName[processId]: messageType:messageText (messageNumber)

Specify the program name in the syslog_ident parameter of the serverIdentifier.conf file of the database server.


The message types output by Mirroring Controller, their severity, and their corresponding value in the system log are shown in the table below.

Table 3.1 Message type, severity, and corresponding value in the system log

Message type

Severity

Meaning

System log

INFO

Information

Provides information that does not fall under LOG or NOTICE.

INFO

LOG

Provides information recognized as a particularly important event in tracing the operation history.

(Example: Automatic switch is complete)

NOTICE

Notice

Outputs information that takes into account the user instructions within the program in response to an executed or automatically executed process.

NOTICE

WARNING

Warning

Provides a warning, for example it will soon be impossible to maintain the multiplexing state.

WARNING

ERROR

Error

Reports that an error other than FATAL or PANIC has occurred.

ERROR

FATAL

Reports that an abnormality was detected in multiplexed database systems requiring recovery of the system, and also the content and cause of the abnormality.

CRIT

PANIC

Reports that an abnormality was detected in all multiplexed database systems requiring immediate recovery of the system, and also the content and cause of the abnormality.

ALERT

The message severity has the following meanings:

Display format on the arbitration server

Linux
programName[processId]: messageType: messageText (messageNumber)

Specify the program name in the syslog_ident parameter of the arbitration.conf file of the arbitration server.

Windows
eventSourceName[processId]: messageType: messageText (messageNumber)

Specify the event source name in the event_source parameter of the arbitration.conf file of the arbitration server.


The message types output by Mirroring Controller, their severity, and their corresponding value in the output destination log are shown in the table below.

Table 3.2 Message type, severity, and corresponding value in the output destination log

Message type

Severity

Meaning

System log

(Linux)

Event log
(Windows)

INFO

Information

Provides information not categorized as LOG or NOTICE.

INFO

INFORMATION

LOG

Provides information recognized as a particularly important event in tracing the operation history.

(Example: Automatic switch is complete)

NOTICE

Notice

Outputs information that takes into account the user instructions within the program in response to an executed or automatically executed process.

NOTICE

WARNING

Warning

Provides a warning, for example it will soon be impossible to perform the arbitration process.

WARNING

WARNING

ERROR

Error

Reports that an error other than FATAL or PANIC has occurred.

ERROR

ERROR

FATAL

Reports that an abnormality was detected in the arbitration server requiring recovery of the system, and also the content and cause of the abnormality.

CRIT

PANIC

Reports that an abnormality was detected in the arbitration server requiring immediate recovery of the system, and also the content and cause of the abnormality.

ALERT

The message severity has the following meanings: