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

From: Gebhardt Thomas (gebhardt_at_hrz.uni-marburg.de)
Date: Wed 02 Jun 2004 - 09:44:29 BST

On Friday 28 May 2004 02:04, Lucas Albers wrote:


> Could you post more details about this?

> 1.The startup script you have for a vserver which does the arp takeover.
> Assume listed in /etc/vservers/servername.sh
case $1 in
        /usr/lib/heartbeat/send_arp eth1 <ip-addr> <mac-addr> <brdcast-addr>
# this is for the router (may be redunant):
       /usr/lib/heartbeat/send_arp eth1 <ip-addr> <mac-addr> <router ip-addr>

> How do you disable rebootmgr if you are using vserver?
Just disabling the startup-script:
update-rc.d -f rebootmgr remove (debian)

> Does this break other items?
You cannot reboot the vserver from inside.
If you need this feature, you should propably use the
new reboot userspace helper.

> 2.) Your Heartbeat script.
node1 datadisk::drbd0 vserver::<vservername> \

> 3.) Your Sample drbd config.
(I should probably not use protocol B)

resource drbd0 {

  fsckcmd=fsck -p -y

  disk {

  net {

  on node1 {

        # btw, don't do this.
        # did you notice that in this example we have two drbd devices
        # on the same spindle (hda)? performance will be bad. if you
        # use several drbd devices, put them on different spindles;
        # different channels/controllers won't be a bad idea for IDE.


  on node2 {

        # and while we are at it,
        # if drbd throughput is low, please check your disk
        # throughput first. maybe you need to enable DMA? (-> man hdparm)


> Any other changes you had to make to vserver to get this to work.
> I'll go ask on the drbd list for more drbd specific information.
> Thanks.
The heartbeat vserver resource script is just a copy (or symlink) to the
vserver script.

Hope that helps, Thomas
Vserver mailing list

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 Wed 02 Jun 2004 - 09:45:12 BST by hypermail 2.1.3