Changing Db2 administrator password on LDAP configured servers
If there is a password expiration restriction in effect, you must change the Db2 password for the user ID before the expiration period expires.
About this task
Depending on your deployment, see the relevant section to update the Db2 administrator password:
- For a stand-alone server
- For a Multi-Master cluster
Procedure
- For a stand-alone server
- Run the steps that are described in the following topics to change the
Db2 administrator password.
- Windows
- Run the steps 3 - 5 in the Updating Db2 password on a Windows system topic.
- Linux®
- Run the steps 1- 3 in the Updating Db2 password on a Linux or AIX system topic.
- Change the Db2 data source
password that is configured in WebSphere Application Server Liberty:
- Using the graphical user interface
- Log in to the graphical user interface.
- On the header bar, click the settings icon (
) and select Change database password.
- In the Change database password page, type the new password and confirm the new password in the respective fields.
- Click Save.
- Using REST interface
- Open a REST client.
- Obtain a unique user authentication identifier to access IBM Guardium Key Lifecycle Manager REST services. For more information about the authentication process, see Authentication process for REST services.
- Run Update Db2 Password on Standalone Server REST Service.
- Using the graphical user interface
- Restart the server. For more information, see Restarting the IBM Guardium Key Lifecycle Manager server.
- Run the steps that are described in the following topics to change the
Db2 administrator password.
- For a Multi-Master cluster On every master server (HADR)
- Set the Db2PasswordChangeActivity property in the
MMConfig.properties file to true. For instructions, see Update Config Property REST Service.
- Run the steps that are described in the following topics to change the
Db2 administrator password.
- Windows
- Run the steps 3 - 5 in the Updating Db2 password on a Windows system topic.
- Linux
- Run the steps 1- 3 in the Updating Db2 password on a Linux or AIX system topic.
- On any master server: Change the Db2 data source password that is configured in
WebSphere Application Server Liberty:
- Using the graphical user interface
- Log in to the graphical user interface.
- On the header bar, click the Settings icon and select Change database password.
- In the Change database password page, type the new password and confirm the new password in the respective fields.
- Using REST interface
- Open a REST client or Swagger UI. For more information, see Using Swagger UI.
- Obtain a unique user authentication identifier to access IBM Guardium Key Lifecycle Manager REST services. For more information about the authentication process, see Authentication process for REST services.
- Run Update Db2 Password in Multi-Master Cluster REST Service.
- Using the graphical user interface
- On every master server (HADR): Set the
Db2PasswordChangeActivity property in the
MMConfig.properties file to false. For instructions, see Update Config Property REST Service.
- Set the Db2PasswordChangeActivity property in the
MMConfig.properties file to true.