Create databases and users for SQL Server
Before you begin
You should have completed installing SQL Server.
If WebSphere Portal V5.1 and an earlier version of WebSphere Portal coexist, the database user IDs for WebSphere Portal V5.1 must be different than earlier versions to avoid conflicts during installation.
Database names and user information will be required when configuring WebSphere Portal to work with SQL Server.
Create databases
Use the SQL Server Enterprise Manager to create the databases.
- Expand the nodes to see Databases.
- Right-click on Databases to see New database.
- For database name, use WPSDB.
You can store all data in the WebSphere Portal database (WPSDB). However, if you decide to use separate databases, create the following databases as well:
JCRDB Document Manager and Personalization FDBKDB Feedback LMDB Likeminds - Set the Collation Name according to your environment, for example on an English system:
- Make sure that LMDB is set to a case-insensitive collation by using:
SQL_Latin1_General_CP1_CI_AS- If you are using WPSDB, JCRDB or FDBKDB, set collation to case-sensitive by using:
SQL_Latin1_General_CP1_CS_AS- Click OK to save the database changes.
Create database users
After creating the databases, create the recommended database users with the SQL Server Enterprise Manager.
- Connect to your SQL Server instance.
- Expand the tree view beneath the SQL Server instance.
- Expand Security and right-click on Logins.
- In the opening context menu, select New Login....
- Enter the database user name. The following values are variables and should be replaced with the values for your environment. The recommended architecture suggests the following users be created:
- WPSDBUSR
- WMMDBUSR
- ICMADMIN, if a separate database is used for user content data.
- FEEDBACK, if a separate database is used for Feedback data.
- LMDBUSR, if a separate database is used for Likeminds data.
User names must be uppercase. These values must be entered uppercase when configuring WebSphere Portal.
- Select SQL Server Authentication.
- Set a password for the selected user.
- In the "Database Access" pane, select the database the user must connect to at runtime. The following mappings are recommended:
set the correct default database for WMMDBUSR. For example, if WebSphere Portal and Member Manager share a database, the default database for WMMDBUSR should be set to wpsdb. It is also recommended that the other database users have their defaults set to the correct database.
Database User WPSDB WPSDBUSR WMMDBUSR
JCRDB ICMADMIN FDBKDB FEEDBACK LMDB LMDBUSR
- Be sure that no Server Role is selected.
- Set Database Access as follows:
Database User Database Role WPSDB WPSDBUSR WMMDBUSR
public db_owner
JCRDB ICMADMIN
public db_owner
FDBKDB FEEDBACK public db_owner
LMDB LMDBUSR public db_owner
- Click OK to save the user changes.
Set SQL Server properties Authentication
After creating the databases and users, set the SQL Server Enterprise Manager Authentication setting to SqlServer and Windows . This will eliminate the need for run-time authentication of SQL Server requests.
- Open the SQL Server Enterprise Manager by selecting Start menu > Programs > Microsoft SQL Server > Enterprise Manager.
- Expand the tree control until you can see your server.
- Right click on the server name and select Properties. The "SQL Server Properties (Configure)" window will open.
- Select the Security tab.
- For Authentication, select SQL Server and Windows.
- Restart the SQL Server to apply your update.
Next steps
- Database (Windows/UNIX)
- Plan for SQL Server
- Install SQL Server
- Configure SQL Server
- Verifying database connections
- Configure WebSphere Portal for SQL Server
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.