Configuring network communications
Nowadays, almost every organization is using a server/client model for accessing data stored in a central location. In order to communicate with a server, clients must use network communication protocols recognized by the servers to perform inbound requests. The configuration of the communication stack used by the database servers, necessary to establish connections from clients, is the main subject of the following recipe.
Getting ready
In this recipe, we'll create a new instance db2inst3
and configure the communication protocol (TCP/IP) and ports by using the command line and Control Center.
How to do it...
Create the fenced user,
db2fenc3
:[root@nodedb21 instance]# useradd db2inst3 -g db2iadm1 [root@nodedb21 instance]#
Create to be a fenced user for instance
db2inst3
:[root@nodedb21 home]# useradd db2fenc3 -g db2iadm1 [root@nodedb21 instance]#
Set password identical to the username for both users.
Create instance
db2inst3
:[root@nodedb21 ~]# /opt/ibm/db2...