473,395 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Connecting to Different Physical Node on Partitioned Database on DB2 8.1.6

We are running DB2 UDB 8.1.6 in a partitioned environment where we have
8 physical nodes. We have a process that remotely connects to each
individual node and loads some data. By setting the DB2NODE variable
to a different value then the coordinator node is the only way I am
aware for a remote application to do this so I am making the assumption
that is how this application connects. What I am more interested in is
that after logging into any other node besides the coordinator node and
running NETSTAT I don't see a physical TCP connection to the remote box
that the application is running on. I only see a physical TCP
connection to the coordinator node. Why is this? It would appear that
even though we are connecting to a different node it is still making
some sort of a connection through the coordinator node and then the
coordinator routes the traffic to the appropriate node. Can anyone
confirm this or lend more information?
Spencer

Nov 12 '05 #1
3 3220
DB2NODE creates a gateway to the remote node through the node your
connected to instead of directly connecting to the node specified in
DB2NODE. If you want to connect directly to the remote node i would
catalog each remote node locally, and connect directly.

currently with that way you have it setup you have

client ---> node0 (gateway connection) ----> <node specified in
DB2NODE>

How to connect directly to a node:

cataloging each node:

db2 catalog tcpip node node0 remote <server0name> server <servicename>
db2 catalog tcpip node node1 remote <server1name> server <servicename>
....

catalog database on each node:

db2 catalog db <dbname> as <dbname0> at node node0
db2 catalog db <dbname> as <dbname1> at node node1
...

then instead of using DB2NODE=X connect directly dbnameX

Ronen

stabbert wrote:
We are running DB2 UDB 8.1.6 in a partitioned environment where we have 8 physical nodes. We have a process that remotely connects to each
individual node and loads some data. By setting the DB2NODE variable
to a different value then the coordinator node is the only way I am
aware for a remote application to do this so I am making the assumption that is how this application connects. What I am more interested in is that after logging into any other node besides the coordinator node and running NETSTAT I don't see a physical TCP connection to the remote box that the application is running on. I only see a physical TCP
connection to the coordinator node. Why is this? It would appear that even though we are connecting to a different node it is still making
some sort of a connection through the coordinator node and then the
coordinator routes the traffic to the appropriate node. Can anyone
confirm this or lend more information?
Spencer


Nov 12 '05 #2
Great information! Thank you for the confirmation. We are having some
routing issues occur when the node0 is acting as a gateway connection
and we have some traffic going over a network that it shouldn't be.
This information will be of great help. I am assuming also that when I
specify something other then the controlling node the controlling node
then uses the db2nodes.cfg file to find the hostname that partition
resides on and that is the host the controlling node makes a connection
too. Is this correct or is the partition number to hostname resolved
someway else?
Spencer

Nov 12 '05 #3
Yes Stabbert. You are perfectly right.

Cheers,
thiru
WantedToBeDBA.

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: cat | last post by:
HiFolks, I am newbie in DB2 ESE. Here is the question, I already created an instance db2inst1 under file system /db2home/db2inst1 ( actually the instance has been created after installation.)...
0
by: Sandeep S. Mutalik | last post by:
Hi, I am working with db2 8.1 ese instance with two physical nodes on AIX 5.1 boxes. I want to get history of the dropped tables from any of the nodes. I tried to use db2 api function...
20
by: xixi | last post by:
hi, we use db2 udb v8.1 on windows, i am trying to use federated database objects to create wrapper, even though i have update dbm cfg using federated yes, i still get error "the instance for the...
8
by: Kamlesh | last post by:
Hi, How do I know the physical database path of a database. When I goto the DB2INSTANCE users's directory (/home/db2inst1), I see following folders: /db2inst1/NODE0000/SQL00001...
0
by: for_your_spam_only | last post by:
Hi everybody, please take a look at the "screenshot" (DB2 CLI), Server is V7, FP12 running on WinNT, LDAP service is on AIX, IBM Directory Server 4.1 D:\>db2level DB21085I Instance "DB2"...
1
by: db2udbgirl | last post by:
Env : DB2 UDB 8.2 / AIX 5.3 When I try to use some DB2 Utilities against a partitioned table which is not defined on a particular node (Node 0 in this case) I'm getting this error. ...
0
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2...
10
by: mairhtin o'feannag | last post by:
Hello, I'm having problems connecting to my new v9 db box. The pertinent information is below: DB2_db2inst1 60000/tcp DB2_db2inst1_1 60001/tcp DB2_db2inst1_2 60002/tcp DB2_db2inst1_END...
1
by: malooga | last post by:
Hello, I'm having a problem connecting to DB2 on a remote iSeries host from a Linux server, both of which reside on my company's internal network. I'm using the IBM Linux Client V9.1. When I try...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.