473,396 Members | 1,799 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.

HADR Alternate Port?

AIX 5.3, DB2 UDB v 8.2

I was curious if there was a mechanism in HADR to switch the
HADR_REMOTE_HOST. If a link or switch fails and there is an alternate
path is there a way to use the path?

I tried changing the remote host on the machines on the fly but I
noticed that it states the changes do not take affect right away.
Then the Standby rebooted. I did finally get both machines up with
the new port configuration but they wouldnt talk to each other. The
Standby logged that there was no Primary connected and the Primary
timedout as it did not hear from the Standby. So I take it you cannot
change the remote hosts this way.

Any other possiblities? I would like to be able to fail over to
another path if possible.

Thanks.

Feb 6 '07 #1
5 1778
HADR config parameter updates are not dynamic; the databases must be
bounced for the changes to be taken up.
>From your description my only guess as to what happened that no
connection was made after the configuration changes is that perhaps
you only updated one side. Either the primary was not listening on
the host/port that the standby tried to connect to, or there was an IP
address mismatch.

HADR presently requires that the local and remote host configurations
resolve to the same IP addresses on both sides. If not, HADR won't
make a connection. This has been raised as an issue for certain
environments such as where a NAT sits between the primary and
standby. We expect to provide a means to relax the sanity check in a
future release.

Regards,
- Steve P.
--
Steve Pearson, DB2 for Linux, UNIX, and Windows, IBM Software Group
"Portland" Development Team, IBM Beaverton Lab, Beaverton, OR, USA
Feb 8 '07 #2
"Steve Pearson (news only)" <st*******@my-deja.comwrote in message
news:11**********************@k78g2000cwa.googlegr oups.com...
HADR config parameter updates are not dynamic; the databases must be
bounced for the changes to be taken up.
Regards,
- Steve P.
What is definition of database bounced? No connections to the database (not
activated), or restart of the instance?
Feb 8 '07 #3
On Feb 7, 8:59 pm, "Mark A" <nob...@nowhere.comwrote:
"Steve Pearson (news only)" <stevep...@my-deja.comwrote in messagenews:11**********************@k78g2000cwa.g ooglegroups.com...
HADR config parameter updates are not dynamic; the databases must be
bounced for the changes to be taken up.
Regards,
- Steve P.

What is definition of database bounced? No connections to the database (not
activated), or restart of the instance?
I was curious of this too...Is there an official procedure for this to
make it right in the db2 world? I am going to do some additional
testing but on my original test I changed the remote_hosts on both
side but after I read Steve's response I realized I must have to also
change the local_host on both sides??.

Feb 8 '07 #4
What is definition of database bounced? No connections to the database (not
activated), or restart of the instance?
I meant shutting down and restarting the database. Since HADR
explicitly activates the database, the usual approach would be to
issue "deactivate db" + "activate db" commands.

Regards,
- Steve P.
--
Steve Pearson, DB2 for Linux, UNIX, and Windows, IBM Software Group
"Portland" Development Team, IBM Beaverton Lab, Beaverton, OR, USA

Mar 7 '07 #5
I am going to do some additional
testing but on my original test I changed the remote_hosts on both
side but after I read Steve's response I realized I must have to also
change the local_host on both sides??.
Yes, if the actual host name changes, one side's hadr_local_host must
change, as well as the other side's hadr_remote_host...unless the
change is hidden (for example, if the setup is configured by ip
address instead of host name, and the ip address didn't change).

Regards,
- Steve P.
--
Steve Pearson, DB2 for Linux, UNIX, and Windows, IBM Software Group
"Portland" Development Team, IBM Beaverton Lab, Beaverton, OR, USA

Mar 7 '07 #6

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

Similar topics

3
by: bwmiller16 | last post by:
Why are 2 ports required for a HADR Pair? Environment: RH Linux AS3 UDB Express 8.2 with HADR Option Folks - Working with HADR and getting this setup to work right.
4
by: juannorton | last post by:
DB2 v8.2 for win2k3 server I configurated HADR and now I am trying it. Inside the manage option in the control center is an option named takeover that switch the roles of the dbs. That work...
1
by: Mark A | last post by:
Anyone running HADR using VERITAS Cluster Server (VCS)? Our production outsourcing company has recommended to use VCS instead of Tivoli System Automation (TSA) for heartbeat monitoring on Linux. ...
7
by: Marc | last post by:
Hi, I'm working with a customer that is trying to find a solution to provide geographical redundancy. Our application is currently using IBM DB2 v8.2. I have a couple of questions with regards...
1
by: Mark A | last post by:
DB2 ESE 8.2.3 (FP10) for Linux We are experiencing a connection hang of 10 - 15 minutes in the following HADR and automatic client reroute scenario: 01 server is primary database 02 server is...
16
by: gumby | last post by:
I'm having trouble getting HADR to work with the sample databases on two HS20 xSeries blades, Red Hat ES4 up3, DB2 8.2.4, getting the following error. SQL1768N Unable to start HADR. Reason code...
8
by: Challenge | last post by:
Hi, I got error, SQL1768N Unable to start HADR. Reason code = "7", when I tried to start hadr primary database. Here are the hadr configuration of my primary db: HADR database role ...
2
by: Laurence | last post by:
Hi there, Anybody knows should I also implement Automatic Client Reroute if I did HACMP and DB2 HADR on AIX? Thanks in advance,
0
DB2 Warlord
by: DB2 Warlord | last post by:
After countless time I was unabl to find the answer to my HADR questions and getting HADR to work in 9.5 via the Control Center. Please see my fix that seem strange but works. My error was as...
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:
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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
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...

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.