473,513 Members | 2,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB 7.2 Replication And DR

Here is my situation.

We run a very mission critical application that uses DB2 7.2 for the data
repository. The database is hosed at a data center in Los Angeles, Ca.

Our main office is in Portland, Oregon.

For disaster recovery purposes, we have been conducting an offline backup of
the database each night, and then sending the backup file and the log files
to our Portland office over a T1 connection. We have a DR machine in
Portland that is identical to the production machine in LA. In the event of
a problem, our plan was to restore the back up and log files to the Portland
machine and then redirect all users to that database.

First Issue: Because of the increasing database size, we have reached the
point where the overnight time window is not enough to complete the backup
and file transfer process before the start of business the next day.

Second Issue: Since this is a mission critical application, we have been
instructed that in the event of a problem, the application can only be
unavailable for 1 hour. RTO = 1 hr. We also cannot stand to loose more than
1 hours worth of data. RPO = 1 hr. Therefore, our old plan, which could
cause a data loss of 24 hours, is no longer good enough.

I am toying with the notion of replicating the database in LA to the DR
machine in Portland over the T1 link. Is this possible? Can it be done?
Would it accomplish our objectives?

Given this situation, what is the best way to accomplish our DR goals? (RTO
= 1 hr. and RPO = 1 hr.)

Any help with this is greatly appreciated.

Thanks in advance,

John
Nov 12 '05 #1
5 2053
Ian
johnm wrote:
We run a very mission critical application that uses DB2 7.2 for the data
repository. The database is hosed at a data center in Los Angeles, Ca.
I hope you mean "hosted" not "hosed". :-)

I am toying with the notion of replicating the database in LA to the DR
machine in Portland over the T1 link. Is this possible? Can it be done?
Would it accomplish our objectives?
Using replication for an HA solution is generally a bad idea. Much too
complicated.
Given this situation, what is the best way to accomplish our DR goals? (RTO = 1 hr. and RPO = 1 hr.)


With DB2 UDB V7.2 (which is out of support, as you probably know), your
options are limited.

Have you looked into log shipping (you only ship the log files you need
and an occaisional full backup). There is a good article on DB2
Developer Domain about implementing this,

http://tinyurl.com/89vwg

and it includes links to docs on other HA features and DB2 UDB.

Nov 12 '05 #2
I would migrate to V8.2 and use Q-Replication. But Ian is kinda right
.... you have to maintain a subscription for each table. But there are
people doing this at 1000s txns/sec and maintaining < 1 sec latency. Ask
your IBM rep.

Larry Edelstein

johnm wrote:
Here is my situation.

We run a very mission critical application that uses DB2 7.2 for the data
repository. The database is hosed at a data center in Los Angeles, Ca.

Our main office is in Portland, Oregon.

For disaster recovery purposes, we have been conducting an offline backup of
the database each night, and then sending the backup file and the log files
to our Portland office over a T1 connection. We have a DR machine in
Portland that is identical to the production machine in LA. In the event of
a problem, our plan was to restore the back up and log files to the Portland
machine and then redirect all users to that database.

First Issue: Because of the increasing database size, we have reached the
point where the overnight time window is not enough to complete the backup
and file transfer process before the start of business the next day.

Second Issue: Since this is a mission critical application, we have been
instructed that in the event of a problem, the application can only be
unavailable for 1 hour. RTO = 1 hr. We also cannot stand to loose more than
1 hours worth of data. RPO = 1 hr. Therefore, our old plan, which could
cause a data loss of 24 hours, is no longer good enough.

I am toying with the notion of replicating the database in LA to the DR
machine in Portland over the T1 link. Is this possible? Can it be done?
Would it accomplish our objectives?

Given this situation, what is the best way to accomplish our DR goals? (RTO
= 1 hr. and RPO = 1 hr.)

Any help with this is greatly appreciated.

Thanks in advance,

John

Nov 12 '05 #3
RdR
Hi JohnM,

