Shutdown
You can test the status of pgmoneta and shutdown either locally or from a remote machine.
ping
You can check if pgmoneta is running by
pgmoneta-cli pingand check the output.
mode
pgmoneta detects when a server is down. You can bring a server online or offline using the mode command, like
pgmoneta-cli mode primary offlineor
pgmoneta-cli mode primary onlinepgmoneta will keep basic services running for an offline server such that you can verify a backup or do a restore.
shutdown
You can shutdown pgmoneta by
pgmoneta-cli shutdownand check the output.