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 [flags]
Options
--db.connection_pool_mode string The database connection pool mode. Accepted values: low|medium|high
--db.host string The database host
--db.hosts string Comma-separated list of IP:PORT@DCS pairs for DB cluster nodes. Examples: --db_hosts="10.0.0.5:5432" or --db_hosts="10.0.0.5:5432,10.0.0.6,10.0.0.8:5434,..." or --db_hosts="10.0.0.5:5432@Dc1,10.0.0.6:5636@Dc1,10.0.0.8:5434@Dc3,..."
--db.password string The database password
--db.port string The database port
--db.preferred_dcs string The preferred data centers for EMS ha node (Optional), used together with --db.hosts. Examples: "--db_hosts="10.0.0.5:5432@Dc1,10.0.0.6:5636@Dc2,10.0.0.8:5434@Dc3,..." so --db.preferred_dcs Dc1,Dc2.
--db.prefix string The database prefix
--db.user string The database user
-h, --help help for db
See also
- emscli config set - for updating information in a specific EMS config file