LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-25-2006, 12:54 AM   #1
legonz
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
NIC Bonding on Separate Switches for Oracle RAC Cluster



Hi.

I need to improve availability on Oracle RAC servers running RHEL4-ES. I have two network interfaces on each server that I would like to use for cluster interconnect (an Oracle feature). Someone recommended that I use NIC Bonding. My question is: Can I implement NIC Bonding on the interfaces if each interface is connected to 2 separate network switches (therefore, 2 networks)? How?

#.+---+..................................+---+.
#.|...|..................................|...|.
#.|...|..........+------------+..........|...|.
#.|...+----------+....sw1.....+----------+...|.
#.|...+--+.......+------------+.......+--+...|.
#.+---+..|............................|..+---+.
#.svr1...|.......+------------+.......|...svr2.
#........+-------+....sw2.....+-------+........
#................+------------+................ (if garbled- not mind)

Hope someone can help me...

 
Old 01-25-2006, 06:36 AM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
As I understand it Bonding is linux speak for what cisco call ether-channeling or nortel calls trunking. I think you can bond to separate switches in a stack if you have stacking switches i.e. with a bus connection up the back. But I don't think you can bond to entirely separate switches. In the diagram you give above the servers would have to bond to the switches. Connecting the servers to each other directly would allow bonding.

If its availability to users you are trying to improve, I assume by protecting against failure of a NIC,cable or switch, then you can hook the server to two switches, then run VRRP between the two interfaces. The two switches would need to be cross connected to allow the same vlan on both switches.This means that you only have one interface as active so it doesn't increase bandwidth, but it does give you redundancy, assuming that you have designed the rest of your switched network correctly.
 
Old 01-25-2006, 10:30 AM   #3
irpstrcr
Member
 
Registered: Mar 2005
Location: LAX
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Take a look at the kernel docs related to bonding, under the High Availablity section.

PHP Code:
               |                                     |
                |
port3                           port3|
          +-----+----+                          +-----+----+
          |          |
port7       ISL      port7|          |
          | switch 
+--------------------------+ switch |
          |          +--------------------------+          |
          |          |
port8                port8|          |
          +----++----+                          +-----++---+
          
port2||port1                           port1||port2
               
||             +-------+               ||
               |+-------------+ 
host1 +---------------+|
               |         
eth0 +-------+ eth1           |
               |                                       |
               |              +-------+                |
               +--------------+ 
host2 +----------------+
                         
eth0 +-------+ eth1 
Is this what you are looking todo?
 
Old 01-25-2006, 11:09 PM   #4
legonz
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
no... no ISL.
i'm looking at using 2 separate switches.
 
Old 01-26-2006, 04:51 AM   #5
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Looks to me like irpstrcr's (excellent) diagram has two switches in it. If you want the server interfaces to run as a redundant pair then they need to have layer2 visibility of each other as VRRP operates with MAC Multicast adresses. If you don't use a cross connect then all you have is half your users on one interface/switch and half on the other. Lose an interface and lose half your users. Do it the correct way and all users will immediately reconverge on the redundant interface, and may not even realise that anything happened. If your going to do a job why not do it properly?
 
Old 01-26-2006, 11:31 AM   #6
irpstrcr
Member
 
Registered: Mar 2005
Location: LAX
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Not my diagram.. It came from the kernel docs related to the bonding driver...

Even without trunking on the switch it should be close enough to the same idea.
all bonding is doing in theory is providing more bandwidth (remember way back, when
you bonded multiple analog modems or multiple BRIs for more bandwidth). If the switches
are not trunked i can not think of a reason for them to care about which netwerk or vlan
the other belongs to.

Another idea would be to use 2 bonding interfaces each mapped to a sub-interface on each
nic (multihomed), Tho i do no know if this actually possible.

I hate to say this but read the bonding docs that are provided with the kernel, as it
could explain this better than i, and see if that is what you are looking to accomplish.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle 9i RAC Install on Linux AS gordib259 Linux - Software 2 06-01-2007 10:02 AM
Install Oracle Rac on RHEL 4 on a Dell machine masand Linux - Enterprise 0 01-16-2006 01:00 AM
OpenBSD and NIC bonding? lil_drummaboy *BSD 2 11-04-2005 01:49 PM
RHAS3.0 Cluster with Power Switches saxbyandrew Linux - Software 0 10-31-2005 04:12 PM
NIC Bonding Problem jon3k Linux - Networking 4 08-31-2004 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration