Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.4

config set db

config set db

command to set specific EMS DB configuration values

Synopsis

config set db sets the value(s) of the specified setting(s) in the EMS DB configuration.

Multiple flags may be specified.

If you wish to set the value(s) of a particular setting(s) back to their default(s), use the config unset db command.

config set db does not change directly postgresql DB configuration files like postgresql.conf.

The command should be used to make EMS config files to comply to postgresql DB configurations already made.

For making EMS to be redirected to another remote database, do not use "config set db", instead use "redirect"

config set db [flags]

Options

      --db.connection_pool_mode string   The database connection pool mode. Accepted values: low|medium|high
      --db.host string                   The database host
      --db.password string               The database password
      --db.port string                   The database port
      --db.prefix string                 The database prefix
      --db.user string                   The database user
  -h, --help                             help for db

See also

  • config set - for updating information in a specific EMS config file
  • config get db - command to retrieve specific EMS DB configuration values
  • config unset db - command to unset specific DB configuration values

config set db

config set db

command to set specific EMS DB configuration values

Synopsis

config set db sets the value(s) of the specified setting(s) in the EMS DB configuration.

Multiple flags may be specified.

If you wish to set the value(s) of a particular setting(s) back to their default(s), use the config unset db command.

config set db does not change directly postgresql DB configuration files like postgresql.conf.

The command should be used to make EMS config files to comply to postgresql DB configurations already made.

For making EMS to be redirected to another remote database, do not use "config set db", instead use "redirect"

config set db [flags]

Options

      --db.connection_pool_mode string   The database connection pool mode. Accepted values: low|medium|high
      --db.host string                   The database host
      --db.password string               The database password
      --db.port string                   The database port
      --db.prefix string                 The database prefix
      --db.user string                   The database user
  -h, --help                             help for db

See also

  • config set - for updating information in a specific EMS config file
  • config get db - command to retrieve specific EMS DB configuration values
  • config unset db - command to unset specific DB configuration values