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 > Oracle > Temporary 2 database solution

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-22-03, 10:17
Breen Breen is offline
Registered User
 
Join Date: Mar 2002
Location: Ireland
Posts: 181
Temporary 2 database solution

Hi Gentlemen,
For reasons that I don't want to go into we are going to be building a temporary database solution that will have 2 Solaris boxes available.

Using Solaris 8 and Oracle 8.1.7:

The Sysadmins are pushing for a floating IP address for the boxes and the same instance name on each server. They would like (in the case of a crash) the IP address to point to the other db server (which has been recovered to the point in time [roughly] that the first db went down) with the same name etc and ta da...

I was thinking of hotbackups in archivelog mode and frequent transfers to the second box.

I assumed so far that it can be done relatively easily but if anyone has a better solution (bear in mind that this is just a temporary solution) I would love to hear it.

Thanks in advance for your help.

Rgs,
Breen.
Reply With Quote
  #2 (permalink)  
Old 01-22-03, 10:19
Breen Breen is offline
Registered User
 
Join Date: Mar 2002
Location: Ireland
Posts: 181
I forgot to ask - is the solution I was thinking of possible?
Reply With Quote
  #3 (permalink)  
Old 01-22-03, 10:44
marist89 marist89 is offline
Registered User
 
Join Date: Oct 2002
Location: greenwich.ct.us
Posts: 279
Sysadmins: Can't live with them, can't live without them.

There's a couple of things to keep in mind. Your DNS must be extremely reliable to use hostnames in your tnsnames.ora file.

Also, you may want to look at the Network Admin guide for SQL*Net/Net8. You can specify multiple addresses that get tried in succession until they succeed.

What you're describing is basically a poor mans implementation of a standby database. Oracle 8i has some tools to implement a standby database (although 9i is better) and there are significant instructions on Metalink on how to do it. I followed Note 180031.1 and set it up with a 9i database. I think you can do similar for 8i.
__________________
Jeff Hunter
http://marist89.*************
Reply With Quote
  #4 (permalink)  
Old 01-22-03, 11:00
Breen Breen is offline
Registered User
 
Join Date: Mar 2002
Location: Ireland
Posts: 181
Thanking you Marist89,
The reason I'm not going for a standby database solution is that they specifically want both databases to be called the same thing (mainly because our application server is a fool and has difficulty at the best of times).
This limits what I can do alot as far as I can see (I was going to go with MultiMaster Replication), what does a guy do?
Reply With Quote
  #5 (permalink)  
Old 01-22-03, 12:08
marist89 marist89 is offline
Registered User
 
Join Date: Oct 2002
Location: greenwich.ct.us
Posts: 279
Quote:
Originally posted by Breen
Thanking you Marist89,
The reason I'm not going for a standby database solution is that they specifically want both databases to be called the same thing (mainly because our application server is a fool and has difficulty at the best of times).

Standby database can have the same name as the source database.

Quote:

This limits what I can do alot as far as I can see (I was going to go with MultiMaster Replication), what does a guy do?
Both have to be open at the same time?
__________________
Jeff Hunter
http://marist89.*************
Reply With Quote
  #6 (permalink)  
Old 01-23-03, 06:16
Breen Breen is offline
Registered User
 
Join Date: Mar 2002
Location: Ireland
Posts: 181
Sorry Marist89,
Didn't read your last comment as a question till now.

They don't both have to be open at the same time.
Reply With Quote
  #7 (permalink)  
Old 01-23-03, 08:14
marist89 marist89 is offline
Registered User
 
Join Date: Oct 2002
Location: greenwich.ct.us
Posts: 279
Personally, I think multi-master replication would be overkill. I would setup a simple standby database and write some scripts to automate the switchover. Your standby will be current as of the last log switch which sounds more than "current enough". In 9i, you can configure your standby database for maximum protection which ensures every write to the redo log is written to the standby in real-time.
__________________
Jeff Hunter
http://marist89.*************
Reply With Quote
  #8 (permalink)  
Old 01-23-03, 09:01
Breen Breen is offline
Registered User
 
Join Date: Mar 2002
Location: Ireland
Posts: 181
Thanks for all your help Marist89, I'm going to go with your advice.

Breen.
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