About this list Date view Thread view Subject view Author view Attachment view

From: Helmut Wollmersdorfer (helmut.wollmersdorfer_at_gmx.at)
Date: Mon 22 Aug 2005 - 12:18:33 BST


Debian Sarge
util-vserver 0.30.208-1
kernel-patch-vserver 2.0
linux-source 2.6.12-2
heartbeat 1.2.3-12
drbd 0.7.11-1

On my attempts to test vserver on drbd managed by heartbeat, I watched
some funny behaviour.

First I didn't specify a /etc/vservers/vs27/interfaces/0/name (which is
the default).

Heartbeat also creates an alias IP on eth0, which is eth0:0, because
heartbeat does it before the vserver is started.

The rest of the story is a lot of funny behaviour like ping-pong
failovers, both nodes listening to same IP etc.

I wonder a little bit, why
1) /name is not mandatory, or
2) why vserver does not check existing aliases before setting up an IP,
    or
3) sets up ethx:<context> as default.

With interfaces/0/name defined it seems to work now:

# ip addr ls
[...]
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
     [...]
     inet 192.168.0.22/24 brd 192.168.0.255 scope global eth0
     inet 192.168.0.20/24 brd 192.168.0.255 scope global secondary eth0:0
     inet 192.168.0.27/24 brd 192.168.0.255 scope global secondary eth0:vs27

Helmut Wollmersdorfer

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 22 Aug 2005 - 12:19:06 BST by hypermail 2.1.3