From: Alberto Cammozzo (mmzz_at_stat.unipd.it)
Date: Tue 03 Aug 2004 - 09:46:39 BST
On Mon, Aug 02, 2004 at 05:34:49PM -0600, Lucas Albers wrote:
> I am trying to create new haresource script to cover vserver.
> Does anyone have a haresource script for vserver, they would like to share?
If reading a few lines in italian does not bother you,
here [0] is the installation log of the following setup:
- 2 hosts with kernel 2.4.26 + vserver vs1.28 + fpu-state-fix
(kernel installation log covered here: [1])
One host server active, second in standby.
- drbd (0.7_pre10_20040709) sharing the /vserver partition
- debian woody
- heartbeat between hosts (serial, eth0, eth1)
- wrote short 'cluster' script in /etc/ha.d/resource.d/cluster
for vserver [shutdown]/migration/restart: the core line is:
drbd primary all && mount $SHARED_MOUNTPOINT && vserver start
- arp takeover in /etc/vserver/name.conf
This simple experimental setup works quite well, with the handover
of vserver between hosts in 10-20 pings.
BTW, I wish to thank very much the developers of vserver project
and all the community: vservers really changed my life (my problem
now is vserver names shortage :)
Cheers
Alberto
[0] http://homes.stat.unipd.it/mmzz/Papers/NewVserver/Cluster.html
[1] http://homes.stat.unipd.it/mmzz/Papers/NewVserver/kernel+vserver-II.html
-- Alberto Cammozzo V.Cesare Battisti 241/243. PADOVA ITALY System/Network Manager e-mail : mmzz_at_stat.unipd.it Universita` di Padova -IT tel : +39 49 8274175 _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver