473,382 Members | 1,784 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,382 software developers and data experts.

db2 connect 4 minut delay after adding partitions

Hi!

I have a previous post on the subject that connect takes a long time.

I uninstalled db2 completely.
Installed V9.5
Installed fixpack 1
created das
created an instance
installed database sample.
Tested to connect to sample from DB2 CC - Worked OK
Stopped db2.
configured UDB to use Openssh following Liam Finnies step-by-step
guide
Updated db2nodes.cfg:
0 myhost 0
1 myhost 1
2 myhost 2
Started db2
tested "db2_all echo hi" and "db2_all db2_all echo hi" OK
Tried to connect to db SAMPLE .....................
alas, a 4 minute delay from DB2CC or db2 client on other server.
Connection via jdbc (DBVisualizer) still works OK
Obviously, the partitioning feature or ssh has something to do with
the problem.

We have a similar configuration in our test environment but on V9.1
and it works OK.
/dg


Jun 27 '08 #1
5 3108
On May 6, 7:45 am, danfa...@hotmail.com wrote:
Hi!

I have a previous post on the subject that connect takes a long time.

I uninstalled db2 completely.
Installed V9.5
Installed fixpack 1
created das
created an instance
installed database sample.
Tested to connect to sample from DB2 CC - Worked OK
Stopped db2.
configured UDB to use Openssh following Liam Finnies step-by-step
guide
Updated db2nodes.cfg:
0 myhost 0
1 myhost 1
2 myhost 2
Started db2
tested "db2_all echo hi" and "db2_all db2_all echo hi" OK
Tried to connect to db SAMPLE .....................
alas, a 4 minute delay from DB2CC or db2 client on other server.
Connection via jdbc (DBVisualizer) still works OK
Obviously, the partitioning feature or ssh has something to do with
the problem.

We have a similar configuration in our test environment but on V9.1
and it works OK.
/dg
Hello,

I can't say where the delay is coming from.... but I can say that it's
not from configuring the server to use ssh. Configuring the server to
use ssh (via DB2RSHCMD=/usr/bin/ssh) only affects db2start/db2stop
processing (and commands invoked by db2_all/rah). After that point,
FCM is used to communicate between the different database partitions.
So, connecting to a database will not involve ssh (at least on the
server), so the delay must be coming from somewhere else.

Do you see the same delay if you explicitly select a partition to
connect to? i.e. 'export DB2NODE=0 ; db2 connect to SAMPLE'? What if
you replace 'myhost' in your db2nodes.cfg with the fully-qualified
domain name?

Cheers,
Liam.
Jun 27 '08 #2
On May 6, 2:43*pm, Liam Finnie <lfin...@ca.ibm.comwrote:
On May 6, 7:45 am, danfa...@hotmail.com wrote:


Hi!
I have a previous post on the subject that connect takes a long time.
I uninstalled db2 completely.
Installed V9.5
Installed fixpack 1
created das
created an instance
installed database sample.
Tested to connect to sample from DB2 CC - Worked OK
Stopped db2.
configured UDB to use Openssh following Liam Finnies step-by-step
guide
Updated db2nodes.cfg:
0 myhost 0
1 myhost 1
2 myhost 2
Started db2
tested "db2_all *echo hi" *and "db2_all *db2_all echo hi" * *OK
Tried to connect to db SAMPLE .....................
alas, a *4 minute delay from DB2CC or db2 client on other server.
Connection via jdbc (DBVisualizer) *still works OK
Obviously, the partitioning feature or ssh has something to do with
the problem.
We have a similar configuration in our test environment but on V9.1
and it works OK.
/dg

Hello,

I can't say where the delay is coming from.... but I can say that it's
not from configuring the server to use ssh. *Configuring the server to
use ssh (via DB2RSHCMD=/usr/bin/ssh) only affects db2start/db2stop
processing (and commands invoked by db2_all/rah). *After that point,
FCM is used to communicate between the different database partitions.
So, connecting to a database will not involve ssh (at least on the
server), so the delay must be coming from somewhere else.

Do you see the same delay if you explicitly select a partition to
connect to? *i.e. 'export DB2NODE=0 ; db2 connect to SAMPLE'? *What if
you replace 'myhost' in your db2nodes.cfg with the fully-qualified
domain name?

Cheers,
Liam.- Hide quoted text -

- Show quoted text -
Thanks Liam, but none of the suggested changes made any difference.
I will open a PMR
/dg
Jun 27 '08 #3
Lew
Does it also take that long to activate the database? By changing it
to a multipartition database you have increased the memory load on
your server. It is possible that you have overallocated memory on the
machine causing os paging as the database becomes active

