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

DB2 Clustering

We are thinking of starting to use clustering with our DB2 V8. I
understand that with clustering when a node goes down that the other
nodes will keep the database up for the users. What I would like to
know is does this include if the node has a hard drive crash and the
disks are not salvagable or just if the machine looses connection?
And if a new machine is used to replace the damaged one how does it
sync together? Any information on the subject will be appreciated.

Daniel G. Cantua
Los Angeles County - ISD
Nov 12 '05 #1
5 10307
Daniel,

Have you downloaded DB2 Stinger? Given that you are just "starting to
look" you want to add HADR to your choices. Take peek :-)

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #2
Cluster-based high availability tends to work by combining multi-ported disk
devices,
spare processing power, and a cluster manager (such as HACMP, MSCS, etc.).
When
a processor fails, the services that were running there (which could include
a DB2 "node"
aka processing "partition") are restarted in the spare processing facilities
(which may have
previously been idle, or may be already loaded processors that are set up to
absorb
additional workload in a failover). The disk resources associated with the
failed node
need to be accessible from the new node as well.

Disk (media) recovery is not usually part of this picture. Other approaches
are used
for that, including RAID/mirroring and database recovery (restore and
rollforward).

HADR (high availability disaster recovery), mentioned by Serge, is a log
shipping
database replication feature. Such products are typically deployed to
provide
failover to both different processors and different disks. This can be used
within
a cluster, with *separate* disk resources, which is different from the usual
configuration
meant when someone refers to cluster-based HA. More typically, log shipping
based HA is deployed between independent (not clustered) systems, either
within
one data center for "local" failover, or between geographically separated
("remote")
systems for protection against whole site failures.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"Daniel G. Cantua" <dc*****@co.la.ca.us> wrote in message
news:6c**************************@posting.google.c om...
We are thinking of starting to use clustering with our DB2 V8. I
understand that with clustering when a node goes down that the other
nodes will keep the database up for the users. What I would like to
know is does this include if the node has a hard drive crash and the
disks are not salvagable or just if the machine looses connection?
And if a new machine is used to replace the damaged one how does it
sync together? Any information on the subject will be appreciated.

Daniel G. Cantua
Los Angeles County - ISD

Nov 12 '05 #3
Steve,

If we use HADR on two machines and one the machines is physical
damaged or turned off, will the user be able to continue to work as if
nothing happen. Or will they have to do some type of reconfiguration
the the workstation. What we have are six sites in LA county that
will need to connect to this DB. We were thing that clustering will
take care of a disaster occurs. But it sounds like if we have two
machines using HADR that both machines will mirror each other. Can
this be used also for load balancing. Like I said I am new to this.

Thank You For Your Help,
Daniel G. Cantua
Los Angeles County - ISD
Nov 12 '05 #4
When the primary crashes and DB2 fails over to the secondary, the user
will have to reconnect. The secondary will assume the IP address of the
primary, so the user will just reconnect to the same database on the
same instance (it will seem the same to the application).

When DB2 Stinger ships, the reconnection will not be necessary.

Daniel G. Cantua wrote:
Steve,

If we use HADR on two machines and one the machines is physical
damaged or turned off, will the user be able to continue to work as if
nothing happen. Or will they have to do some type of reconfiguration
the the workstation. What we have are six sites in LA county that
will need to connect to this DB. We were thing that clustering will
take care of a disaster occurs. But it sounds like if we have two
machines using HADR that both machines will mirror each other. Can
this be used also for load balancing. Like I said I am new to this.

Thank You For Your Help,
Daniel G. Cantua
Los Angeles County - ISD


Nov 12 '05 #5
> If we use HADR on two machines and one the machines is physical
damaged or turned off, will the user be able to continue to work as if
nothing happen. Or will they have to do some type of reconfiguration
the the workstation. What we have are six sites in LA county that
will need to connect to this DB. We were thing that clustering will
take care of a disaster occurs. But it sounds like if we have two
machines using HADR that both machines will mirror each other.
The results from the user's perspective would depend on specifics of the
configuration and application. First, something or somebody (cluster
manager software, a system administrator, etc.) must recognize that a
failure has occurred and invoke the TAKEOVER HADR command.
Once the standby takes over as new primary, the applications will need
to reconnect. How exactly this happens depends somewhat on the
application's own behavior. As Blair mentioned, in Stinger there
will also be an ability to configure an automatic connection rerouting.
In-flight transactions must roll back, but the client can be reconnected
to the alternative server automatically. Other possible elements of
the failover, such as moving IP addresses around and so on are out of
HADR's control but may come into play with how the application
behaves. HADR only makes the standby database available at the
standby site after issuance of a Takeover command.

Traditional in-cluster failover (not involving HADR) is another
alternative, as I discussed before.

Can this be used also for load balancing.


In the Stinger release, HADR does not provide for anything like this.
What is most common with log-shipping database replication products
(in which category HADR falls) is to provide for periodic consistent
read access and/or periodic or continuous dirty read access to data
at the standby site. We recognize the value of this kind of access, and
it is high on our list of possible future enhancements to HADR.

Other kinds of replication technologies, such as DB2 SQL Replication
or, coming with Stinger, MQ Series based "Q" Replication, provide
logical (vs. HADR's physical) replication, at object rather than database
level, and the possibility of load balancing through either multi way
replication (update anywhere) or consistent read on non-updated sites.
Such features can also be employed in support of high availability, but
with somewhat different failover characteristics.

So you have plenty of choices! :-)

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
Nov 12 '05 #6

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

Similar topics

1
by: Nico de Groot | last post by:
I have a 2 node Microsoft 2000 cluster with a shared storage device. I want to create automatic failover for MS SQL 2000 server. I can do that wit the following options: 1. Active/Pasive (one...
1
by: kumar | last post by:
Dear Friends, I wanted to configure Failover cluster for SQL Server 2000 on Windows 2000 advanced servers. I have only 2 no.s of windows 2000 advanced server m/cs. I dont have any shared...
3
by: Shabam | last post by:
When a web application becomes overloaded with traffic, one can offload it by load balancing and clustering the front end web servers. What happens when the back-end MSSQL database becomes...
1
by: willie | last post by:
Hi all: I have a clustering SQL Server on Node1 and Node2, the Node1 has named Instance1 and Node2 has named Instance2, no default instance. We tested it that everthing is OK, then we decide to...
2
by: CSN | last post by:
Just wondering - is there something similar to this (clustering) for PostgreSQL? If so, how does it compare? http://www.mysql.com/press/release_2003_30.html ...
3
by: datapro01 | last post by:
Running DB2 version 8.1.1 on AIX 5.1.1 The table (employee) is being reorged and has a clustering index (empid). Is there any different between these two commands? db2 reorg table employee...
11
by: chmmr | last post by:
Hi, I am currently in the process of gathering info/experiences for an incoming Linux DB2 clustering phase we actually know nothing about (since we are doing it for the first time ever), so I...
3
by: dejavue82 | last post by:
Hi, Does anybody know of a software package that allows for several servers, running asp.net 2.0 to be clustered, regardless of where they are located (ie. without a hardware load balancer)....
5
by: Lakesider | last post by:
Hi NG, I have a question about data: I have travel-times from A to B like this from | to | sec. A B 17 A B 18 A B 30 A B 32
3
by: Manish | last post by:
I think this question has been asked number of times. However, I am looking for some specific information. Perhaps some of you can help close the gap. Or perhaps you can point me towards right...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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...

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.