LOTUS CONNECTORS
1. Install the DB2 Administration Client software.
2. Ensure the server machine can resolve the DB2 server TCP/IP host address. For example, you should be able to ping the server. If it can't, either update the Domain Name server to include the DB2 server name and address or add an entry to your server machine's /etc/hosts file.
3. Ensure the DB2 server has enabled the TCP/IP protocol through the DB2COMM environment variable. This variable may indicate multiple protocols. Make certain it includes TCPIP. This variable must be set at the time the DB2 server is started.
4. Ensure the services file on the DB2 server machine contains an entry for TCP/IP support for each database manager instance you plan on accessing.
# DB2 connection service port
db2inst1i 3701/tcp
# DB2 interrupt connection service port
In this example, db2inst1c is the value of the service_name parameter and db2inst1i is arbitrary. 3700 and 3701 are the port numbers for the connection and interrupt port, and TCP is the protocol. The port number 3700 is arbitrary, but must be unique within the file. The second port number must also be unique and be equal to the first number plus one. These same numbers must be used when configuring the services file on the server machine.
In this example, nodename is a name you use to refer to this connection, hostname is the TCP/IP name of the DB2 server machine, and servicename is the instance name you entered in the services file (you only need to do this once using the first port even if you also entered an interrupt connection service port in the services file).
In this example, databasename is the name of the database on the DB2 server, local_database_alias is a name you choose when you wish to connect to the database from the server machine, and nodename is the name you used in the previous CATALOG TCP/IP command.
In this example, local_database_alias is the alias you cataloged and username is a valid DB2 user name.