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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.1 / Xen 3.2 + DRBD 8.2.4
From: Johan Loubser <johanl@xxxxxxxxx>
Date: Mon, 3 Mar 2008 13:26:38 +0200
Delivery-date: Mon, 03 Mar 2008 03:27:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.64.0802151118100.8621@xxxxxxxxxxxxxxxxxx>
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>
References: <Pine.LNX.4.64.0802151118100.8621@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-09)
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

<Prev in Thread] Current Thread [Next in Thread>