Changing a database password without restarting the application server
When you implement a database password change, you can reduce downtime by performing a live refresh of the application server.
Before you begin
Procedure
The following steps configure the application server to enable the live refresh functionality. The application server needs to be configured only once.
- Create a directory that the application server can access. Copy the maximo.properties to that location. You can rename the copied file if you prefer.
- In the application server, add the Dmxe.properties.overridepath JVM argument and set the value to the location of the properties file from step 1. For example, Dmxe.properties.overridepath=c:\properties\maximo.properties.
- Restart the application server.
The following steps must be performed each time that you update the administrative database account password.
- Update the maximo.properties file with new value for the mxe.db.password property and encrypt the file if necessary. If encrypting, use the –p argument to specify the current password, since the utility requires a current database connection.
- Copy the maximo.properties file to the location specified in the mxe.properties.overridepath argument.
- Enable Admin mode.
- In the administrative console for the database, change the database password for the user or users.
- In the Database Configuration application, run the Reload Database Connection action.
- Once complete, turn off Admin Mode. For clustered environments, the update is pushed to the other nodes, which will take additional time. A node will not be able to come out of Admin mode if the refresh is incomplete.