[PVE-User] Cluster nodes in different subnets/VLANs

Manu Lestrelin emmanuel.lestrelin at univmed.fr
Wed Dec 9 09:25:18 CET 2009


Everything seems to be working right now, i can online migrate my VE 
beetween the two nodes without problem.

I had a problem with online migration of OpenVZ VEs, but it was not 
related to network configuration, and I have found a workaround 
described here : 
<http://www.proxmox.com/forum/showthread.php?p=15223#post15223>

The only remaining side effect of the network configuration is an error 
reported via cron email during backup on the slave node :

> Use of uninitialized value $localip in string eq at /usr/share/perl5/PVE/Cluster.pm line 200.

This error is certainly due to the fact that vmbr0 does not have any 
defined gateway : as stated in Cluster.pm line 182, $localip is defined 
like this :

>     my $localip = $ifaces->{vmbr0}->{address} || $ifaces->{eth0}->{address};

Although, the backup works fine...

Manu Lestrelin a écrit :
>
> Yeah, that seems to be the right solution. Thanks to you...
>
> I was just stuck with gateway configuration problem on host B : the 
> default gateway for this host needs to be on VLAN200 (vmbr1), but i 
> have been unable to set it with Proxmox VE web console. I finally 
> edited '/etc/network/interfaces.new' by hand before rebooting, and it 
> seems to works fine right now.
>
> I'll tell you about live migration tests asap.
>
> Proxmox rocks ! ;-)
>
> Dietmar Maurer a écrit :
>>> -----Original Message-----
>>> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
>>> bounces at pve.proxmox.com] On Behalf Of Bill Carlson
>>> Sent: Donnerstag, 03. Dezember 2009 16:30
>>> Cc: pve-user at pve.proxmox.com
>>> Subject: Re: [PVE-User] Cluster nodes in different subnets/VLANs
>>>
>>> On 12/03/2009 06:29 AM, Dietmar Maurer wrote:
>>> All cluster nodes need to be in the same physical network.
>>>
>>> On vmbr0.
>>>
>>> Switch A's bridges around, make vmbr0 -> VLAN 200 and vmbr1 -> VLAN
>>> 100.
>>>     
>>
>> Yes, use a separate bridge for each vlan. For example:
>>
>> HostA/vmbr0 => VLAN100
>> HostA/vmbr1 => VLAN200
>> HostB/vmbr0 => VLAN100
>> HostB/vmbr1 => VLAN200
>>
>> Else live migration will not work.
>>
>> - Dietmar
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>   
>
> -- 
> manu
> ------------------------------------------------------------------------
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>   
-- 
manu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20091209/749a8e61/attachment.htm>


More information about the pve-user mailing list