473,396 Members | 2,010 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,396 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 3827
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: 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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.