PgSmart CLI Installation
Once the minimum requirements are met, the deployment of the PostgreSYS Platform begins with the installation of PgSmart, which provides an intuitive guide for installing the other components.
PgSmart CLI is the command-line interface (CLI) for PgSmart. It allows administrators and operators to perform installations, configurations, and monitoring of database environments quickly and automatically using terminal commands.
The installation packages for PgSmart (Agent and Client modules) are available at the Tecnisys Public Package Repository.
To access them, use the access credentials defined during your free registration on the Tecnisys website.
For more information, refer to the Installation Packages Section.
PgSmart Agent Installation
-
Install the PgSmart Agent installation package:
Terminal inputrpm -ivh pgsmart-agent-4.0.0-1.el8.x86_64.rpm
-
Start the PgSmart Agent service:
Terminal inputsystemctl start pgsmart-agent
-
Obtain the Agent connection key:
Terminal inputcat /opt/pgsmart-agent/pgsmart.yml
PgSmart Client Installation
-
Install the PgSmart Client installation package:
Terminal inputrpm -ivh pgsmart-client-4.0.0-1.el8.x86_64.rpm
1.1 Verify that the installation was successful by running one of the following commands:
Ensure that the installation completed successfully
-
Check the PgSmart version (
--version
or-v
):Terminal inputpgsmart -v
-
Check the available commands using the help option (
--help
or-h
):Terminal inputpgsmart -h
Figure 1 - PgSmart CommandsSee here how to register a PgSmart Agent
noteDatabase environments with previously installed components are supported provided that:
- The components and their versions are listed in the PostgreSYS Platform Component Matrix;
- The component versions are compatible with the PostgreSQL version and with each other, as defined in the official documentation;
- The components were installed using source files and binaries provided by their respective open-source communities.