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

V9.5 HADR On AIX



Hi,

Testing the above without TSA or HA, just plain HADR performing manual
db2 TAKEOVER HADR ......................... etc.

I am testing without the PEER_WINDOW i.e. set to 0 and HADR_SYNCMODE
= SYNC.

A quick question, say the primary and standby database servers are in
PEER state and the primary database server suddenly crashes through a
panic etc. What is the procedure to determine if forced takeover on
the standby database server can be issed without the loss of data.

Is there a set of rules or procedure?

Many Thanks.
Oct 29 '08 #1
1 3120
<ag********@hotmail.comwrote in message
news:ff**********************************@u57g2000 hsf.googlegroups.com...
Hi,

Testing the above without TSA or HA, just plain HADR performing manual
db2 TAKEOVER HADR ......................... etc.

I am testing without the PEER_WINDOW i.e. set to 0 and HADR_SYNCMODE
= SYNC.

A quick question, say the primary and standby database servers are in
PEER state and the primary database server suddenly crashes through a
panic etc. What is the procedure to determine if forced takeover on
the standby database server can be issed without the loss of data.

Is there a set of rules or procedure?

Many Thanks.
There will be no loss of data, because the standby server will rollback the
uncommitted transactions, just as will the primary server when it is brought
back up and goes into crash recovery.

You will loose data that has not be been committed on the primary server,
but that has nothing to do with HADR and is normal for all modern database
systems.

BTW, you might want to consider using Nearsynch instead of Synch mode. The
only difference is that in synch mode DB2 guarantees that the logs have been
sent to the standby and written to the HADR buffer and also written to disk
on the standby when a transaction is committed; whereas with Nearsynch DB2
guarantees that the logs have been written to the HADR buffer on the standby
(which eventually will get written to disk). It is inconceivable to me how
one could loose any data with nearsynch unless that standby server crashed a
few milliseconds after the primary server crashed. If that happened (both
servers crashed at the same time) you would not do a takeover to the standby
server (since it would also be down), so you could not loose any data, and
when you brought the primary and standby server back up, the logs would get
in synch.
Oct 29 '08 #2

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

Similar topics

1
by: Bruce M | last post by:
Is there a way to run the db2-generated HADR-create script outside of DB2CC beyond the obvious? My DB2CC generates the HADR script and then abends because of a java error meaning I can't finish my...
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.
7
by: Mark A | last post by:
If server 01 running HADR in the primary role crashes, and the DBA does a HADR takeover by force on the 02 server to switch roles, then the 02 server is now the primary. What happens when the...
4
by: Joachim Klassen | last post by:
DB2 V8.2 FP10 on Windows I tested the following HADR scenario: - a new tablespace on a new filesytem is created on the primary System - the replay on standby fails because of lacking permissions...
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 ...
6
by: RayRay | last post by:
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...
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...
0
by: deshaipet | last post by:
Hi - We have primary and standby databases on different servers. Here is my /etc/service entry for HADR pair : On Primary : "vi /etc/services
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: 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: 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: 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: 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...
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...

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.