High Availability Proxy Management
Below are the commands required to manage the high availability proxy in the PostgreSQL ecosystem:
Command Syntax
Terminal input
pgsmart ha proxy [OPERATION] [Flags]
Operations:
- Status — Allows displaying the proxy status
- Start — Allows starting the proxy service
- Stop — Allows stopping the proxy service
- Restart — Allows restarting the proxy service
- Reload — Allows reloading the proxy service
Flags:
-a, --agent=<agent>
=> Alias, hostname or IP of the server where the desired PgSmart Agent is installed-h, --help
=> Help
Command Execution
Display proxy status
- Instructions
- Video
Terminal input
pgsmart ha proxy status
-
Select the desired PgSmart Agent (or Register a new Agent).
Figure 1 - High Availability - Proxy - Status
Carregando...
Start the proxy service
- Instructions
- Video
Terminal input
pgsmart ha proxy start
-
Select the desired PgSmart Agent (or Register a new Agent).
Figure 2 - High Availability - Proxy - Start
Carregando...
Stop the proxy service
- Instructions
- Video
Terminal input
pgsmart ha proxy stop
-
Select the desired PgSmart Agent (or Register a new Agent).
Figure 3 - High Availability - Proxy - Stop
Carregando...
Restart the proxy service
- Instructions
- Video
Terminal input
pgsmart ha proxy restart
-
Select the desired PgSmart Agent (or Register a new Agent).
Figure 4 - High Availability - Proxy - Restart
Carregando...
Reload the proxy service
- Instructions
- Video
Terminal input
pgsmart ha proxy reload
-
Select the desired PgSmart Agent (or Register a new Agent).
Figure 5 - High Availability - Proxy - Reload
Carregando...