473,722 Members | 2,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3854
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
"db2ChangeNodeA ddressToMakeWor ldANicePlaceToL ive" 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
1937
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 once it tries to access System.Management.Dll. The service is run using a Domain Admin acoount. The code is trying to set permissions for a file and looks like this:
0
1399
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 http://msdn.microsoft.com/vbasic/atthemovies/dataandxml/default.aspx (reading XML data) almost step by step (changing to match my xmlfiles, etc) Here is an example of my XML <products> <product>CP-90, T-32</product>
4
1341
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 http://msdn.microsoft.com/vbasic/atthemovies/dataandxml/default.aspx (reading XML data) almost step by step (changing to match my xmlfiles, etc) Here is an example of my XML <products> <product>CP-90, T-32</product>
0
904
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 http://msdn.microsoft.com/vbasic/atthemovies/dataandxml/default.aspx (reading XML data) almost step by step (changing to match my xmlfiles, etc) Here is an example of my XML <products> <product>CP-90, T-32</product>
1
1490
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 (W2K3). It seems that now, for some reason, the connection cannot be established. The error logged is: The underlying connection was closed: Unable to connect to the remote server." source="System" stack="at...
0
1054
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 Extensions, along with WebDAV. I have a entry in hosts with music -> 192.168.0.152 (server). When I try to create a new C# web project using file share in the root web, I get a message box with the message "Error writing project file. The network...
2
2291
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 In the current release of our system, we decided to "wrap" the ASP.NET Session and Application objects to improve code clarity and accuracy. For example, instead of: Session = new SomeListClass;
8
2497
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 MailAddress(objMember.EmailAddress)) msgmail.From = New
9
2412
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. Communications on the Windows PCs use a class derived from CAsyncSocket(). I have written client and server versions of my software for use on the appropriate PCs. I am also using communicating with a legacy DOS based system, with the software...
0
8867
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8740
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9239
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9090
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8059
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6685
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4503
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4764
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3208
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.