beautypg.com

2 db2 server deployment methods – IBM Data Server DB2 User Manual

Page 56

background image

42

DB2 Deployment Guide

Communication settings

DB2 partitions communicate with each other through TCP/IP. During the
planning, ensure that there are consecutive ports with same number available on
each participating machine. The number of the available ports must be equal to
or greater than the number of participating partitions plus two. Suppose that you
set up a partitioned database system comprising six partitions. Then you have to
reserve at least eight ports on each participating computer. When using DB2
Setup wizard installation, the ports will be reserved in /etc/services for UNIX and
Linux, or %SystemRoot%\system32\drivers\etc\services for Windows. See
Example 2-3.

Example 2-3 TCP/IP ports

DB2_InstanceName 60000/tcp
DB2_InstanceName_1 60001/tcp
DB2_InstanceName_2 60002/tcp
DB2_InstanceName_3 60003/tcp
DB2_InstanceName_4 60004/tcp
DB2_InstanceName_END 60005/tcp

Only the first port and the last port entries are mandatory. The other entries (such
as 60001, 60002, 60003, and 60004 in this example) are used to inform other
applications that the ports have been reserved by a DB2 instance.

2.2 DB2 server deployment methods

In this section, we discuss all installation methods available for a DB2 server
deployment. So far we have finished the preparation tasks in a planning stage.
By now, you should have selected one or more DB2 server products, and the
platform (operating system) to which deployment will take place. Based on this
information, you can go ahead and choose the deployment method that best
suits your requirements.

Some users prefer a step-by-step installer that provides more explanations and
suggestions during the deployment. Such an installer can guide customers
through the entire installation process including not only the product deployment,
but also some configuration works, such as creating groups and users, setting up
an instance, or creating even a sample database.

In contrast, others might be looking for more direct way to deploy a DB2 server
across multiple machines. They might prefer a non-interactive installation
method to automate and customize the installer and embed it into their own
scripts or applications.