473,382 Members | 1,563 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,382 software developers and data experts.

DB2 HADR software

I was hoping I might be able to get an answer regarding DB2 and HADR.
Let me preface this by saying that I know very little about networking
and I'm not familiar with the HADR product or clustering. But, I've
been asked to research a couple issues for a client.

They are thinking about implementing HADR. They have DB2 production
databases running on more than one box.

Does a liscense for HADR need to be purchased for each production box
running DB2, or does the HADR software come standard as long as you are
running the Enterprise Edition of DB2 on each box in question?

What would be a recommended architecture for a company that currently
has multiple databases on a couple of production boxes (I know there
are a lot of variables that come into play, but I'm trying to get a
simplistic picture)? Cluster the production boxes together and cluster
the backup (or standby) boxes together? I assume DB2 and HADR have to
be available on each box (production or standby) in question.

Please don't get too technical if you respond. Any clarification would
be greatly appreciated.

Thanks for your time,

Ray

Sep 19 '06 #1
6 4056
RayRay wrote:
I was hoping I might be able to get an answer regarding DB2 and HADR.
Let me preface this by saying that I know very little about networking
and I'm not familiar with the HADR product or clustering. But, I've
been asked to research a couple issues for a client.

They are thinking about implementing HADR. They have DB2 production
databases running on more than one box.

Does a liscense for HADR need to be purchased for each production box
running DB2, or does the HADR software come standard as long as you are
running the Enterprise Edition of DB2 on each box in question?

What would be a recommended architecture for a company that currently
has multiple databases on a couple of production boxes (I know there
are a lot of variables that come into play, but I'm trying to get a
simplistic picture)? Cluster the production boxes together and cluster
the backup (or standby) boxes together? I assume DB2 and HADR have to
be available on each box (production or standby) in question.

Please don't get too technical if you respond. Any clarification would
be greatly appreciated.
I can't comment on the licensing. W.r.t. where to run what my
recommendation is to have distribute the primaries across all the
available servers. That way no server is idle and you get the best use
of your resources because every fail over server also acts as primary
for another database.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 19 '06 #2
RayRay wrote:
I was hoping I might be able to get an answer regarding DB2 and HADR.
Let me preface this by saying that I know very little about networking
and I'm not familiar with the HADR product or clustering. But, I've
been asked to research a couple issues for a client.

They are thinking about implementing HADR. They have DB2 production
databases running on more than one box.

Does a liscense for HADR need to be purchased for each production box
running DB2, or does the HADR software come standard as long as you are
running the Enterprise Edition of DB2 on each box in question?

What would be a recommended architecture for a company that currently
has multiple databases on a couple of production boxes (I know there
are a lot of variables that come into play, but I'm trying to get a
simplistic picture)? Cluster the production boxes together and cluster
the backup (or standby) boxes together? I assume DB2 and HADR have to
be available on each box (production or standby) in question.

Please don't get too technical if you respond. Any clarification would
be greatly appreciated.

Thanks for your time,

