Skip to main content
Version 4.1

DCS Management - High Availability

Below are the necessary commands to manage the high availability DCS in the PostgreSQL Ecosystem:

Command Syntax
Terminal input
    pgsmart ha dcs [OPERATION] {Flags}

Operations:​

  • Status - Allows displaying the current DCS status
  • Start - Allows starting the DCS service
  • Stop - Allows stopping the DCS service
  • Restart - Allows restarting the DCS 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 DCS status​

Terminal input
    pgsmart ha dcs status

Start the DCS service​

Terminal input
    pgsmart ha dcs start

Stop the DCS service​

Terminal input
    pgsmart ha dcs stop

Restart the DCS service​

Terminal input
    pgsmart ha dcs restart