472,995 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Problems changing the IP address of a W2K3 system with 8.2

Hi,

we had a strange problem with DB2 8.2 Enterprise Edition on Windows
2003 (Standard) Server.

We installed DB2 8.2 (8.1.7) directly on a naked W2K3 system (no
migration, no update -> no leftovers from an older version on the
system).

After that, we had to change the IP address of the system. Same
network, only another IP (both in a.b.c.0/24). DB2 was down during
the change. We even rebooted the system with the DB2 services set to
"Manual Start" after the change.

Then we re-enabled the DB2 services to their original state
("Automatic" startup for most of them) and rebooted again.

After that, DB2 came up but we were unable to connect to any of the
databases, even from the server system itself. Same for another
system in the same network with a fresh Developer Client
installation, which had no problems before. CPU load and memory usage
showed idle values, we didn't find any warnings or errors in the
eventlog, but a "connect to xxx" just didn't return.

We had to recover quickly, so we deinstalled DB2, reinstalled it and
restored the backup we made before the change. That worked fine, so
we are not in trouble at the moment.

Tomorrow we will try to reproduce the problems in our testlab.
Anybody an idea, a possible reason? Do I have to prepare DB2 for such
a change? I was unable to find any hint in the documentation, any
hint would be appreciated...

Regards,
Bernd
Nov 12 '05 #1
3 3810
Food for thought:
1. Does changing the IP address impact the W2K3 firewall?
2. How were your local (from the server) databases defined for access?
True local access or access as a remote, IP connected, system? If the
latter, then the firewall becomes a much larger suspect.

I assume that you did change the IP address of the server node on the
client because you gained access after the reinstall.

Phil Sherman
Bernd Giegerich wrote:
Hi,

we had a strange problem with DB2 8.2 Enterprise Edition on Windows
2003 (Standard) Server.

We installed DB2 8.2 (8.1.7) directly on a naked W2K3 system (no
migration, no update -> no leftovers from an older version on the
system).

After that, we had to change the IP address of the system. Same
network, only another IP (both in a.b.c.0/24). DB2 was down during
the change. We even rebooted the system with the DB2 services set to
"Manual Start" after the change.

Then we re-enabled the DB2 services to their original state
("Automatic" startup for most of them) and rebooted again.

After that, DB2 came up but we were unable to connect to any of the
databases, even from the server system itself. Same for another
system in the same network with a fresh Developer Client
installation, which had no problems before. CPU load and memory usage
showed idle values, we didn't find any warnings or errors in the
eventlog, but a "connect to xxx" just didn't return.

We had to recover quickly, so we deinstalled DB2, reinstalled it and
restored the backup we made before the change. That worked fine, so
we are not in trouble at the moment.

Tomorrow we will try to reproduce the problems in our testlab.
Anybody an idea, a possible reason? Do I have to prepare DB2 for such
a change? I was unable to find any hint in the documentation, any
hint would be appreciated...

Regards,
Bernd


Nov 12 '05 #2
Hi,
Food for thought:
thanks, I'm always hungry for that kind of food... :-)
1. Does changing the IP address impact the W2K3 firewall?
no, cause no firewall/filter was active. The OS was installed from
scratch, based on scripts and response files, as DB2 was. So I'm
pretty sure about the system state. After a reinstallation of DB2
(and only DB2) on the system, where we didn't change anything on
the base OS configuration, things worked well again - another
reason I don't believe in a firewall issue.

It didn't feel like a connectivity or address resolution problem,
but more like a problem of a part of the internal DB2 server
architecture. Uncataloging the DBs and cataloging them again did
work, but a connect still didn't return within a reasonable time.

I opened a call at IBM and expected a hint regarding a dbm config
parameter I didn't set at the right time, or a magical
"db2ChangeNodeAddressToMakeWorldANicePlaceToLi ve" or anything like
that, but the supporter was unable to reproduce the problem.

Today I built up a absolute identical test system, and tomorrow I
will try to get DB2 screwed up again. Fortunately we have enough
identical hardware available, the whole installation (including
DB2 with dbm and db config) was controlled by scripts and I have
full offline backups of the databases, taken directly before we
made the address change. I never had a better base to reproduce an
error - but I still pray that I will be able to do so...
I assume that you did change the IP address of the server node
on the client because you gained access after the reinstall.


....no reason to do so. The catalog entry pointed to the name, not
the address. The name got resolved without problems at that time -
one reason, why we took DB2 offline during the change. And again:
After a reinstallation of DB2 on the server system and a restore,
the client had no more problems...

I hope to get an idea during the tests tomorrow. Or, at least,
enough data for IBM to analyse the problem.

Regards,
Bernd
Nov 12 '05 #3
Hi,

just for the files: I got it. I was able to reproduce the problem and
found an also reproducable solution/work around.

After changing the IP addresses and bringing DB2 up again, I once had
to stop and restart HADR on the databases to get the system up and
running.

Deactivate the primary DB, stop HADR on it, deactivate the standby
DB, stop HADR on it. Then the same the other way: Start HADR on the
standby and then on the primary.

That's all, you don't have to re-initialize HADR, it's just stopping
and starting it. Only a few lines of SQL and some seconds to
compute...

Regards,
Bernd
Nov 12 '05 #4

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

Similar topics

0
by: Ger | last post by:
Hi, I have a problem with a Windows Service that I have created accessing System.Management.dll on a W2k3 environment. The Service runs fine on an XP machine but the same Service causes an error...
0
by: fremenusul | last post by:
I am trying to have XML data show results in a combobox (Which works) and when the combobox has a selection, change the text in a label field. I am following the video from...
4
by: fremenusul | last post by:
am trying to have XML data show results in a combobox (Which works) and when the combobox has a selection, change the text in a label field. I am following the video from...
0
by: fremenusul | last post by:
am trying to have XML data show results in a combobox (Which works) and when the combobox has a selection, change the text in a label field. I am following the video from...
1
by: GSK | last post by:
This one has me stumped: I am using HttpWebRequest to resolve an external URL (that outputs an XML string). It works fine on my dev machine (W2K), and used to work on my production machine...
0
by: Richard | last post by:
Hi All, I'm having some difficulties with vs2003 and w2k3. The w2k3 Web Edition install is totally new in a VMWare box. I have added ASP.NET v1.1.4322 to the config and allowed it in Web Service...
2
by: John Mullin | last post by:
We are having a problem which appears similar to a previous posting: http://groups.google.com/groups?hl=en&lr=&frame=right&th=d97f552e10f8c94c&seekm=OZw33z9EDHA.2312%40TK2MSFTNGP10.phx.gbl#link1 ...
8
by: Mike Owen | last post by:
Hi, I am using the following code to send email on a Windows 2003 Web Server: Imports System.Net.Mail ........ Dim msgmail As New MailMessage msgmail.To.Add(New...
9
by: =?Utf-8?B?SG93YXJkIFNtaXRo?= | last post by:
I am using VC++ 6.0 (with SP5 installed). When using WinXP this is with SP2 installed. I am developing an instrumentation system comprising a set of networked PCs connected using TCP/IP TCP links....
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.