By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,609 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,609 IT Pros & Developers. It's quick & easy.

HADR Alternate Port?

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
"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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.