Installing DB2
This section provides information on how
to install DB2 for use
with WebSphere Portal Express.
Before you begin:
- You should have completed reviewing the Planning
for DB2 topic.
- Review Preparing your Linux machine before continuing.
- Make sure DB2 is
set up with updated kernel parameters according to the recommendations in
the DB2 Quick Beginnings
guide at DB2 Technical
Support.
- DB2 Connect,
part of IBM® DB2 Universal Database™ Enterprise
Server Edition, must be installed
on the same machine as WebSphere Portal Express.
When you install DB2 using the DB2 installation program, it automatically creates a DB2 administrative user with the correct operating system rights.
If you are using a type 2 connection, before you begin installing WebSphere Portal Express, also install the client software, DB2 Connect, on the same machine as WebSphere Portal Express and WebSphere
Application Server. Installing DB2 Connect enables the WebSphere Portal Express to use the required JDBC drivers. You must also ensure that the DB2 Connect installation is the same name as the server profile name. Refer to the DB2 information
center.
- If you are using
a type 2 driver, configure your DB2 Connect
client with the following commands. If you are using a remote database,
complete this step separately from the WebSphere Portal Express installation.
- db2 update dbm cfg using tp_mon_name WAS
- db2 update dbm cfg using spm_name hostname,
where hostname is the host name of WebSphere Portal Express.
Because the default for spm_name is the hostname itself,
specifying the hostname parameter is optional.
If your hostname is more than eight characters, use empty double quotes ("
"). For example, db2 update dbm cfg using spm_name " ".
- Before installing DB2, log in with a user ID
that has administrative authority.
The system user ID and password
must match the database user ID and password for the WebSphere Portal Express databases.
If you do not use the default DB2 database
user ID, or if access a remote database, create the system user ID
before installing DB2.
To
set up the environment for the database access:
- The initialization script for this user (for example, user-home/.profile)
must contain a call to the db2profile script
in the db-home/sqllib directory.
- After you create the system user ID and password for the DB2 installation,
add the user ID to the DB2 administration
group (such as db2adm) for that system.
To ensure that the user is set up correctly, login with this
user ID and start the DB2 command
line processor by executing the command: db2. If the command
line processor displays, the user ID is set up correctly.
- To install DB2,
follow the instructions that are provided with the DB2 documentation
to install DB2 and the
required fix pack.
Parent topic: Configuring DB2
Next topic: Creating remote databases
Related reference
DB2 Technical Support
DB2 Version 8 Connectivity Cheat Sheet
DB2 Information Center
|
|
|