raccli update databasepassword

Not Oracle Cloud InfrastructureNot Oracle Cloud at Customer This topic does not apply to Oracle Cloud Infrastructure or to Oracle Cloud at Customer.

The update databasepassword subcommand of the raccli utility updates the password in the keystore (wallet) and optionally updates the password of the SYS and SYSTEM users.

Note:

This command is only applicable if your database deployment uses Oracle Real Application Clusters (RAC) and Oracle Data Guard together.

You must execute this command if you have used the update rdk command to update the cloud tooling from release 17.2.1 or an earlier release.

raccli update databasepassword -password  password [-saveonly]

If you are executing this command following an update to the cloud tooling from release 17.2.1 or earlier, you must execute the command with the –saveonly option on both the primary and standby database to update the password in the keystore.

If you are executing this command to update the password in the keystore and to update the password for the SYS and SYSTEM users, you must also copy the password file from the primary database to the standby database after executing the command on the primary database for Oracle Database 11g and Oracle Database 12c Release 1. You do not need to copy the password file for Oracle Database 12c Release 2 or later releases.

This subcommand runs synchronously.

If the subcommand fails, it reports a FAILURE status and provides a message describing the reason for the failure.

Options of this subcommand are as follows.

Option Description

—password password

The password specified when the database deployment was created, unless you have changed the wallet password since the deployment was created.

—saveonly

This option indicates the password should be updated only in the keystore (wallet). If you omit this option when executing the command on the primary database, the password is updated in the keystore (wallet) and for the SYS and SYSTEM users. If you omit this option when executing the command on the standby database, the password is updated only in the keystore (wallet).