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.

 
Go Back  dBforums > Database Server Software > DB2 > Generic Schema

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-21-04, 10:53
mark_maz mark_maz is offline
Registered User
 
Join Date: Feb 2002
Location: Hamilton
Posts: 138
Generic Schema

We have a requirement to failover/failback between two sites a database that has in flight transactions so that we can do maintenance on one site and not totatlly stop access.

We would like to not have to script a redirected restore from one instance to another (ids are ida and idb for site delineation). So we would like to create the database and have it populated using generic schema so that we can easily export/import the data across sites and databases.

Is this possible? Has anyone done anything like this before? Or better still does anyone have any better ideas on how to accomplish this?

thanks in advance

Platform is AIX 5.1 and DB2 v8 FP2

Mark
Reply With Quote
  #2 (permalink)  
Old 01-21-04, 12:53
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Mark,
Have you looked into Replication?

Andy
Reply With Quote
  #3 (permalink)  
Old 01-21-04, 12:56
mark_maz mark_maz is offline
Registered User
 
Join Date: Feb 2002
Location: Hamilton
Posts: 138
Andy

No we have not looked into Replication, what would it take to do this sort of thing?

Mark
Reply With Quote
  #4 (permalink)  
Old 01-21-04, 13:10
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Mark,
Replication will automatically copy data from one server to the other. There are serveral scenarios that can be set up. To learn more, look in the Replication Guide and Reference manual and there is a Redbook "A Practical Guide to DB2 UDB Data Replication V8". Both are good sources.

THe redbook can be located at:
http://publib-b.boulder.ibm.com/Redb...=0,replication

Andy

Quote:
Originally posted by mark_maz
Andy

No we have not looked into Replication, what would it take to do this sort of thing?

Mark
Reply With Quote
  #5 (permalink)  
Old 01-21-04, 13:17
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
You may need Update Anywhere Replication set up ...

In your scenario, ideally there will be changes to only one side at any given point of time, but that needs to go to the other end ... Hence, you may find this set up easier to manage than two independent captures and subscription definitions

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On