Update the PostgreSQL credentials in the IBM® Cloud Pak for Network
Automation Vault, then log in to IBM Automation to verify that IBM Cloud Pak for Network
Automation is
available.
About this task
When you restore the PostgreSQL database and restart the microservices, a new password is
generated for the app
user for PostgreSQL.
Procedure
- Get the new PostgreSQL password for the
app
user from the
cp4na-o-postgresql-app
secret by running the following command:
oc get secret cp4na-o-postgresql-app -o 'jsonpath={.data.password}' | base64 --decode;echo
Use this password when you update the application
secret in the Vault
UI.
- Delete the Cloud Pak secrets by running the following commands:
oc delete secret cp4na-o-vault-config
oc delete secret cp4na-o-siteplanner-configuration
- Complete steps 3 to 4 in
Changing credentials.
Results
The instance of IBM Cloud Pak for Network
Automation is
restored.