On May 7, 1:35 am, danfa...@hotmail.com wrote:
On May 6, 2:43 pm, Liam Finnie <lfin...@ca.ibm.comwrote:
On May 6, 7:45 am, danfa...@hotmail.com wrote:
Hi!
I have a previous post on the subject that connect takes a long time.
I uninstalled db2 completely.
Installed V9.5
Installed fixpack 1
created das
created an instance
installed database sample.
Tested to connect to sample from DB2 CC - Worked OK
Stopped db2.
configured UDB to use Openssh following Liam Finnies step-by-step
guide
Updated db2nodes.cfg:
0 myhost 0
1 myhost 1
2 myhost 2
Started db2
tested "db2_all echo hi" and "db2_all db2_all echo hi" OK
Tried to connect to db SAMPLE .....................
alas, a 4 minute delay from DB2CC or db2 client on other server.
Connection via jdbc (DBVisualizer) still works OK
Obviously, the partitioning feature or ssh has something to do with
the problem.
We have a similar configuration in our test environment but on V9.1
and it works OK.
/dg
Hello,
I can't say where the delay is coming from.... but I can say that it's
not from configuring the server to use ssh. Configuring the server to
use ssh (via DB2RSHCMD=/usr/bin/ssh) only affects db2start/db2stop
processing (and commands invoked by db2_all/rah). After that point,
FCM is used to communicate between the different database partitions.
So, connecting to a database will not involve ssh (at least on the
server), so the delay must be coming from somewhere else.
Do you see the same delay if you explicitly select a partition to
connect to? i.e. 'export DB2NODE=0 ; db2 connect to SAMPLE'? What if
you replace 'myhost' in your db2nodes.cfg with the fully-qualified
domain name?
Cheers,
Liam.- Hide quoted text -
- Show quoted text -

Thanks Liam, but none of the suggested changes made any difference.
I will open a PMR
/dg
Jun 27 '08 #4
On May 8, 12:48*pm, Lew <seth...@yahoo.comwrote:
Does it also take that long to activate the database? *By changing it
to a multipartition database you have increased the memory load on
your server. *It is possible that you have overallocated memory on the
machine causing os paging as the database becomes active

On May 7, 1:35 am, danfa...@hotmail.com wrote:
On May 6, 2:43 pm, Liam Finnie <lfin...@ca.ibm.comwrote:
On May 6, 7:45 am, danfa...@hotmail.com wrote:
Hi!
I have a previous post on the subject that connect takes a long time..
I uninstalled db2 completely.
Installed V9.5
Installed fixpack 1
created das
created an instance
installed database sample.
Tested to connect to sample from DB2 CC - Worked OK
Stopped db2.
configured UDB to use Openssh following Liam Finnies step-by-step
guide
Updated db2nodes.cfg:
0 myhost 0
1 myhost 1
2 myhost 2
Started db2
tested "db2_all *echo hi" *and "db2_all *db2_all echo hi" * *OK
Tried to connect to db SAMPLE .....................
alas, a *4 minute delay from DB2CC or db2 client on other server.
Connection via jdbc (DBVisualizer) *still works OK
Obviously, the partitioning feature or ssh has something to do with
the problem.
We have a similar configuration in our test environment but on V9.1
and it works OK.
/dg
Hello,
I can't say where the delay is coming from.... but I can say that it's
not from configuring the server to use ssh. *Configuring the server to
use ssh (via DB2RSHCMD=/usr/bin/ssh) only affects db2start/db2stop
processing (and commands invoked by db2_all/rah). *After that point,
FCM is used to communicate between the different database partitions.
So, connecting to a database will not involve ssh (at least on the
server), so the delay must be coming from somewhere else.
Do you see the same delay if you explicitly select a partition to
connect to? *i.e. 'export DB2NODE=0 ; db2 connect to SAMPLE'? *What if
you replace 'myhost' in your db2nodes.cfg with the fully-qualified
domain name?
Cheers,
Liam.- Hide quoted text -
- Show quoted text -
Thanks Liam, but none of the suggested changes made any difference.
I will open a PMR
/dg- Hide quoted text -

