Configure WebSphere Portal for DB2

 


Configure WebSphere Portal for a local and remoteDB2

After you create the database schemas, run the basic configuration script.

Use the IBM Web Administration for iSeries tool when configuring WebSphere Portal instances. The wizard creates the necessary servers (HTTP and WAS), configures the server for Portal, configures the database for Portal, configures security (LDAP) for Portal, and deploys the portlets installed with the WebSphere Portal product. You can edit the Portal instance configuration manually after you have used the WebSphere Portal wizard.

Only run the basic configuration script after you finished editing the wpconfig.properties file and have run the create-all-dbs configuration task. Failure to do so results in configuration errors.

After you finished editing the wpconfig.properties file, perform the following steps:

Start a 5250 session on the local machine where WebSphere Portal is installed, and then run...

strqsh
cd /qibm/userdata/webas5/base/instance/portalserver5/config
wpsconfig.sh basic-config

The basic-config configuration task will only work if the create-all-dbs configuration task has been done prior.

 

Additional configuring WebSphere Portal for a remote iSeries DB2

Run the following task after running the basic-config task to reconfigure the data sources to correctly point to a remote DB2, start a 5250 session on the local machine where WebSphere Portal is installed, and then run...

> strqsh

> cd /qibm/userdata/webas5/base/instance/portalserver5/config
> wpsconfig.sh connect-database -DISeriesWpsRDBDirectoryEntry=yourentry \ -DISeriesWmmRDBDirectoryEntry=yourentry \ -DISeriesWpcpRDBDirectoryEntry=yourentry \ -DISeriesPznRDBDirectoryEntry=yourentry \ -DISeriesFbkRDBDirectoryEntry=yourentry

 

See also