FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-15-2008, 09:46 PM
"Victor Padro"
 
Default Bonding and Xen

How fast is your incoming connection? If you have a data line from the outside world that can saturate a 100 Mbit network card, you can afford new cards.



We got 2 T1 and 3 ADSL 4mbps lines we're not too worry about the incoming connections, because most of the traffic it's generated inside, we cannot afford changing the whole network structure, that will be changing cisco 10/100mbps switches, routers, nics, wiring infrastructure(we're on Cat5), maybe some server Nics and the boss way of seeing things (the hardest part I think).

It WAS a really sucess that the test lab to be approved you know...*

We have like 200 actively users that generates mails, web based reports, Siebel access, etc.
We have had certain bottlenecks on the mailgateways and in the sugarcrm domU's, that's why I am trying to figure it out how to use bonding or even using one dedicated nic for mailgateway, crm, and so on, but we're limited to 3-4 nics per machine.


Any Idea?

--
"It is human nature to think wisely and act in an absurd fashion."

"Todo el desorden del mundo proviene de las profesiones mal o mediocremente servidas"

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-15-2008, 09:54 PM
Luke S Crawford
 
Default Bonding and Xen

"Victor Padro" <vpadro@gmail.com> writes:
> Does anyone has implemented this sucessfully?

I have not used bonding with xen, but once you have a bonded interface in the
Dom0 it should be trivial. setup your bonded interface as usual, then in
/etc/xend-config.sxp where it says (network-script network-bridge)
set it to

(network-script 'network-bridge netdev=bond0')

it should just work.


> These servers are meant to replace MS messaging and intranet webservers
> which holds up to 5000 hits per day and thousands of mails, and probably the
> Dom0 could not handle this kind of setup with only one 100mbps link, and
> could not afford changing all the networking hardware to gigabit, at least
> not yet.


100Mbps is a whole lot of bandwidth for a webserver unless you are serving
video or large file downloads or something. 100Mbps is enough to choke a
very powerful mailserver, nevermind exchange.

I suspect that if you are using windows on Xen, disk and network I/O to and
from the windows DomU will be a bigger problem than network speeds. Are
you using the paravirtualized windows drivers? without them, network and
disk IO is going to feel pretty slow in windows, no matter how fast the
actual network or disk is.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-15-2008, 10:34 PM
"Victor Padro"
 
Default Bonding and Xen

I have not used bonding with xen, but once you have a bonded interface in the


Dom0 it should be trivial. *setup your bonded interface as usual, then in

/etc/xend-config.sxp where it says (network-script network-bridge)

set it to



(network-script 'network-bridge netdev=bond0')



it should just work.


Somewhere I read that a while ago...will make notes about that, thank you.


100Mbps is a whole lot of bandwidth for a webserver unless you are serving

video or large file downloads or something. 100Mbps is enough to choke a

very powerful mailserver, nevermind exchange.


Webservers are used to upload video and audio conferences and even stream them across the LAN and access SugarCRM to download/view reports, etc.
If we use only one M$ exchange server sometimes gets bottlenecked with all those kinds of mails sent. avi's mpeg's videos, wav's, mp3's, excel and powerpoint docs, etc.

But we have 2 backups that can handle all just fine, so we're trying to replace them with a Xen cluster based on Centos and postfix.




I suspect that if you are using windows on Xen, disk and network I/O to and

from the windows DomU will be a bigger problem than network speeds. *Are

you using the paravirtualized windows drivers? *without them, network and

disk IO is going to feel pretty slow in windows, no matter how fast the

actual network or disk is.

We're not using windows under Xen, we're trying to get rid of M$(reducing licensing fees mostly).
We use CentOS for SugarCRM and Debian for DNS, but want to use CentOS for everything if we could.

--
"It is human nature to think wisely and act in an absurd fashion."

"Todo el desorden del mundo proviene de las profesiones mal o mediocremente servidas"

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-16-2008, 07:00 AM
Marc Grimme
 
Default Bonding and Xen

On Tuesday 15 July 2008 22:34:56 Victor Padro wrote:
> Does anyone has implemented this sucessfully?
>
> I am asking this because we are implementing Xen on our test lab machines,
> which they hold up to three 3com and intel Nics 10/100mbps based.
>
> These servers are meant to replace MS messaging and intranet webservers
> which holds up to 5000 hits per day and thousands of mails, and probably
> the Dom0 could not handle this kind of setup with only one 100mbps link,
> and could not afford changing all the networking hardware to gigabit, at
> least not yet.
>
> Any pointers perhaps?
Just go the normal way. As long as you are not using VLANs on top of bonds the
default bridgescripts should do just fine.
Before starting with using a bond as no active/backup configuration I urge you
to read and understand the bonding.txt from the kernel-source:
http://www.mjmwired.net/kernel/Documentation/networking/bonding.txt or just
websearcch: bonding.txt
The problem is not to configure the bonding on a linux-machine but to get the
network setup right (Etherchannel, LACP, one switch or multiple switches,
etc.) and know what to expect from which setup.

And last but not least human communication between network guys and os-guys.

That are the biggest problem with bonding in my experience.

-marc.
>
> Greetings from Mexico.
>
>
> --
> "It is human nature to think wisely and act in an absurd fashion."
>
> "Todo el desorden del mundo proviene de las profesiones mal o mediocremente
> servidas"



--
Gruss / Regards,

Marc Grimme
http://www.atix.de/ http://www.open-sharedroot.org/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-16-2008, 11:50 AM
"Anthony Kamau"
 
Default Bonding and Xen

> -----Original Message-----
> From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
> Behalf Of Victor Padro
> Sent: Wednesday, 16 July 2008 8:34 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] Bonding and Xen
>
>
> We're not using windows under Xen, we're trying to get rid of M$(reducing
> licensing fees mostly).

