Top
Enterprise Postgres 17 Cluster Operation Guide(Database Multiplexing)

2.8.1 Checking the Connection Status on a Database Server

This section explains how to use a database server to check the connection status of the Mirroring Controller arbitration process and the Mirroring Controller process on the primary server and standby server.

Perform the following procedure:

  1. On the primary server and standby server, execute the mc_ctl command in status mode with the --arbiter option specified.

    Example)
    The mc_ctl command is executed with the --arbiter option specified, and the status is output.
    $ mc_ctl status --arbiter -M /mcdir/inst1
    
    arbiter_id   host            status
    ---------------------------------------
    arbiter      192.0.3.120     online
  2. On the primary server and standby server, check the result displayed by executing the mc_ctl command in status mode in step 1.

    Items to be checked

    Check that the output status" is "online".

See

Refer to the Reference for information on the mc_ctl command.