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