WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen 3.1 / Xen 3.2 + DRBD 8.2.4

To: Johan Loubser <johanl@xxxxxxxxx>
Subject: Re: [Xen-users] Xen 3.1 / Xen 3.2 + DRBD 8.2.4
From: Serge Dewailly <serge.dewailly@xxxxxxxxx>
Date: Mon, 03 Mar 2008 16:00:07 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Mar 2008 07:00:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080303112638.GA26785@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Adelux - Agence Ouest
References: <Pine.LNX.4.64.0802151118100.8621@xxxxxxxxxxxxxxxxxx> <20080303112638.GA26785@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Icedove 1.5.0.14pre (X11/20071018)
Hi Johan,

Thanks for your response. I'm able to live migrate my virtual machines in full-virt environement using drbd (with some modifications in xm tools, and drbd scripts...).
But the problem here is not "how to configure drbd"...
I'm having, like others, some stability problems (such as kernel panic, out of memory...)

Cheers,
-- 
Serge Dewailly
Société Adelux -  http://www.adelux.fr
Tel : 05.49.49.71.90  ou  09.52.64.65.86
Fax : 05.49.49.71.91


Johan Loubser wrote:
On Fri, Feb 15, 2008 at 11:21:13AM +0200, Kalle wrote:
  
Hi,

Version: 8.2.4 (api:88)
Linux node1 2.6.24.2 #3 SMP Mon Feb 11 16:02:06 EET 2008 i686 GNU/Linux

No problems in syncing.

But performance sucks baaaadly.
Load.avg's up to 200.00 when doing some punisment :))


Regards,
Kalle

Hi all,


It seems that there are problems using Xen Kernel with drbd 8-2.4 without 
tunning parameters...

I have encoutered new problems :
 - Node A failed with a kernel panic
 - When Node A restarted, drbd gone in "out of memory"...
 - I restarted node A in non xen environement (kernel 2.6.23 + drbd 8.0.6)
 - drbd successful synced

Does someone have correct parameters when using Xen Kernel and drbd > 8 ?

It seems that the proble appears when syncing big volumes (for exemple 
virtual machine...)

Cheers,

--
Serge Dewailly


Ralf Schenk wrote:

    Serge Dewailly schrieb:

        Hi Ralf,

        Could you please tell me what kernel version do you use ?
        I'm using a 2.6.18 version.


    Im using the XEN supplied kernel wich is

    "Linux msiserver1 2.6.18.8-xen #3 SMP Fri Jan 18 23:49:47 CET 2008 
x86_64 GNU/Linux"
    
I have 2 debian etch hosts running drbd 8.0.7
Linux  2.6.18-6-xen-vserver-amd64 #1 SMP Sun Feb 10 18:07:50
UTC 2008 x86_64 GNU/Linux
By using the xen aware additions that was included in 8.0.6 i can setup
the xen domu disk as follow.
disk    = [ 'drbd:r0,hda1,w', 'drbd:r1,hda2,w' ]

In drbd setup net{
    allow-two-primaries;
    after-sb-0pri discard-zero-changes;
    after-sb-1pri discard-secondary;
}
This allow clean live-migrations.
This is in 'n para-virt setup.
Thus xen create manage drbd primary/secondary status.

Johan Loubser

  
    My DRBD module shows
    root@msiserver1:~# modinfo drbd
    filename:       /lib/modules/2.6.18.8-xen/kernel/drivers/block/drbd.ko
    alias:          block-major-147-*
    license:        GPL
    description:    drbd - Distributed Replicated Block Device v8.2.4

    author: Philipp Reisner <phil@xxxxxxxxxx>, Lars Ellenberg 
<lars@xxxxxxxxxx>

    srcversion:     6780BBFB69F7B6AC97385B2
    depends:
    vermagic:       2.6.18.8-xen SMP mod_unload gcc-4.0
    parm:           minor_count:Maximum number of drbd devices (1-255) 
(int)
    parm:           allow_oos:DONT USE! (int)
    parm:           enable_faults:int
    parm:           fault_rate:int
    parm:           fault_count:int
    parm:           fault_devs:int
    parm:           trace_level:int
    parm:           trace_type:int
    parm:           trace_devs:int
    parm:           usermode_helper:string



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

    


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

  
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>