Administer > Administer the Container Deployment Foundation > Modify CDF's external database

Modify CDF's external database

You can modify CDF's external database configuration with the following command: <foundation_install_dir>/bin/updateExternalIdmDbInfo

Usage example:

updateExternalIdmDbInfo <-t|--dbtype <DB type>> <-u|--user <username>> <-H|--host <DB host>> <-p|--port <DB port>> <-d|--dbname <DB name>>

updateExternalIdmDbInfo <-t|--dbtype <DB type>> <-u|--user <username>> <-U|--url <DB connection URL>>

-u|--user External database username.

-H|--host External database host.

-p|--port External database port.

-d|--dbname External database name.

-U|--url External database connection URL.

-t|--dbtype External database type, optional choices are ("EMBEDDED","EXTERNAL_PG","EXTERNAL_ORA") . The database type must be capitalized.

-h|--help Show help.

When you modified an external default database configuration, you must recreate the IDM pod with the following commands:

kubectl delete -f <foundation_install_dir>/objectdefs/idm.yaml

kubectl create -f <foundation_install_dir>/objectdefs/idm.yaml