Considerations for setting the target logical node
Considerations must be taken when you set the target logical node with the DB2NODE variable, or with the SET CLIENT command. The information applies to communication buffer exit libraries.
In a partitioned database environment, if the client specifies
a member through the DB2NODE variable that is not
the member it is configured to connect to, the database manager switches
the connection to the new member specified in the variable. The client
connection is forwarded through the connected member to the remote
member. In this case, the communication buffer exit library is called
at both members. There are a few features to note:
- At the connected member, the client address reflects the actual client.
- At the remote member, the client address reflects the connected member.
- The outbound application id at the connected member is the same as the inbound application id at the remote member.
- At the connected member, the database alias used reflects the database alias provided by the actual client.
- At the remote member, the database alias used is the actual database name.
db2commexitCommInfo_v1
structure is set to GATEWAY.