 |
Changing Portal Database User Ids
|
| | | Question | | How can I change my Portal database user to a different user? | | | | | | Cause | | You may have created a database user with too much authority, for example system administrator authority for the entire server; or you created your databases and ran the database transfer task with the userid of the database administrator, and now need to change so that Portal accesses the database as a different user. | | | | | Answer | | This answer assumes that you have already created the database users on the database. For further information about how to create database users, please refer to the database documentation.
The recommended way to change the users through which Portal accesses the database, is to change the user names in the Portal properties file and run the connect-database task. This updates the datasources while maintaining current properties in the Portal configuration files, so that the values are correct when running configuration tasks at a later date.
Portal 6.0: - For a cluster, start the deployment manager and node agent if they are not already running.
- Stop Portal
- Edit the following file:
PortalServer/config/wpconfig_dbdomain.properties
Update the properties file with the new user id and password for each domain: dbdomain.dbUser=newDBUser
- Navigate to the following directory:
PortalServer/config/
- Start the connect-database task:
Windows:
WPConfig.bat connect-database AIX, Solaris, Linux, Unix:
./WPConfig.sh connect-database
- Once the configuration task has completed successfully, start Portal
Portal 6.1: - For a cluster, start the deployment manager and node agent if they are not already running.
- Stop Portal
- Edit the following file:
<portal profile>/ConfigEngine/properties/wkplc_comp.properties
Update the properties file with the new user id and password for each domain: dbdomain.dbUser=newDBUser
- Navigate to the following directory:
<portal profile>/ConfigEngine/
- Start the connect-database task:
./ConfigEngine.sh connect-database
- Once the configuration task has completed successfully, start Portal
Alternatively, you can change the datasources in the WebSphere Application Server (WAS) administrative console:
- In the WAS admin console, or, in a cluster, the the deployment manager console, navigate to J2C authentication data:
WebSphere Application Server 6.0:
Secure administration, applications, and infrastructure > JAAS - J2C authentication data WebSphere Application Server 6.1:
Security > Secure administration, applications, and infrastructure > Java Authentication and Authorization Service > J2C Authentication Data WebSphere Application Server Version 7.0:
Security > Global security > Java Authentication and Authorization Service > J2C Authentication Data.
- For each Portal database alias, (for example, you might see wpsDBAuth, wmmDBAuth, jcrDBAuth, fbkDBAuth, lmDBAuth, and wcmDBAuth)
- Click to navigate to the configuration pane, where you will see the User ID and password fields.
- Change the user id to the desired db2 user.
- Make sure the password is correct.
- Click OK and save the changes. You will get a message saying that security.xml has been updated.
- Restart the application server or deployment manager.
- Ensure that the wpconfig_dbdomain.properties file for Portal v6.0 and the wkplc_comp.properties file for Portal v6.1 are updated with the new databse user IDs.
| | | | | | | | | |
 |
| IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml. |
 |
 |
 |
| Please take a moment to complete this form to help us better serve you. |
 |
 |
 |
|
|
|
 |
 |
| Product categories: |
 |
| | Software |  |
| | Organizational Productivity, Portals & Collaboration |  |
| | Portals |  |
| | WebSphere Portal |  |
| | Configuration |  |
 |
| Operating system(s): |
| |
AIX, Linux, Solaris, Windows
|
 |
| Software version: |
| |
6.0, 6.1
|
 |
| Reference #: |
| |
1406005
|
 |
| IBM Group: |
| | Software Group |
 |
| Modified date: |
| | 2009-11-13 |
 |
|