| |
|
If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
|
 |
|

01-25-13, 14:26
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 9
|
|
|
db2 9.7 active-active cluster
|
|
Hi, can anyone knows how to setup a db2 9.7 active-active cluster with automatic failover on linux or aix? it will be helpful.
|
|

01-25-13, 15:38
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 4,012
|
|
I think they call it PureScale. There is plenty of documentation on it.
Andy
|
|

01-25-13, 16:02
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 9
|
|
|
|
Hi Andy, thanks for your answer, but i think PureScale is available for db2 9.8 onwards.
P.D. sorry for the bad english.
|
|

01-25-13, 16:07
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 4,012
|
|
DB2 V9.8 is just V9.7 with PureScale. They are basically the same thing.
Andy
|
|

01-25-13, 16:14
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 9
|
|
well yeah, but i need to do it with V9.7 that is the problem 
|
|

01-25-13, 16:17
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 4,012
|
|
PureScale is the only way I know of to do active-active clusters. If you have V9.7 and add PureScale you just move to V9.8. All you did was add PureScale. Why are you fixated on V9.7?
Andy
|
|

01-25-13, 16:33
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 9
|
|
im not shure but i think is because of licensing problems and you mean that without the version 9.8 is impossible to configure an active-active cluster?
I appreciate your answers.
|
|

01-25-13, 16:34
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 4,012
|
|
Define what YOU mean by active-active cluster.
Andy
|
|

01-25-13, 16:49
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 9
|
|
I Mean both nodes needs to be operational, ie the load is distributed between the two nodes via a balancer and in the event that one node fails the entire load is directed towards the node that is still active.
I hope I expressed myself well.
|
|

01-25-13, 16:55
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 4,012
|
|
That is PureScale. You may find a third party solution, but it would mean adapting the application to it. Without PureScale, IBM uses a shared nothing architecture. This means that each node in a cluster has only its own data, it is not shared between them (DPF). There is no way to do it that I know of without PureScale.
Andy
|
|

01-26-13, 01:16
|
|
Registered User
|
|
Join Date: May 2003
Location: USA
Posts: 5,494
|
|
Quote:
Originally Posted by pgarciab
I Mean both nodes needs to be operational, ie the load is distributed between the two nodes via a balancer and in the event that one node fails the entire load is directed towards the node that is still active.
I hope I expressed myself well.
|
You can not have two servers (and two databases) accessing the same data on disk at the same time unless there is specialized software like PureScale (or Oracle RAC) to manage it. Otherwise there would a "split-brain" and no way to enforce lock management to ensure data integrity.
DB2 ESE version has HADR, which has active-passive, and each server having its own copy of the data (not shared disk), but only one server is active at a time. One can also do active-passive without HADR using shared disk between the two servers, but that needs a cluster manager to move a virtual IP address to the active server (and do some other stuff with disk mounts).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
|
|

01-26-13, 11:20
|
|
Registered User
|
|
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 651
|
|
Quote:
Originally Posted by Marcus_A
DB2 ESE version has HADR, which has active-passive, and each server having its own copy of the data (not shared disk), but only one server is active at a time.
|
The 'passive' side of a HADR config can be active as read-only copy. When you activate that then you must pay for the passive licence as well.
__________________
Any server or workstation having more than 1 JVM present is at principale polluted
|
|

01-27-13, 12:57
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 5
|
|
You may also consider checking DB2 Database Partitioning Feature. Normally DPF fits in OLAP systems -where data is partitioned across nodes- and pureScale fits in OLTP systems. DPF node can be configured for Failover using TSA, powerHA or MS Failover Clusters. Please check DB2 High Availability Options redbook for more details.
|
|

01-27-13, 18:15
|
|
Registered User
|
|
Join Date: May 2003
Location: USA
Posts: 5,494
|
|
Quote:
Originally Posted by amosaad
You may also consider checking DB2 Database Partitioning Feature. Normally DPF fits in OLAP systems -where data is partitioned across nodes- and pureScale fits in OLTP systems. DPF node can be configured for Failover using TSA, powerHA or MS Failover Clusters. Please check DB2 High Availability Options redbook for more details.
|
DPF provides scalability, but not high availability.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
|
|

01-28-13, 18:58
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 9
|
|
First of all let me thank you all for your answers, now I have more clear the issue of high availability of DB2. Now I wonder if anyone knows the steps to configure an active-passive cluster with automatic failover. I am new to DB2 so any response is helpful.
Regards.
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|