If you are using Network Information Services (NIS), NIS+, or any other
tools to manage system configuration files, you must perform this step on the
master server. After you have completed the following, ensure that the
changes have taken effect on all DB2 servers.
To enable FCM communications between database partition servers, you must create a service entry for each logical node in the /etc/services file. The service name maps the database partition server at the machine to the actual TCP/IP port that is used. The syntax of a service entry is as follows:
DB2_instance port/tcp #comment
You must ensure that the entry defined above is the same in all /etc/services files on all machines.
As an example, suppose you wanted to make an entry in /etc/services for the instance db2inst1, and have it assigned to the TCP/IP port 9000 (indicating that there is only one node on every machine in the instance). The service name is:
If you want a single machine to have multiple logical nodes for an instance, you will need to allocate multiple ports for FCM to use; one port is needed for each logical node. Enter two lines in the /etc/services file to indicate the number of ports that you are allocating. The first line specifies the first port, while the second line indicates the end of the block of ports. In the following example, five ports are allocated for the instance. This means that no machine in the instance db2inst1 is running more than five logical nodes.
DB2_db2inst1 9000/tcp DB2_db2inst1_END 9004/tcp
You must ensure that the number of ports allocated in the file is either greater than or equal to the largest number of multiple logical nodes on any machine in the instance. When allocating ports, ensure that you account for any machines that can be used as a backup (for example, if you use High Availability (HA)).
|Note:||Specify the END keyword in uppercase only. Also ensure that you include both underscore (_) characters.|
[ DB2 List of Books | Search the DB2 Books ]