Introduction
This document describes how to reconfigure the Cisco Information Server (CIS) so that it uses a new password in order to access its repository database (DB).
Background Information
The only way to change the CIS repository password is to decrypt the encrypted password that is stored in the repository DB. However, this is not recommended, because it might corrupt the security mechanism and repository DB.
Problem
You encounter a problem where you must install mulitple instances on the same system, but you forgot the repository password.
Solution
Complete these steps in order to reconfigure CIS so that it uses the new password to access its repository database:
- Change the password for the corresponding user.
Here is an example:
mysql> update user set password=PASSWORD('<PASSWORD_IN_CLEAR_TEXT>') where user='cs060205';
mysql> commit;
mysql> flush privileges
- Make a backup of the server_values.xml file located in <CIS_INSTALL>/conf/server.
- Export the repository configuration file and save it into repo.properties.
repo_util.bat -exportConfig > repo.properties
- Open the server_values.xml file and locate these lines:
<common:attribute>
<common:name>/server/config/database/databasePassword</common:name>
<common:type>PASSWORD_STRING</common:type>
<common:value>Encrypted:3C69A34C292CE89B</common:value>
- Replace the encrypted value with the new unencrypted password.
Here is an example:
<common:attribute>
<common:name>/server/config/database/databasePassword</common:name>
<common:type>PASSWORD_STRING</common:type>
<common:value>myNewPassword</common:value>
- Modify repo.properties with a clear text password, which was set in Step 5.
For more information, refer to Sample repo.properties File .
- Run repo_util.bat/.sh in order to load new repo.properties.
Here is an example:
repo_util.bat -updateConfig -configFile repo.properties
repo_util -listConfig
- Restart the Composite Server service.