If it is just the database that you need to be highly available, you can use
Data Propagator so that you can replicate a change as it happens. This will
also allow you to distribute the changes within a one day period rather than
in one batch - near real time data replication. One good thing about Data
Propagator is that you do not need to setup an MQ environment as would be
needed if you use Q Replication. Even if you already have MQ, you would
still need to make sure that you might still need to upgrade your MQ
environment especially if you are just using it for messaging - if you go Q
Replication. Having said that, Data Propagator's performance will start to
degrade once you hit the 5,000/changes per second data change rate, in which
case Q Replication may be a better option (more IT investments might be
needed though (go DB2 8.2 as per one of th esuggestions in this thread but
still cheaper than not meeting Service Level Agreements). I have seen this
in situations wherein volumes hit the 5,000 per second change.

Hope this helps,

RdR

"johnm" <jo***@matrixsg.com> wrote in message
news:11*************@corp.supernews.com...
Here is my situation.

We run a very mission critical application that uses DB2 7.2 for the data
repository. The database is hosed at a data center in Los Angeles, Ca.

Our main office is in Portland, Oregon.

For disaster recovery purposes, we have been conducting an offline backup
of
the database each night, and then sending the backup file and the log
files
to our Portland office over a T1 connection. We have a DR machine in
Portland that is identical to the production machine in LA. In the event
of
a problem, our plan was to restore the back up and log files to the
Portland
machine and then redirect all users to that database.

First Issue: Because of the increasing database size, we have reached the
point where the overnight time window is not enough to complete the backup
and file transfer process before the start of business the next day.

Second Issue: Since this is a mission critical application, we have been
instructed that in the event of a problem, the application can only be
unavailable for 1 hour. RTO = 1 hr. We also cannot stand to loose more
than
1 hours worth of data. RPO = 1 hr. Therefore, our old plan, which could
cause a data loss of 24 hours, is no longer good enough.

I am toying with the notion of replicating the database in LA to the DR
machine in Portland over the T1 link. Is this possible? Can it be done?
Would it accomplish our objectives?

Given this situation, what is the best way to accomplish our DR goals?
(RTO
= 1 hr. and RPO = 1 hr.)

Any help with this is greatly appreciated.

Thanks in advance,

John

Nov 12 '05 #4
If you're going to consider moving to V8.2 anyway, another solution you
should definitely look at is HADR, which is highly suited to exactly
this kind of disaster recovery scenario. HADR essentially automates
the hand-rolled log shipping solution mentioned above, while reducing
the granule of transfer to a log buffer flush (down from a full log
file). This means the standby can run very close behind the primary,
with little (ASYNC mode) or no (SYNC mode) transaction loss possible at
failover. In addition, having the standby keeping up to current work
on the primary means that failover can be accomplished very quickly
(typically from a few seconds to a few minutes), as there is little or
no additional log data to play through at the time the operation is
initiated.

HADR is also very simple to set up and manage. HADR operates on an
entire database, replicating all logged operations, as opposed to other
DB2 Replication offerings that require configuration by database
object.

Whether your existing comm facility is sufficient depends on a couple
main factors:

1. Whether it can handle the expected data rate. You can estimate the
data rate by looking at how fast your system generates DB2 log data.
With HADR, the amount of data transferred will be modestly greater than
the existing log generation rate (due some log pages being sent more
than one time as they fill up, and to occasional control messages).

2. Depending on the synchronization mode you choose, the round trip
latency on your network could also come into play. SYNC and NEARSYNC
modes require acknowledgements of log data receipt from standby to
primary, and can put backpressure on the logging rate of the primary if
they are not delivered fast enough (in context of what load the
application is driving).

http://www-306.ibm.com/software/data/db2/udb/hadr.html

http://publib.boulder.ibm.com/infoce...n/c0011267.htm

ftp://ftp.software.ibm.com/ps/produc...S/db2hae81.pdf
(Chapter 7)

Regards,
- Steve P.
IBM DB2 UDB for LUW Development
Portland, OR

Nov 12 '05 #5
I would go for HADR as suggested previously. I am using HADR between a
database in Sydney (AU) and Auckland (NZ), this works like a dream. The
automatic client reroute helps as well so the clients automatically switch
over to the standy when we bring the primary down.

Cheers,

"Steve Pearson (news only)" <st*******@my-deja.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
If you're going to consider moving to V8.2 anyway, another solution you
should definitely look at is HADR, which is highly suited to exactly
this kind of disaster recovery scenario. HADR essentially automates
the hand-rolled log shipping solution mentioned above, while reducing
the granule of transfer to a log buffer flush (down from a full log
file). This means the standby can run very close behind the primary,
with little (ASYNC mode) or no (SYNC mode) transaction loss possible at
failover. In addition, having the standby keeping up to current work
on the primary means that failover can be accomplished very quickly
(typically from a few seconds to a few minutes), as there is little or
no additional log data to play through at the time the operation is
initiated.

HADR is also very simple to set up and manage. HADR operates on an
entire database, replicating all logged operations, as opposed to other
DB2 Replication offerings that require configuration by database
object.

Whether your existing comm facility is sufficient depends on a couple
main factors:

1. Whether it can handle the expected data rate. You can estimate the
data rate by looking at how fast your system generates DB2 log data.
With HADR, the amount of data transferred will be modestly greater than
the existing log generation rate (due some log pages being sent more
than one time as they fill up, and to occasional control messages).

2. Depending on the synchronization mode you choose, the round trip
latency on your network could also come into play. SYNC and NEARSYNC
modes require acknowledgements of log data receipt from standby to
primary, and can put backpressure on the logging rate of the primary if
they are not delivered fast enough (in context of what load the
application is driving).

http://www-306.ibm.com/software/data/db2/udb/hadr.html

http://publib.boulder.ibm.com/infoce...n/c0011267.htm

ftp://ftp.software.ibm.com/ps/produc...S/db2hae81.pdf
(Chapter 7)

Regards,
- Steve P.
IBM DB2 UDB for LUW Development
Portland, OR

Nov 12 '05 #6

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

Similar topics

2
3928
by: Cherrish Vaidiyan | last post by:
Hello, I have certain doubts regarding replication of Oracle 9i in Red Hat Linux 9. 1) I want to implement asynchronous/synchronous multimaster replication.I have heard about Replication...
0
2278
by: Cherrish Vaidiyan | last post by:
Frank <fbortel@nescape.net> wrote in message news:<bqgb99$a04$1@news1.tilbu1.nb.home.nl>... > Cherrish Vaidiyan wrote: > > Hello, > > > > I have certain doubts regarding replication of Oracle 9i ...
3
5423
by: steve | last post by:
Hi, several years ago , I implemented the oracle replication system. At that time our database was ported from an old Fox pro application. ( K , no laughing at the back). As the foxpro...
1
5456
by: Craig HB | last post by:
I have a distributed inventory control database that I am going to migrate from Access to SQL Server. I am going to use SQL Server Replication to keep the data current. There will one SQL Server...
6
3856
by: John | last post by:
Hi We have an access app (front-end+backend) running on the company network. I am trying to setup replication for laptop users who go into field and need the data synched between their laptops...
3
2394
by: dlesandrini | last post by:
I need advice about my decision to go with Replication in general. This post was placed on the Microsoft Replication newsgroup, but I really value the feedback that comes from this group as well. ...
56
5902
by: Raphi | last post by:
Hi, I've been using an Access application I wrote for an office with the front-end stored on all computers and the back-end on one of them serving as an Access file server. Now we're moving...
9
3908
by: David W. Fenton | last post by:
See: Updated version of the Microsoft Jet 4.0 Service Pack 8 replication files is available in the Download Center http://support.microsoft.com/?scid=kb;en-us;321076 This includes the Jet 4...
3
4530
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to...
2
4213
by: Query Builder | last post by:
Hi, I have transactional replication set up on on of our MS SQL 2000 (SP4) Std Edition database server Because of an unfortunate scenario, I had to restore one of the publication databases. I...
0
7373
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7432
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...
0
7519
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5677
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5079
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1585
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
452
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.