Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 9291 invoked from network); 12 Dec 2007 08:54:59 -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:54:58 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6FC4E7D8095;
 Wed, 12 Dec 2007 09:54:59 -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 03084-05; Wed, 12 Dec 2007 09:54:59 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D5C327D8061;
 Wed, 12 Dec 2007 09:54:58 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 12 Dec 2007 09:07:33 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 355247D82AB
 for <oracle-l@freelists.org>; Wed, 12 Dec 2007 09:07:33 -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 25966-08 for <oracle-l@freelists.org>;
 Wed, 12 Dec 2007 09:07:33 -0500 (EST)
Received: from web35408.mail.mud.yahoo.com (web35408.mail.mud.yahoo.com [66.163.179.117])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with SMTP id A325D7D8244
 for <oracle-l@freelists.org>; Wed, 12 Dec 2007 09:07:32 -0500 (EST)
Received: (qmail 94065 invoked by uid 60001); 12 Dec 2007 14:07:28 -0000
X-YMail-OSG: dh0Gs.oVM1kS9URrE8SUthgzajVriW6vWV1FTKsM83PzSos0j.PkdYoR32ygAfv44TyWMcDDFbl0PBlE_XEcWfpxxlFBheeMWFdkVPJ9BUgp_L2ykGVJ_Xdc.EQQGg--
Received: from [67.90.115.78] by web35408.mail.mud.yahoo.com via HTTP; Wed, 12 Dec 2007 06:07:28 PST
Date: Wed, 12 Dec 2007 06:07:28 -0800 (PST)
From: Dan Norris <dannorris@dannorris.com>
Subject: Re: Linux NIC bonding
To: Oracle L <oracle-l@freelists.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-109342015-1197468448=:90031"
Message-ID: <392142.90031.qm@web35408.mail.mud.yahoo.com>
X-archive-position: 3877
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-109342015-1197468448=:90031
Content-Type: text/plain; charset=us-ascii

It was my understanding that active-active required trunking capability on the switches so that the switches know that both of the network ports are going to the same host. I don't know if that capability is available on these switches. That's why I chose active-passive. 

As for Oracle support, I know that Oracle's biggest issue is supporting kernels that are not tainted. I was thinking of the 3rd party intel or broadcom software that the customer is considering putting on these nodes--not sure if or what Oracle would say about that. If anyone has experience with NIC teaming software from Intel or Broadcom on Linux, please let me know your experiences with it.

Thanks for all the replies. Please let me know if I'm wrong about my assumption above that special switch trunking configuration is needed to enable active-active. I believe it is required per the bonding.txt file in the kernel source that says this in the sections about active-active: "This mode requires the switch to have the appropriate ports configured for "etherchannel" or "trunking."" We're trying to do all this stuff without doing any real configuration on the switches.

Dan

----- Original Message ----
From: goran bogdanovic <goran00@gmail.com>
To: Oracle L <oracle-l@freelists.org>
Sent: Wednesday, December 12, 2007 5:47:51 AM
Subject: Re: Linux NIC bonding


I have to correct myself...
I have recalled my memories for Linux bonding and 'active-backup' is possible (I haven't used it myself)...when you set mode parameter when defining bonding drivers here are the possibilities:


mode 0 = active-active (round-robin rule when transmitting packets)
mode 1 = active-passive
mode 2 = indicates either of them can be used


On Dec 12, 2007 10:28 AM, goran bogdanovic <
goran00@gmail.com> wrote:
Hi Dan,

I am not sure if 'active-passive' bonding under Linux is possible but why would you use 'active-passive' configuration? With 'active-active' you get load-balancing plus failover capability.


>It's questionable how Oracle would view that from a support perspective (if they care at all).

As long as bonding driver does not taint the kernel, Oracle will support it.


cheers,
goran




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-109342015-1197468448=:90031
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;">It was my understanding that active-active required trunking capability on the switches so that the switches know that both of the network ports are going to the same host. I don't know if that capability is available on these switches. That's why I chose active-passive. <br><br>As for Oracle support, I know that Oracle's biggest issue is supporting kernels that are not tainted. I was thinking of the 3rd party intel or broadcom software that the customer is considering putting on these nodes--not sure if or what Oracle would say about that. If anyone has experience with NIC teaming software from Intel or Broadcom on Linux, please let me know your experiences with it.<br><br>Thanks for all the replies. Please let me know if I'm wrong about
 my assumption above that special switch trunking configuration is needed to enable active-active. I believe it is required per the bonding.txt file in the kernel source that says this in the sections about active-active: "This mode requires the switch to have the appropriate ports configured for "etherchannel" or "trunking."" We're trying to do all this stuff without doing any real configuration on the switches.<br><br>Dan<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: goran bogdanovic &lt;goran00@gmail.com&gt;<br>To: Oracle L &lt;oracle-l@freelists.org&gt;<br>Sent: Wednesday, December 12, 2007 5:47:51 AM<br>Subject: Re: Linux NIC bonding<br><br>
I have to correct myself...<br>I have recalled my memories for Linux bonding and 'active-backup' is possible (I haven't used it myself)...when you set mode parameter when defining bonding drivers here are the possibilities:
<br><br>mode 0 = active-active (round-robin rule when transmitting packets)<br>mode 1 = active-passive<br>mode 2 = indicates either of them can be used<br><br><br><div class="gmail_quote">On Dec 12, 2007 10:28 AM, goran bogdanovic &lt;
<a rel="nofollow" ymailto="mailto:goran00@gmail.com" target="_blank" href="mailto:goran00@gmail.com">goran00@gmail.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;">Hi Dan,<br><br>I am not sure if 'active-passive' bonding under Linux is possible but why would you use 'active-passive' configuration? With 'active-active' you get load-balancing plus failover capability.
<div class="Ih2E3d"><br><br>&gt;It's questionable how Oracle would view that from a support perspective (if they care at all).<br></div>As long as bonding driver does not taint the kernel, Oracle will support it.<br>
<br>cheers,<br><font color="#888888">goran</font><div><div></div><div class="Wj3C7c"><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></div></blockquote></div><br>
</div><br></div></div></body></html>
--0-109342015-1197468448=:90031--
--
http://www.freelists.org/webpage/oracle-l