Pray tell, what are you replacing Exchange with? My end users are dependent
on Exchange for calendaring but organization is becoming more and more anti
MS and it won't be long before they decide enough is enough, especially
being that some savvy users refused to upgrade to Vista and are now using
CentOS as their preferred desktop. These savvy users are software
developers who were previously using XP and multiple PuTTY sessions to get
the job done!

Cheers,
AK.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Wed Jul 16 15:30:01 2008
Return-path: <ubuntu-users-bounces@lists.ubuntu.com>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 16 Jul 2008 14:50:47 +0300
Received: from chlorine.canonical.com ([91.189.94.204])
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1KJ5Wx-0005k5-08
for tom@linux-archive.org; Wed, 16 Jul 2008 14:50:47 +0300
Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com)
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1KJ5VA-0005sU-KB; Wed, 16 Jul 2008 12:48:56 +0100
Received: from rv-out-0708.google.com ([209.85.198.246])
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <qrczakmk@gmail.com>) id 1KJ5V9-0005sD-2r
for ubuntu-users@lists.ubuntu.com; Wed, 16 Jul 2008 12:48:55 +0100
Received: by rv-out-0708.google.com with SMTP id f25so5562888rvb.14
for <ubuntu-users@lists.ubuntu.com>;
Wed, 16 Jul 2008 04:48:53 -0700 (PDT)
Received: by 10.141.178.17 with SMTP id f17mr5035921rvp.52.1216208933718;
Wed, 16 Jul 2008 04:48:53 -0700 (PDT)
Received: by 10.141.99.8 with HTTP; Wed, 16 Jul 2008 04:48:53 -0700 (PDT)
Message-ID: <3f4107910807160448k3f6115denbeee214c5e171002@mail .gmail.com>
Date: Wed, 16 Jul 2008 13:48:53 +0200
From: "=?UTF-8?Q?Marcin_=E2=80=98Qrczak=E2=80=99_Kowalczyk?="
<qrczak@knm.org.pl>
To: "Ubuntu user technical support,
not for general discussions" <ubuntu-users@lists.ubuntu.com>
Subject: Re: Meiaubuntu Site Issue
In-Reply-To: <506369.28009.qm@web82804.mail.mud.yahoo.com>
MIME-Version: 1.0
Content-Disposition: inline
References: <506369.28009.qm@web82804.mail.mud.yahoo.com>
X-Google-Sender-Auth: 5c9340a12d6d082e
X-BeenThere: ubuntu-users@lists.ubuntu.com
X-Mailman-Version: 2.1.8
Precedence: list
Reply-To: "Ubuntu user technical support,
not for general discussions" <ubuntu-users@lists.ubuntu.com>
List-Id: "Ubuntu user technical support,
not for general discussions" <ubuntu-users.lists.ubuntu.com>
List-Unsubscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=unsubscribe>
List-Archive: <https://lists.ubuntu.com/archives/ubuntu-users>
List-Post: <mailto:ubuntu-users@lists.ubuntu.com>
List-Help: <mailto:ubuntu-users-request@lists.ubuntu.com?subject=help>
List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: ubuntu-users-bounces@lists.ubuntu.com
Errors-To: ubuntu-users-bounces@lists.ubuntu.com

