DB2 Connect Quick Beginnings for UNIX**

Installing DB2 Connect

If you want to install a DB2 Administration Client, Run-Time Client, or Application Development Client see Installing DB2 Clients on UNIX Operating Systems. For information on how to deploy this product using a distributed installation, refer to the Installation and Configuration Supplement.

This section describes how to install DB2 Connect on UNIX-based system using either the db2setup utility or your operating system's native administration tools. For information on how to deploy this product using a distributed installation, refer to the Installation and Configuration Supplement.

Before You Begin

Please read the following information before installing your DB2 product.

System requirements

Ensure that your system meets all of the memory, hardware, and software requirements to install your DB2 product. For more information, see Planning for Installation.

Product licensing

Your product CD-ROM contains several DB2 products. Your Proof of Entitlement and the License Information booklet identify the products for which you are licensed.

Migrating from previous versions of DB2

DB2 for UNIX Version 7 products can co-exist on the same machine with previous versions of DB2. However, if you want to migrate databases and instances that were created using DB2 Version 5.0 or Version 5.2, you must complete certain tasks before and after installing DB2. For pre-installation migration tasks, see Planning for Installation.

NIS and NIS+ environments
If you are running Network Information Services (NIS) or NIS+, you must create group and user IDs on the master server before installing DB2. You also need to set up the user and group names in such a way that the primary group of the Administration Server must be in the secondary group list of all the instances, and the secondary group list of the Administration Server must contain the primary group of all the instances. If NIS or NIS+ is not running on the system, secondary group lists are modified automatically.

Installation parameters

You should identify and record the parameter values required to install your DB2 product. Table 5 will help you determine these values and provides space in the Your Value column to record your own parameter values. The only parameter for which you must provide a value is DB2 Product Name. All other parameters either have a default value or are optional.

We recommend that you create the following unique usernames and groups:

Usernames for the default DB2 instance and Administration Server should conform to both your operating system's naming rules and those of DB2. For more information on DB2 naming rules, see Appendix D, Naming Rules.

Table 5. Parameter Values Required for Installation
Information Required for Installation Default Value Your Value
Product/Component
DB2 Product Name1 DB2 Connect
DB2 Product Messages None
Documentation None
DB2 Instance
User Name db2inst1
UID System-generated UID
Group Name db2iadm1
GID System-generated GID
Home Directory /home/db2inst1

Fenced User Defined Functions (UDFs)

db2fenc1
Password ibmdb2

TCP/IP Service Name

db2cdb2inst1
TCP/IP Port Number 50000
IPX/SPX File Server Name *
IPX/SPX Object Name *
IPX/SPX Socket Number 879E
IPX/SPX NetWare User ID None

IPX/SPX NetWare Password

None
Administration Server
User Name (DAS) db2as
UID (DAS) System-generated UID
Group Name (DAS) db2asgrp
GID (DAS) System-generated GID
Home Directory /home/db2as
Password (DAS) ibmdb2
TCP/IP Port Number (DAS) 523 523
IPX/SPX File Server Name (DAS) *
IPX/SPX Object Name (DAS) *
IPX/SPX Socket Number (DAS) 87A2 87A2
IPX/SPX NetWare User ID (DAS) None
IPX/SPX NetWare Password (DAS) None
Note:You can optionally select one or more filesets in this product. There is a separate fileset for each locale.

About the db2setup utility

We recommend that you use the db2setup utility to install DB2 products on UNIX-based systems. This utility leads you through the installation process using a simple text-based interface that includes online help. Default values are provided for all required installation parameters, but you can also enter your own values.

The db2setup utility can:

If you choose to install DB2 using another method, such as using your operating system's native administration tools, you will have to perform these tasks manually.

The db2setup utility can also generate a trace log to record errors during installation. To generate a trace log, enter the ./db2setup -d command. This generates a log in /tmp/db2setup.trc.

The db2setup utility works with bash, Bourne, and Korn shells. Other shells are not supported.

Your next step
To install DB2, go to the appropriate chapter:

Installing DB2 Connect for AIX.

Installing DB2 Connect for HP-UX.

Installing DB2 Connect for Linux.

Installing DB2 Connect for NUMA-Q.

Installing DB2 Connect for Solaris.


[ Top of Page | Previous Page | Next Page ]