Portal, V6.1
Configure WebSphere Portal to use SQL Server 2005
This section provides information on how to manually transfer data to the SQL Server 2005 database you have installed and set up. Follow these steps to transfer WebSphere Portal, and Java Content Repository databases to SQL Server 2005. Before you begin:
Ensure that the following prerequisites are met:
- Supported database software is installed.
- Databases and users are set up.
- Property files are modified.
Tips:
- Prerequisites
- Installing SQL Server 2005
- Modifying database properties
- Set up databases
- The steps for transferring data to another supported database section provides instructions for manually transferring data. Instead of performing the following steps, use the configuration wizard, which is a graphical user interface, to transfer data to another supported database.
- If you are transferring from Oracle, the open_cursors setting should be set to 1500 by default. If you are using Java Content Repository, this value might need to be increased based on the table count in the Java Content Repository schema.
Steps for transferring data to another supported database
- Open a command prompt and change to the directory WP_PROFILE/ConfigEngine.
- Validate configuration properties.
- ConfigEngine.bat validate-database-driver -DTransferDomainList=release,customization,community,jcr,feedback,likeminds
- ConfigEngine.bat validate-database-connection -DTransferDomainList=release,customization,community,jcr,feedback,likeminds
- From the same command prompt as the previous steps, change to the directory WP_PROFILE/bin.
- Stop both WAS and the WebSphere Portal server:
Option Description WAS stopServer.bat server1 -username adminid -password passwd WebSphere Portal stopServer.bat WebSphere_Portal -username adminid -password passwd - Transfer the database:
- Change to the directory WP_PROFILE/ConfigEngine.
- Enter the following commands:
ConfigEngine.bat database-transfer -DTransferDomainList=release,customization,community,jcr,feedback,likeminds
- After running this task, a message is added to the log files to verify that this task was successful. Check the log files. If the configuration fails, verify the values in the wkplc.properties, wkplc_comp.properties, and wkplc_dbtype.properties files and then repeat this step.
- Change to the directory WP_PROFILE/bin.
- Start the WebSphere Portal server: startServer.bat WebSphere_Portal
- Update the SQL Server 2005 statistics for Portal, and JCR databases by opening SQL Server Management Studio, selecting New Query, and executing the following query: use db_name exec sp_updatestats @resample='resample';
Parent topic
Configure WebSphere Portal to use SQL Server 2005
Previous topic:
Assigning custom table spaces