To install the DB2 Client Application Enabler on AIX, HP-UX and Solaris systems, perform the following steps:
To run DB2 Client Application Enabler for UNIX systems, you may have to
update some kernel configuration parameters.
|
This step is not required on AIX. If you are installing an AIX
client, skip this step and go to "Step 2. Mount the DB2 Client Application Enablers CD-ROM"
|
The following values in Table 9 are the recommended HP-UX kernel configuration parameters.
Table 9. HP-UX Kernel Configuration Parameters (Recommended Values)
Kernel Parameter | Recommended Value |
---|---|
msgseg msgmnb msgmax msgssz |
8192 65535 (1) 65535 (1) 16 |
Notes:
To change the values, do the following:
|
Go to "Step 2. Mount the DB2 Client Application Enablers CD-ROM" to continue with the installation.
|
The following values in Table 10 are the recommend Solaris kernel configuration parameters.
Table 10. Solaris Kernel Configuration Parameters (Recommended Values)
Kernel Parameter | Recommended Value |
---|---|
msgsys:msginfo_msgmax msgsys:msginfo_msgmnb msgsys:msginfo_msgseg msgsys:msginfo_msgssz |
65535 (1) 65535 (1) 8192 16 |
Notes:
To set a kernel parameter, add a line at the end of the /etc/system file as follows:
set parameter-name = value
For example, to set the value of parameter msgsys:msginfo_msgmax, add the following line to the end of the /etc/system file:
set msgsys:msginfo_msgmax = 65535
After changing the kernel parameters, reboot the system so that the changes can take effect.
To install DB2 Client Application Enabler using the DB2 Installer, you must first mount the CD-ROM. Use the DB2 Client Application Enablers CD-ROM to perform the installation. Once you have mounted the CD-ROM, you can start installing the DB2 products.
Perform the following steps to mount the CD-ROM on AIX operating systems:
mkdir -p /cdrom
smit storage
|
Device names for CD-ROM file systems must be unique. You may
need to delete a previously-defined CD-ROM file system or use another
name for your directory, if there is a duplicate device name.
|
/cdrom
smit mountfs
|
Go to "Step 3. Perform the Installation" to continue with the installation.
|
Perform the following steps to mount the CD-ROM on HP-UX operating systems:
mkdir /cdrom /usr/sbin/mount /dev/dsk/c0t2d0 /cdrom
where /cdrom is the CD-ROM mount directory.
|
Go to "Step 3. Perform the Installation" to continue with the installation.
|
Perform the following steps to mount the CD-ROM on Solaris operating systems:
mkdir -p /cdrom/unnamed_cdrom mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/unnamed_cdrom
where /cdrom/unnamed_cdrom is the CD-ROM mount directory.
|
If you are mounting the CD-ROM drive from a remote system using NFS, the
CD-ROM file system on the remote machine must be exported with root
access. You must also mount that file system with root
access on the local machine.
|
If the Volume Manager (vold) is running on your system, the CD-ROM is automatically mounted as:
/cdrom/unnamed_cdrom
After you mount the CD-ROM file system, use the DB2
Installer program to install the DB2 products.
cd /cdrom/db2/aix
cd /cdrom/db2/hpux
cd /cdrom/unnamed_cdrom/db2/solaris
./db2setup
|
It will take some time for the DB2 Installer program to start up, as it is
scanning your system for information.
|
Note: | Your screen will be different if you have already installed DB2 Version 5 products on your system. |
To display the required and optional components for the product you want to
install, select Customize. The optional components that are
most typically used are pre-selected for you.
|
To refresh the current screen, press the F5 key or Ctrl+L.
|
When you have finished selecting the product components to install, select
OK to go to the Create DB2 Services screen. To undo any
selections you made, select Cancel.
|
Go to step 9 if you do not want to create a DB2 Instance at this time.
|
You can use the default values displayed at the DB2 Instance screen or
change them. To change the default User ID for the instance,
deselect Use Default UID and enter a new value for the User
ID.
| If you are running file collections on an RS/6000 SP system that is
running AIX, ensure that the instance user ID is created from the file
collections server. When file collections is run, the user ID and group
will be deleted if added to an RS/6000 SP node that is not the file
collections server.
To see if file collections is running, issue the crontab -l command from one of the RS/6000 SP nodes and look for an entry such as: 10 * * * * /var/sysman/supper update sup.admin user.admin node.root |
After the installation is complete, the software is installed in the
DB2DIR directory,
| where DB2DIR | = /usr/lpp/db2_05_00 | on AIX |
|
| = /opt/IBMdb2/V5.0 | on HP-UX or Solaris |
| Proceed either to Chapter 14. "Configuring Client-to-Server Communications Using the CCA" or "Installing on Other UNIX Systems". |