Updating the database user registry | HCL Digital Experience
After you create and use the database user registry, you can update the database user ID, password, and where the data is stored. This task does not change the DN structure that is stored in the database repository.
Before you begin
If you plan to change the database where data is stored, populate the new database with all
necessary VMM tables and create the data sources in WebSphere® Application Server. Then, run this task. Read
the following information for information about setting up a VMM database. After you
populate the new database, restart the WebSphere_Portal server.
- AIX® HP-UX Linux™ Solaris Windows™: Setting up an entry mapping repository, a property extension repository, or a custom registry database repository using wsadmin commands
- IBM® i: Setting up an entry mapping repository, a property extension repository, or a custom registry database repository using wsadmin commands
- z/OS®: Setting up an entry mapping repository, a property extension repository, or a custom registry database repository using wsadmin commands
If you change the database administrator password, complete the steps in Changing database passwords that are used by HCL Portal before you run this task.
About this task
Note: Use the wp_add_DB.properties helper file in the
wp_profile_root/ConfigEngine/config/helpers directory to ensure that the correct properties
are entered. In the following instructions, where the step refers to the wkplc.properties file, use your wp_add_DB.properties helper file.
Procedure
-
Prepare your servers.
- In a stand-alone server environment, you can complete the following task when the servers are either stopped or started.
- In a clustered environment, start the deployment manager and node agent. Then, verify that they are able to synchronize.
- Go to the wp_profile_root/ConfigEngine/properties directory.
- Open the wkplc.properties file with a text editor.
-
Enter the following parameters in the wkplc.properties file under Federated DB repository
heading:
Note: Go to the properties file for specific information about the parameters.
- federated.db.DataSourceName
- federated.db.DbType
- federated.db.DbUrl
- federated.db.id
- federated.db.DbUser
- federated.db.DbPassword
- Save your changes to the wkplc.properties file.
- Open a command prompt.
- Change to the wp_profile_root/ConfigEngine directory.
-
Run the following task to delete the required repository:
- AIX® HP-UX Linux™ Solaris: ./ConfigEngine.sh wp-update-db -DWasPassword=password
- IBM® i: ConfigEngine.sh wp-update-db -DWasPassword=password
- Windows™: ConfigEngine.bat wp-update-db -DWasPassword=password
- z/OS®: ./ConfigEngine.sh wp-update-db -DWasPassword=password
- Stop and restart the appropriate servers to propagate the changes. For instructions, go to Starting and stopping servers, deployment managers, and node agents.