Top
Enterprise Postgres 17 Cluster Operation Guide(Database Multiplexing)

3.8.2 Stopping for Maintenance

Perform this procedure to stop all servers for periodic inspections, for example. On the server on which Mirroring Controller is running, execute the mc_ctl command in stop mode to stop the instance and Mirroring Controller.

If automatic start and stop of Mirroring Controller has been configured using systemd, do not use the mc_ctl command, but instead use the systemctl command. Refer to "2.12 Setting Automatic Start and Stop of Mirroring Controller and Multiplexed Instances" for details.

After that, on the server where the Mirroring Controller arbitration process is running, execute the mc_arb command in stop mode to stop the Mirroring Controller arbitration process.

Stopping Mirroring Controller

Example)
$ mc_ctl stop -M /mcdir/inst1 -a

Stopping the Mirroring Controller arbitration process

Linux
Example)
$ mc_arb stop -M /mcarb_dir/arbiter1
Windows
Example)
> mc_arb stop -M D:\mcarb_dir\arbiter1