2008/7/16 Leonard Chatagnier <lenc5570@sbcglobal.net>:

> Connecting to www.medibuntu.org|87.98.242.110|:80...
> connected.
> HTTP request sent, awaiting response... 510 Not
> Extended

Medibuntu web server has some problems these days. Try again a few
times, or try later.

--
Marcin Kowalczyk
qrczak@knm.org.pl
http://qrnik.knm.org.pl/~qrczak/

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-16-2008, 02:51 PM
"Lars Schelde"
 
Default Bonding and Xen

> From: Anthony Kamau
> > -----Original Message-----
> > From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
> > Behalf Of Victor Padro
> > Sent: Wednesday, 16 July 2008 8:34 AM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] Bonding and Xen
> >
> >
> > We're not using windows under Xen, we're trying to get rid of
M$(reducing
> > licensing fees mostly).
>
> Pray tell, what are you replacing Exchange with? My end users are
dependent
> on Exchange for calendaring but organization is becoming more and more
anti
> MS and it won't be long before they decide enough is enough, especially
> being that some savvy users refused to upgrade to Vista and are now using
> CentOS as their preferred desktop. These savvy users are software
> developers who were previously using XP and multiple PuTTY sessions to get
> the job done!

I am currently testing Sun Java Communications Suite 5 on Centos 5.2
http://www.sun.com/software/communications_suite/index.xml
which seems to be a good alternative for Exchange. There is a free Outlook
connector
and the documentation is very good.
Its free, if you don't need technical support.


Regards
Lars


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-18-2008, 08:25 AM
Axel Thimm
 
Default Bonding and Xen

On Tue, Jul 15, 2008 at 03:34:56PM -0500, Victor Padro wrote:
> Does anyone has implemented this sucessfully?

Yes and no. :/

> I am asking this because we are implementing Xen on our test lab machines,
> which they hold up to three 3com and intel Nics 10/100mbps based.
>
> These servers are meant to replace MS messaging and intranet webservers
> which holds up to 5000 hits per day and thousands of mails, and probably the
> Dom0 could not handle this kind of setup with only one 100mbps link, and
> could not afford changing all the networking hardware to gigabit, at least
> not yet.
>
> Any pointers perhaps?

This is not CentOS specific, nor RHEL & clones, but a general Linux
issue: bonding and bridging is broken leading to loops on the switch
unless the switch is intelligent enough to do trunking on its side.

The problem is that the outgoing packages from the virtual xen bridge
are seen by the other bonding memebers and the learned mac addresses
on the xen bridge toggle from the VM to the outside interface.

I had posted this issue on the respective lists, but nothing happened
- ideally the bridge code would allow for static macs.

This then indirectly affects anything that uses a Linux bridge,
including xen and most other virtual solutions. If you google for
bonding on each of them you will find trouble reports all over.

So you options are:

a) use only active/backup type solutions to avoid loops.
b) use an inteligent swicth that is able to trunk ports and therefore
does not generate the loops. But then these servers cannot be
PXE/DHCP booted anymore (for reinstalling them).

I had these issues with the 2x1GB setup on the ATrpms servers and lost
a lot of hair over it. The increased throughput was there at the end,
but maybe I'd preferred to keep my hair ...
--
Axel.Thimm at ATrpms.net
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org