Skip to main content

The PgSmart Agent is the component of the PostgreSYS Platform responsible for executing the commands required to install, configure, and manage the Database, Backup, Connection Pool, High Availability, and Observability services.

PgSmart Agent Installation

  1. Install the PgSmart Agent package:

    RHEL / CentOS / Rocky / Alma / SUSE / openSUSE

    • Using rpm -ivh

      Terminal input
      sudo rpm -ivh pgsmart-agent-4.1.0-1.el8.x86_64.rpm
    • Using dnf install in RHEL-like

      Terminal input
      sudo dnf install pgsmart-agent-4.1.0-1.el8.x86_64.rpm
    • Using zypper install in SUSE

      Terminal input
      sudo zypper install pgsmart-agent-4.1.0-1.el8.x86_64.rpm

    Debian / Ubuntu

    • Using apt-get install

      Terminal input
      sudo apt-get update
      sudo apt-get install pgsmart-agent-4.1.0-amd64.deb
  2. Start the PgSmart Agent service:

    Terminal input
    sudo systemctl enable --now pgsmart-agent
  3. Retrieve the Agent connection key:

    Terminal input
    cat /opt/pgsmart-agent/pgsmart.yml | grep connectionKey
    note

    The connection key is an alphanumeric code with 24 characters (example: 9f099e002bf2d29fc4adaca7) used to register the Agent service in both the CLI and Web interfaces. This key is located in the PgSmart Agent configuration file.