modify cdb

Modify cdb attributes.

Syntax

modify cdb -cdb cdbname_list
            [-connect connect_identifier]
            [-pwd gsmrootuser_pwd]
            [-scan scan_address [-ons port]]
            [-savename]

Options

Table 2-55 GDSCTL modify cdb Options

Option Description
-cdb cdbname_list

Specify a comma-delimited list of cdb names.

-connect connect_identifier

Specify an Oracle Net connect descriptor or a net service name that maps to a connect descriptor for the database that is being modified.

-ons port

Specify the ONS port.

-pwd gsmrootuser_pwd

Specify the password for GSMROOTUSER.

-savename

Specify this option to store a net service name specified with the -connect option in the Global Data Services catalog, rather than the connect descriptor mapped to that net service name.

-scan scan_address

Specify the SCAN address for a cluster.

Usage Notes

Some parameters are not supported after the CDB contains shards or contains shards that have been deployed.

Examples

Change a password on a CDB.

GDSCTL> modify cdb -cdb1 cdb1 -pwd new_gsmrootuser_password