Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.4

emscli config set db

emscli 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.

emscli 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 "emscli config set db", instead use "emscli redirect"

emscli 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

emscli config set db

emscli 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.

emscli 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 "emscli config set db", instead use "emscli redirect"

emscli 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