Solved

Oracle data guard using crossover cable ok?

Posted on 2011-09-30
8
741 Views
Last Modified: 2012-05-12
Hi,

I see that Oracle RAC does not support the use of crossover cables, but what about if I just want to use Data Guard with plain old Oracle Enterprise edition? I will have two Oracle 11g servers right beside each other and want to use Data Guard for disaster situations. I thought this would be better than just taking frequent backups with a 3rd party tool. Is crossover ok or do I seriously need a switch?

Thanks.
0
Comment
Question by:Gandharva_Guy
  • 5
  • 3
8 Comments
 
LVL 34

Expert Comment

by:johnsone
ID: 36893931
I haven't actually done it, but I would think you should be able to do it with just a crossover.

As long as you can get the listener to make connections across it and log shipping to move the logs, it should be fine.

I would think it would be a pretty quick test.  You don't actually have to build the standby, just start the log shipping and make sure they start going across.
0
 

Author Comment

by:Gandharva_Guy
ID: 36893967
Well, yes I think it would work, but I guess what I am really asking is whether Data Guard is subject to the same kind of risks as RAC whereby using crossover cables isn't supported due to some NIC cards which hang when the link goes down (media sensing) on the far end, say due to a reboot, blue screen, etc.

From what I am reading, Data Guard should just pick up where it left off once both servers are back up.
0
 

Author Comment

by:Gandharva_Guy
ID: 36894003
Here's a discussion of what I am referring to. I can see how this is an issue for clusters but I am wondering if this applies to Data Guard use also.

https://forums.oracle.com/forums/thread.jspa?threadID=2243978
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:Gandharva_Guy
ID: 36894061
Further, the whole reason I am wondering is because the public network I have is a wimpy 10Mb/s (and not easily upgraded) so I need something a lot faster between the two servers.
0
 
LVL 34

Accepted Solution

by:
johnsone earned 50 total points
ID: 36894154
Data Guard does not have a heartbeat that it needs.  If one side of the link goes down, then the logs don't get shipped.  You just need to make sure that the destination over the link is an optional destination.  As I recall, the data guard documentation pushes you in that direction anyway.

The link you provided discusses the interconnect used for the heartbeat for RAC.  Data Guard doesn't use anything like that.  It shouldn't be an issue.

If there is some underlying hardware/firmware reason that locks up the interface (or machine) or crashes the machine, that is not something that Oracle can do anything about.  You may need to correct that before your primary and/or standby can continue to function.
0
 

Author Comment

by:Gandharva_Guy
ID: 36894321
Would you happen to have a link to where the docs talk about an "optional destination" as you mentioned?

Is there a way I can specify the preferred route for it to use and still have both routes available if one or the other goes down?
0
 
LVL 34

Expert Comment

by:johnsone
ID: 36896653
Here is the link to the LOG_ARCHIVE_DEST parameter that you would set for log shipping:

http://download.oracle.com/docs/cd/E11882_01/server.112/e24448/initparams122.htm#I1010086

This link is for the section in the Data Guard doc that describes setting up redo transport (aka log shipping):

http://download.oracle.com/docs/cd/E11882_01/server.112/e22491/log_transport.htm#i1148216


The route that will be taken is specified by the service you set up in the tnsnames.ora file.  I would suggest that route rather than specifying the full connect string in the log archive destination.  You would need 2 listeners running on the destination, one on the interconnect and one on the public interface.  If one goes down, simply switching the tnsnames.ora entry would force the connection to the other interface.

Alternately, you could set up 2 log destinations on the standby server.  One through the interconnect and one through the public interface.  If one goes down, the other should continue to function.  You may have to manually move around some files in this case, but everything should get there.

Be aware that in the event of a hung server, neither destination would work.
0
 

Author Comment

by:Gandharva_Guy
ID: 36897085
Thanks a lot for this info! This pretty much answers it I think, just need to try it out when the time comes.

Cheers!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question