NIC Bonding on Separate Switches for Oracle RAC Cluster
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.