Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 6474 invoked from network); 12 Dec 2007 08:44:29 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-69-64-49-119.inaddr.intergenia.de with SMTP; 12 Dec 2007 08:44:29 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D635B7D8420;
 Wed, 12 Dec 2007 09:44:29 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 01279-10; Wed, 12 Dec 2007 09:44:29 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4DF067D83FF;
 Wed, 12 Dec 2007 09:44:29 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 12 Dec 2007 08:57:04 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E22EE7D801A
 for <oracle-l@freelists.org>; Wed, 12 Dec 2007 08:57:03 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 23782-06 for <oracle-l@freelists.org>;
 Wed, 12 Dec 2007 08:57:03 -0500 (EST)
Received: from web35405.mail.mud.yahoo.com (web35405.mail.mud.yahoo.com [66.163.179.114])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with SMTP id 718887D73B4
 for <oracle-l@freelists.org>; Wed, 12 Dec 2007 08:57:02 -0500 (EST)
Received: (qmail 52161 invoked by uid 60001); 12 Dec 2007 13:57:02 -0000
X-YMail-OSG: RKS_hLEVM1l_2n6rUAPkExfylMrJzOyFawhsolU92MMDy5OrsxzecxAJBXJeAI0unUegZq7obw--
Received: from [67.90.115.78] by web35405.mail.mud.yahoo.com via HTTP; Wed, 12 Dec 2007 05:57:02 PST
Date: Wed, 12 Dec 2007 05:57:02 -0800 (PST)
From: Dan Norris <dannorris@dannorris.com>
Subject: Re: Linux NIC bonding
To: exriscer@gmail.com
Cc: Oracle L <oracle-l@freelists.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-203805582-1197467822=:52032"
Message-ID: <297867.52032.qm@web35405.mail.mud.yahoo.com>
X-archive-position: 3874
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: dannorris@dannorris.com
Precedence: normal
Reply-to: dannorris@dannorris.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
--0-203805582-1197467822=:52032
Content-Type: text/plain; charset=us-ascii

As I mentioned, I use active-passive (aka active-backup). Sorry if my terminology confused you.

Dan

----- Original Message ----
From: LS Cheng <exriscer@gmail.com>
To: dannorris@dannorris.com
Cc: Oracle L <oracle-l@freelists.org>
Sent: Wednesday, December 12, 2007 4:33:44 AM
Subject: Re: Linux NIC bonding


Hi Dan

What mode do you use, 0, 1, 2.. etc? Sounds you have used 1 (active-backup). This is what kernel doc says about it:

active-backup or 1


        Active-backup policy: Only one slave in the bond is

        active.  A different slave becomes active if, and only
        if, the active slave fails.  The bond's MAC address is

        externally visible on only one port (network adapter)

        to avoid confusing the switch.


        In bonding version 2.6.2 or later, when a failover
        occurs in active-backup mode, bonding will issue one

        or more gratuitous ARPs on the newly active slave.

        One gratutious ARP is issued for the bonding master
        interface and each VLAN interfaces configured above

        it, provided that the interface has at least one IP

        address configured.  Gratuitous ARPs issued for VLAN
        interfaces are tagged with the appropriate VLAN id.


        This mode provides fault tolerance.  The primary

        option, documented below, affects the behavior of this
        mode.


I have always used 0 in the past

Thanks

--
LSC


