Top
Enterprise Postgres 16 Cluster Operation Guide(Database Multiplexing)

3.4 Manually Switching the Primary Server

The primary server cannot be switched automatically in the following case:

In this case, to manually switch the primary server, execute the mc_ctl command in switch mode on either the primary server or the standby server.

Example)
$ mc_ctl switch -M /mcdir/inst1

Point

If automatic switch/disconnection is enabled, it is possible to perform switch of primary server at any time.