Ray
DB2 ESE comes with an included license for HADR. If you have DB2 WSE or
DB2 Express, you must purchase HADR separately to be licensed on each
machine. If one of your servers has all of the HADR primary databases
on one server, and all the standby databases on the other server, then
you only need a 1 CPU license of ESE on the standby (regardless of the
actual number of CPU's on the standby). This does not prevent you from
temporarily switching primary databases to the standby server because
of some problem with the primary or because of maintenance being done
on the primary.

However, instead of having all the primary databases on one server, and
all the standby databases on the second server, you can have half the
databases as primary on server 1 and half the databases as primary on
server 2. HADR works on database level.

If you have a lot of updates, inserts, and deletes on these databases,
you may want to set up a private Ethernet between the 2 servers to
handle HADR replication traffic, while all the application traffic
comes in through the public Ethernet. If the 2 servers are close enough
together, you can use a simple crossover cable for the private
Ethernet, or set it up on a switch/router/hub if it is bit further away.

Sep 19 '06 #3
One other thing to add is that IBM may be announcing some new high
availability options soon.

Sep 19 '06 #4
Just one slight clarification to Mark's post:

"If one of your servers has all of the HADR primary databases
on one server, and all the standby databases on the other server, then
you only need a 1 CPU license of ESE on the standby (regardless of the
actual number of CPU's on the standby)."

Actually, this is true as long as you are not using the entire standby
server for ANY production DB2 workload ... i.e. if it is exclusively a
standby server.

Larry Edelstein

Mark A wrote:
RayRay wrote:
>>I was hoping I might be able to get an answer regarding DB2 and HADR.
Let me preface this by saying that I know very little about networking
and I'm not familiar with the HADR product or clustering. But, I've
been asked to research a couple issues for a client.

They are thinking about implementing HADR. They have DB2 production
databases running on more than one box.

Does a liscense for HADR need to be purchased for each production box
running DB2, or does the HADR software come standard as long as you are
running the Enterprise Edition of DB2 on each box in question?

What would be a recommended architecture for a company that currently
has multiple databases on a couple of production boxes (I know there
are a lot of variables that come into play, but I'm trying to get a
simplistic picture)? Cluster the production boxes together and cluster
the backup (or standby) boxes together? I assume DB2 and HADR have to
be available on each box (production or standby) in question.

Please don't get too technical if you respond. Any clarification would
be greatly appreciated.

Thanks for your time,

Ray


DB2 ESE comes with an included license for HADR. If you have DB2 WSE or
DB2 Express, you must purchase HADR separately to be licensed on each
machine. If one of your servers has all of the HADR primary databases
on one server, and all the standby databases on the other server, then
you only need a 1 CPU license of ESE on the standby (regardless of the
actual number of CPU's on the standby). This does not prevent you from
temporarily switching primary databases to the standby server because
of some problem with the primary or because of maintenance being done
on the primary.

However, instead of having all the primary databases on one server, and
all the standby databases on the second server, you can have half the
databases as primary on server 1 and half the databases as primary on
server 2. HADR works on database level.

If you have a lot of updates, inserts, and deletes on these databases,
you may want to set up a private Ethernet between the 2 servers to
handle HADR replication traffic, while all the application traffic
comes in through the public Ethernet. If the 2 servers are close enough
together, you can use a simple crossover cable for the private
Ethernet, or set it up on a switch/router/hub if it is bit further away.
Sep 19 '06 #5
Mark A schrieb:
One other thing to add is that IBM may be announcing some new high
availability options soon.
Hi Mark,

do have more information about this announcement?

Best regards,
Joachim Müller
Sep 21 '06 #6
"Joachim Müller" <jo*****@douglas-informatik.dewrote in message
news:ee**********@news.dtag.de...
Hi Mark,

do have more information about this announcement?

Best regards,
Joachim Müller
Contact your IBM marketing team and find out if they are willing to provide
you with more information.
Sep 21 '06 #7

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

Similar topics

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 ...
3
by: Joachim Klassen | last post by:
Hi all, if I accidentally use a TAKEOVER command with BY FORCE clause while primary and standby are in peer state I'll end up with two primary's (at least with FP10 and Windows). Is this works ...
6
by: shorti | last post by:
db2 8.1 fix pack 12 on AIX 5.3 This is a newly configured HADR machine. The HADR was up and running. I was 'playing' around some on the standby and did a db2 deactivate and things sort of went...
6
by: shorti | last post by:
I have two questions about HADR recovery. I am running db2 v8 fp12. 1) If the primary suddenly crashes would you always want to switch the standby to the primary by force...or would there be...
3
by: Laurence | last post by:
Hi folks, Anyone knows what do these mean? Primary log position(file, page, LSN) = S0000009.LOG, 0, 00000000036B0000 Standby log position(file, page, LSN) = S0000008.LOG, 357,...
3
by: Pat | last post by:
Hi - We're trying to set up an HADR pair on two databases on instances with different names on separate servers. The databases were defined as follows: CREATE DATABASE database1 ON...
3
by: Laurence | last post by:
Hi folks, How to remove the transaction logs which are out of date in HADR environment? DB2 command PRUNE, it can only run on primary database but cannot run on standby database. Because the...
2
by: paul | last post by:
Hi, I have two databases in hadr, this morning i issued a "takeover ... by force" because the normal takeover didn't worked. Now i have two standard databases, and if i try to put the old primary...
1
by: lltong | last post by:
Hi all, I have 2 databases and both of them have db2 HADR set up. Now I will need to set up the bidirectional Q replication between those 2 databases. Is it a environment supported by db2? I can...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.