Skip to main content
Version 3.1.0

High Availability Agent Management

Check out the necessary commands to manage the High Availability Agent in the PostgreSQL Ecosystem:

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

OPERATIONS:

  • Display Agent Information
  • Display Agent Status
  • Initialize the Agent Service
  • Stop the Agent Service
  • Restart the Agent Service
  • Reload the Agent Component Services

Flags:

  • -h, --help Help
Command Execution

Displaying Agent Information

Terminal input
     pgsmart ha agent info
  1. Select the PgSmart agent (or Register new Agent).

    Figure 1 - High Availability - Agent - Info
    Figure 1 - High Availability - Agent - Info

Displaying Agent Status

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

    Figure 2 - High Availability - Agent - Status
    Figure 2 - High Availability - Agent - Status

Initialize the Agent Service

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

    Figure 3 - High Availability - Agent - Start
    Figure 3 - High Availability - Agent - Start

Stop the Agent Service

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

    Figure 4 - High Availability - Agent - Stop
    Figure 4 - High Availability - Agent - Stop

Restart the Agent Service

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

    Figure 4 - High Availability - Agent - Restart
    Figure 4 - High Availability - Agent - Restart

Reload the Agent Services

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

    Figure 5 - High Availability - Agent - Reload
    Figure 5 - High Availability - Agent - Reload