On Dec 12, 2007 6:22 AM, Dan Norris <dannorris@dannorris.com
> wrote:
I'm building a cluster using Oracle Clusterware and have configured redundant pairs of NICs on the Linux servers using the Linux bonding module (active-passive). I know how to configure the Linux end of things and that's working fine. However, the switches used by this customer (they're Dell branded--not sure who really makes the guts) have been getting "confused" by bonding and our simple ping tests lose about 50% of the packets when we plug the redundant pairs into the two separate (trunked) switches. 


This is only peripherally related to Oracle--it's really a networking and server config issue, but I'm hoping that someone with more networking background than I have can explain what switch configuration will enable this to work properly. The customer has stated that this will never work (though I
 have done it before at other sites and it worked fine). The customer has stated that the Linux configuration must be two active NICs
 with a virtual IP and virtual MAC. I imagine that will work, but I'm not familiar with that configuration and I don't think Linux has native support for it, so it'd probably be a Broadcom or Intel software package. It's questionable how Oracle would view that from a support perspective (if they care at all). 


So, the question: Is there some "magical" switch setting that would possibly be missing in a fairly "default" configuration that might enable this to work properly? I figure it's a long shot asking a networking question on the Oracle list, but thanks for any pointers.


Dan









--0-203805582-1197467822=:52032
Content-Type: text/html; charset=us-ascii

<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">As I mentioned, I use active-passive (aka active-backup). Sorry if my terminology confused you.<br><br>Dan<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: LS Cheng &lt;exriscer@gmail.com&gt;<br>To: dannorris@dannorris.com<br>Cc: Oracle L &lt;oracle-l@freelists.org&gt;<br>Sent: Wednesday, December 12, 2007 4:33:44 AM<br>Subject: Re: Linux NIC bonding<br><br>
Hi Dan<br><br>What mode do you use, 0, 1, 2.. etc? Sounds you have used 1 (active-backup). This is what kernel doc says about it:<br><br><span style="font-family: courier new,monospace;">active-backup or 1</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Active-backup policy: Only one slave in the bond is</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active.&nbsp; A different slave becomes active if, and only</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if, the active slave fails.&nbsp; The bond's MAC address is
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; externally visible on only one port (network adapter)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to avoid confusing the switch.</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In bonding version 2.6.2 or later, when a failover</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; occurs in active-backup mode, bonding will issue one
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or more gratuitous ARPs on the newly active slave.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; One gratutious ARP is issued for the bonding master</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; interface and each VLAN interfaces configured above
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it, provided that the interface has at least one IP</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; address configured.&nbsp; Gratuitous ARPs issued for VLAN</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; interfaces are tagged with the appropriate VLAN id.
</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This mode provides fault tolerance.&nbsp; The primary</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option, documented below, affects the behavior of this</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mode.
</span><br><br>I have always used 0 in the past<br><br>Thanks<br><br>--<br>LSC<br><br><br><div class="gmail_quote">On Dec 12, 2007 6:22 AM, Dan Norris &lt;<a rel="nofollow" ymailto="mailto:dannorris@dannorris.com" target="_blank" href="mailto:dannorris@dannorris.com">dannorris@dannorris.com</a>
&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">I'm building a cluster using Oracle Clusterware and have configured redundant pairs of NICs on the Linux servers using the Linux bonding module (active-passive). I know how to configure the Linux end of things and that's working fine. However, the switches used by this customer (they're Dell branded--not sure who really makes the guts) have been getting "confused" by bonding and our simple ping tests lose about 50% of the packets when we plug the redundant pairs into the two separate (trunked) switches. 
<br><br>This is only peripherally related to Oracle--it's really a networking and server config issue, but I'm hoping that someone with more networking background than I have can explain what switch configuration will enable this to work properly. The customer has stated that this will never work (though I
 have done it before at other sites and it worked fine). The customer has stated that the Linux configuration must be two active NICs<br>&nbsp;with a virtual IP and virtual MAC. I imagine that will work, but I'm not familiar with that configuration and I don't think Linux has native support for it, so it'd probably be a Broadcom or Intel software package. It's questionable how Oracle would view that from a support perspective (if they care at all). 
<br><br>So, the question: Is there some "magical" switch setting that would possibly be missing in a fairly "default" configuration that might enable this to work properly? I figure it's a long shot asking a networking question on the Oracle list, but thanks for any pointers.
<br><font color="#888888"><br>Dan<br></font></div></div></blockquote></div><br>
</div><br></div></div></body></html>
--0-203805582-1197467822=:52032--
--
http://www.freelists.org/webpage/oracle-l


