[PVE-User] 3 proxmox 2.1 servers, 2 switches, HA

Andrew Eross eross at locatrix.com
Tue Jun 19 00:24:23 CEST 2012


Hi Patrice,

I'll just mention that I've gone through a similar exercise recently and
setup pretty much the same network config you have outlined.

The main thing to be aware of is that you can't use 802.3ad and link
aggregation unless the switches are stacked (e.g. using whatever
proprietary cisco/hp/etc tech) so that they are one logical switch.

You can still using the linux active-backup bonding, however, which is what
it sounds like you actually want.

In Ubuntu, here's one of my server config examples:

auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0 eth1

auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0 eth1

auto bond0
iface bond0 inet static
address 192.168.40.6
netmask 255.255.255.0
gateway 192.168.40.254
bond-mode active-backup
bond-miimon 100
bond-slaves none

Cheers,
Andrew



On Mon, Jun 18, 2012 at 7:07 PM, Patrice Levesque <pve.wayne at ptaff.ca>wrote:

>
> Hi,
>
> just started using Proxmox and I'm impressed.  There's a network setup
> though I'm not sure how to do.
>
> But let me first show you my fine ASCII artistic talents.
>
>
>        +----------------------------------------+   +----------+
>        |                                        |   |          |
>        |                Switch 1                *---* Router 1 |
>        |                                        |   |          |
>        +---*--*-----------*--*-----------*--*---+   +----------+
>            |  |           |  |           |  |
>            |  |           |  |           |  |
>            |  |           |  |           |  |
>        +---*--*---+   +---*--*---+   +---*--*---+
>        |          |   |          |   |          |
>        | Server 1 |   | Server 2 |   | Server 3 |
>        |          |   |          |   |          |
>        +---*--*---+   +---*--*---+   +---*--*---+
>            |  |           |  |           |  |
>            |  |           |  |           |  |
>            |  |           |  |           |  |
>        +---*--*-----------*--*-----------*--*---+   +----------+
>        |                                        |   |          |
>        |                Switch 2                *---* Router 2 |
>        |                                        |   |          |
>        +----------------------------------------+   +----------+
>
>
> I want to use link aggregation (switches are Cisco 2960G if you need to
> know), so no problem, I can bind two interfaces together via bonding
> rules in /etc/network/interfaces and 802.3ad mode.
>
> Now I'd like the Switch 2 to become a fail-over (the switches are *not*
> stacked), and hence I'd like to use only one switch at a time.  My first
> idea was to meta-bond the two bonding interfaces in active-backup mode,
> but layering the bonding driver appears to be a bad idea according to
> what I read here :
>
> http://sourceforge.net/projects/bonding/forums/forum/77912/topic/2593462?message=5691669
>
> The above link refers to bonding option ad_select={1,2} (I guess), but
> I'm quite unsure if it'll fulfill my need and if so, how to put all of
> this together in /etc/network/interfaces.
>
> Has anybody done a similar setup / has experience with multiple switches
> to share?
>
>
> Thanks,
>
>
>
> --
>  --====|====--
>    --------================|================--------
>        Patrice Levesque
>         http://ptaff.ca/
>        pve.wayne at ptaff.ca
>    --------================|================--------
>  --====|====--
> --
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20120618/7cb267e0/attachment-0014.html>


More information about the pve-user mailing list