Skip to main content
Version 4.1.0

Metadata database connection configuration

Command Syntax
Terminal input
   pgsmart config agent[Flags]

Flags:

  • -a, --agent= <agent>. => Alias, Hostname ou IP do servidor onde o PgSmart Agent está instalado.
  • -h, --help . => Ajuda

Supported parameters:

  • metadb_password: Connection user password (pgsmart) in the PostgreSYS Environment metadata database.
  • metadb_port: TCP port where the PostgreSYS Environment metadata database will receive connections.
Command Execution
  1. Select the desired agent.
    2. Select the option Parameters.
    2. Select the desired parameter among the following:

    2.1. metadb_password: connection user password (pgsmart) in the PostgreSYS Environment metadata database.
    2.2. metadb_port: TCP port where the PostgreSYS Environment metadata database will receive connections.

    1. PgSmart will present the current data related to the selected parameter.

    2. Enter the new value for the parameter.

    3. Confirm the operation.

      Figure 1 - Metadata Connection Parameters Configuration
      Figure 1 - Metadata Connection Parameters Configuration
      note

      The change of this parameter’s value, performed by PgSmart Agent, will automatically be applied to all PostgreSYS Platform components affected by it.

      important

      A manual change, performed directly in the PgSmart Agent configuration file, will only take effect in the PostgreSYS Environment Metadata Database. For the other PostgreSYS Platform components affected by this parameter, the change must be made manually.

    Command Variations

    Some parameters can be previously passed in the command, however, the execution remains interactive, that is, during installation the informed parameters must be confirmed, along with the 'Default' values for those not provided.

    Examples:

    Configuration of the connection data with the already chosen host:

    Terminal input
       pgsmart config agent -a 192.168.0.102