Change the deployment password

Learn how to change the deployment password using a script provided with Oracle GoldenGate Maximum Availability Hub.

To update the GoldenGate Service Manager, Administration Service, XAG resource, or OCI Vault secret password, you can use the following script:

/u01/oracle/scripts/update_ogg_password.sh <deployment_name> <new_password> [<old_password> [<secret_id>]]

Parameter descriptions are as follows:

  • deployment_name: Name of the Oracle GoldenGate deployment
  • new_password: new password to set
  • old_password: old password to replace
  • secret_id: the OCI Vault secret OCID

The following are three examples of this script's usage.

Example 1: The script is run on the Primary cluster node to update the Service Manager, Administration Service, and GoldenGate XAG resource passwords, after the stack was created using OCI Vault:

/u01/oracle/scripts/update_ogg_password.sh <deployment_name> <new_password> <old_password> <secret_id> 

Example 2: The script is run on the Primary cluster node to update the Service Manager, Administration Service, and GoldenGate XAG resource passwords, after the stack was created using manual password entry:

/u01/oracle/scripts/update_ogg_password.sh <deployment_name> <new_password> <old_password>

Example 3: This script is run on the Secondary cluster node to update the GoldenGate XAG resource password:

/u01/oracle/scripts/update_ogg_password.sh <deployment_name> <new_password>