- Show quoted text -
Everything works OK locally on the server.
Note also that connect with jdbc is fast.
Even though an initial connect has been made in DB2CC (after a 4
minute delay),
DB2CC performs a new authentication every now and then and each time
it takes 4 minutes.
/dg
Jun 27 '08 #5
Lew
Another thing you might check is make sure that the database is
configured explicitly to authentication server on the client. I
didn't think this was an issue any more but maybe it will help.
On May 8, 7:08 am, danfa...@hotmail.com wrote:
On May 8, 12:48 pm, Lew <seth...@yahoo.comwrote:
Does it also take that long to activate the database? By changing it
to a multipartition database you have increased the memory load on
your server. It is possible that you have overallocated memory on the
machine causing os paging as the database becomes active
On May 7, 1:35 am, danfa...@hotmail.com wrote:
On May 6, 2:43 pm, Liam Finnie <lfin...@ca.ibm.comwrote:
On May 6, 7:45 am, danfa...@hotmail.com wrote:
Hi!
I have a previous post on the subject that connect takes a long time.
I uninstalled db2 completely.
Installed V9.5
Installed fixpack 1
created das
created an instance
installed database sample.
Tested to connect to sample from DB2 CC - Worked OK
Stopped db2.
configured UDB to use Openssh following Liam Finnies step-by-step
guide
Updated db2nodes.cfg:
0 myhost 0
1 myhost 1
2 myhost 2
Started db2
tested "db2_all echo hi" and "db2_all db2_all echo hi" OK
Tried to connect to db SAMPLE .....................
alas, a 4 minute delay from DB2CC or db2 client on other server.
Connection via jdbc (DBVisualizer) still works OK
Obviously, the partitioning feature or ssh has something to do with
the problem.
We have a similar configuration in our test environment but on V9.1
and it works OK.
/dg
Hello,
I can't say where the delay is coming from.... but I can say that it's
not from configuring the server to use ssh. Configuring the server to
use ssh (via DB2RSHCMD=/usr/bin/ssh) only affects db2start/db2stop
processing (and commands invoked by db2_all/rah). After that point,
FCM is used to communicate between the different database partitions.
So, connecting to a database will not involve ssh (at least on the
server), so the delay must be coming from somewhere else.
Do you see the same delay if you explicitly select a partition to
connect to? i.e. 'export DB2NODE=0 ; db2 connect to SAMPLE'? What if
you replace 'myhost' in your db2nodes.cfg with the fully-qualified
domain name?
Cheers,
Liam.- Hide quoted text -
- Show quoted text -
Thanks Liam, but none of the suggested changes made any difference.
I will open a PMR
/dg- Hide quoted text -
- Show quoted text -

Everything works OK locally on the server.
Note also that connect with jdbc is fast.
Even though an initial connect has been made in DB2CC (after a 4
minute delay),
DB2CC performs a new authentication every now and then and each time
it takes 4 minutes.
/dg
Jun 27 '08 #6

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

Similar topics

7
by: Steve | last post by:
This post has two parts. First is my feedback on sets. (Hello? Last summer called, they want their discussion thread back...) Second is some questions about my implementation of a partition...
5
by: Nick J Chackowsky | last post by:
Wrote a python script to find the partitions of an integer (a list of all the ways you can express n as a sum of integers). For example, the partitions of 5 are 5 4+1 3+2 2+2+1 3+1+1 2+1+1+1...
0
by: Kevin Sage | last post by:
For anyone who is having this problem and want to know the solution. Add this line of code before your connect method call. It loads up some config file that the code behind the scenes needs...
33
by: Savas Ates | last post by:
in asp page im getting this error how can i solve it.. yesterday the codes work but i setup visual studio 6.0 now it doesnt works..
1
by: PATSY | last post by:
For tests purpose, I have tried to install DB2 CONNECT V8.1 on a separate partition but on a same Windows 2000 Server as the one on which I had already installed DB2 WSE V8.1 + Fixpack 5 After...
3
by: jcgeorge | last post by:
I have a Windows DPF (v8.2.2) environment. 2 Nodes 5 Partitions Server1 - Cat (0) Data (1) Data (2) Server2 - Data (3) Data (4) I want to use block-based IO, but I do not want the same size...
9
by: krbyxtrm | last post by:
hello i have this profile for iterating empty vectors: +0.3us (microsecond) delay on intel pentium 2.4Ghz can this added delay to my application be reduced? i mean near zero delay, its very...
3
by: Sirix42 | last post by:
Hi there, when I use Firefox to run my application (this involves sending an IFRAME request to the servlet and handling the response), there is no delay in displaying the data after each response....
8
by: arunrocks | last post by:
Hi I am having a requirement to create a db in 2 out of 8 partitiones. I have the following doubts. 1. should I create a new instance in 2 partitions alone (the present instance spans 8 nodes)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.