Changing the password of the OPSystem user in IBM Software Hub

You can change the password of the OPSystem user. OPSystem is a default service user account that is required by internal system actions.

Before you begin

The chng-sys-password tool must be installed on a remote system that can access the OpenPages URL. For more information, see Installing tools and utilities.

Procedure

  1. Log in to the Red Hat® OpenShift® web client as an administrator.
  2. Click Workload > Secrets, and then click openpages-<instance_name>-platform-secret.
  3. Find the value for opsystem-pw.
    The value in opsystem-pw is the current password of the OPSystem user. You need this password in a later step.
  4. Log in to the remote system where you installed the OpenPages tools and utilities.
  5. Go to the openpages-tools-client/bin directory.
  6. Run the following command:
    chng-sys-password.sh
  7. Follow the prompts to set the new password.
    For CP4D user name, enter your IBM® Software Hub user name. For CP4D API Key, enter your IBM Software Hub API key.

    You generate the API key in IBM Software Hub. For more information, see Generating API keys for authentication.

  8. Make a note of the password. You will need it in a later step.
    The script asks you to restart the services. Skip this step. You restart the services in a later step.
  9. Return to the Red Hat OpenShift web client and log in as an administrator.
  10. Click Workload > Pods, and then click openpages-<instance_name>-sts-0.
  11. Click Terminal.
  12. Back up the configuration by running the following command:
    cd /opt/ibm/OpenPages/aurora/bin ./OPBackup.sh /opt/ibm/OpenPages/openpages-backup-restore app-cp4d nosrvrst

    The backup is created in the /opt/ibm/OpenPages/openpages-backup-restore directory.

  13. Click Workload > Secrets, and then click openpages-<instance_name>-platform-secret.
  14. Click Actions > Edit Secret.
  15. Update opsystem-pw with the new OPSystem password.
  16. Restart the application server pods.
    1. Click Workload > StatefulSets, and then click openpages-<instance_name>-sts.
    2. Decrease the number of pods to 0. Wait for all pods to be removed.
    3. Increase the number of pods to the value that you use in your environment.