Skip to main content
Version 3.1.1

High Availability Proxy Management

Below are the necessary commands for managing the high availability proxy in the postgresql ecosystem:

Command Syntax
Terminal input
pgsmart ha proxy [OPERATION][Flags], being:

OPERATIONS:

  • Display the proxy status
  • Initialize the proxy service
  • Stop the proxy service
  • Restart the proxy service
  • Reload the proxy service

Flags:

  • -h, --help help
Command Execution

Display the proxy status

Terminal input
    pgsmart ha proxy status
  • Select the PgSmart agent (or Register new Agent).

    Figure 1 - High Availability - Proxy - Status
    Figure 1 - High Availability - Proxy - Status

Initialize the proxy service

Terminal input
    pgsmart ha proxy start
  • Select the PgSmart agent (or Register new Agent).

    Figure 2 - High Availability - Proxy - Start
    Figure 2 - High Availability - Proxy - Start

Stop the proxy service

Terminal input
    pgsmart ha proxy stop
  • Select the PgSmart agent (or Register new Agent).

    Figure 3 - High Availability - Proxy -  Stop
    Figure 3 - High Availability - Proxy - Stop

Restart the proxy service

Terminal input
    pgsmart ha proxy restart
  • Select the PgSmart agent (or Register new Agent).

    Figure 4 - High Availability - Proxy -  Restart
    Figure 4 - High Availability - Proxy - Restart

Recarregar o serviço do proxy

Terminal input
    pgsmart ha proxy reload
  • Select the PgSmart agent (or Register new Agent).

    Figure 5 - High Availability - Proxy -  Reload
    Figure 5 - High Availability - Proxy - Reload