Changing IBM Spectrum Protect Plus credentials
To change IBM Spectrum Protect Plus credentials and
maintain IBM Storage Fusion and IBM Storage Fusion HCI System functionality, changes must be made in IBM Spectrum Protect Plus itself and in two OpenShift® secrets, namely
spp-connection and baas-secret.
Procedure
-
Update the password in IBM Spectrum Protect Plus:
- Log in to IBM Spectrum Protect Plus using the URL
and IBM Spectrum Protect Plus credentials that are found in the
spp-connectionsecret. - Go to Accounts > User.
- Click the account that you want to change. Note: The user must have the SUPERUSER role.
- Click ellipsis menu and select Change Password.
- Enter the new password and repeat it. Be sure to note down the new password.
- Click Update User to apply changes. The following message gets displayed:
your session has expired and you will be logged out of IBM Spectrum Protect Plus
Note: Now, you must change the IBM Spectrum Protect Plus credentials that are stored in OpenShift. - Log in to IBM Spectrum Protect Plus using the URL
and IBM Spectrum Protect Plus credentials that are found in the
- Update the password in OpenShift
CLI:
- Create a base64 encoded version of the new password:
- Run the following command:
echo -n 'new-password' | base64Replace
new-passwordwith the new IBM Spectrum Protect Plus password that you created. - You must note down and secure the output. It is a base64 encoded version of your new IBM Spectrum Protect Plus password.
- Run the following command:
- Update the password in
spp-connection:- Log in to the cluster by using the OpenShift CLI.
- Run the following command to find out in which namespace IBM Storage Fusion is
installed:
fusionns=$(oc get spectrumfusion -A -o=custom-columns=CR_NS:.metadata.namespace --no-headers) - Run the following command to edit the
spp-connectionsecret:oc edit secret spp-connection -n $fusionns - Remove the password value that follows the
passwordfield and replace it with the new, base64-encoded one. - Be sure to save your changes. Ensure that you see the following message:
secret/spp-connection edited
- Update the password in baas-secret:
- Log in to the cluster by using the OpenShift CLI.
- Run the command to copy
baas-secretto a local location:oc edit secret baas-secret -n baas - Remove the password value that follows the
baaspasswordfield and replace it with the same base64-encoded password that is added tospp-connection. - Be sure to save your changes.
secret/baas-secret edited
OpenShift now has the latest references to the IBM Spectrum Protect Plus credentials, allowing IBM Storage Fusion and IBM Storage Fusion HCI System to communicate with the IBM Spectrum Protect Plus server. - Create a base64 encoded version of the new password: