Portal, V6.1
Create remote databases
A remote database resides on a different machine than WebSphere Portal. You must manually create the required databases before configuring WebSphere Portal to work with DB2 for z/OS. Before you begin, complete the following prerequisites:
- These instructions assume that you will use a local IBM DB2 Universal Database Enterprise Server Edition Connect to connect to a remote IBM DB2 Universal Database for z/OS server, and that IBM WebSphere Application Server, WebSphere Portal, and DB2 Connect will be installed on the same machine.
- To run SQL statements, use a tool like SPUFI. The specified statements include CREATE STOGROUP, CREATE DATABASE and CREATE TABLESPACE. For CREATE STOGROUP you have to replace the icmvolumes and icmvcat variables with volume serial numbers and a catalog name for your environment. For CREATE TABLESPACE you can specify a specific BUFFERPOOL. Refer to the DB2 for z/OS SQL Reference for a description of these options.
- Ensure that a TEMP database is created for your subsystem. Use the following statements to create a TEMP database:
CREATE DATABASE db_name AS TEMP; CREATE TABLESPACE ts_name IN db_name;- Log on to the DB2 subsystem on the host server. DB2 system administrator rights are needed to create the databases.
- Replace variables as follows:
- releasenameonzos, communitynameonzos, and customizationnameonzos are the WebSphere Portal databases for WebSphere Portal and Member Manager data.
- fdbkdbnameonzos and fdbkdbts are the database and table space, respectively, for Feedback data.
- lmdbnameonzos and lmdbts are the database and table space, respectively, for LikeMinds data.
Use the following steps to set up WebSphere Portal with a remote instance of DB2 for z/OS. Refer to Planning for DB2 for z/OS for a list of databases and table space names. If you are configuring multiple WebSphere Portal instances to use a single DB2 subsystem, be sure to use the database and table space names associated with the WebSphere Portal instance you are setting up.
- Prerequisites
- Installing DB2 for z/OS
- Creating users
- CREATE DATABASE releasenameonzos CCSID UNICODE;
- CREATE DATABASE communitynameonzos CCSID UNICODE;
- CREATE DATABASE customizationnameonzos CCSID UNICODE;
- Execute the steps in the topic Creating the Java Content Repository database.
- CREATE DATABASE fdbkdbnameonzos CCSID UNICODE;
- CREATE TABLESPACE fdbkdbts IN fdbkdbnameonzos USING STOGROUP SYSDEFLT PRIQTY 5000 SECQTY 500 LOCKSIZE ROW;
- CREATE DATABASE lmdbnameonzos CCSID UNICODE;
- CREATE TABLESPACE lmdbts IN lmdbnameonzos USING STOGROUP SYSDEFLT PRIQTY 5000 SECQTY 500;
Parent topic
Configure WebSphere Portal to use DB2 for z/OS
Previous topic:
Creating usersNext topic:
Creating the Java Content Repository database