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] Quorum disk problem

To: Kędziora Marek <Marek.Kedziora@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Quorum disk problem
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 6 Feb 2008 21:43:21 +1100
Delivery-date: Wed, 06 Feb 2008 02:58:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <12E3FCFEFACC6D47A2525F89FB04446D40FEA9@xxxxxxxxxxxxxxxx>
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: <12E3FCFEFACC6D47A2525F89FB04446D40FEA9@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Achj3qTucmymOhy3RgmPER5MtyVaFQEzeB+w
Thread-topic: [Xen-users] Quorum disk problem
> Hi!
> I have a problem setting up cluster of w2k3 servers. My configurations
> looks like this:
> 
> server1: dom0 (centos5): virtual1 (w2k3)
> server2: dom0 (centos5): virtual2 (w2k3)
> 
> I want to make a cluster with two nodes: virtual1 and virtual2.
> I have a quorum disk set up on SAN, both dom0 configures it via HBA
> (qlogic card with HP driver) as scsi /dev/sdb:
> 
> SAN.quorum -> server1 hba (/dev/sdb) -> virtual1
> SAN.quorum -> server2 hba (/dev/sdb) -> virtual2
> 
> Then it is passed as block device to domU with this xen config:
> 
> disk = [ ..<other disks>..., 'phy:/dev/sdb:sdb:w' ]
> 
> Everything would be fine except that changes made to quorum disk
> on active node are not seen after changing active node to the other
> one. It looks like all changes are cached somewhere and active node
> writes to this same disk as it would be two different disks. After
> rebooting both nodes only changes from first active node are written to
> disk.
> 
> Could you please help me in setting up the quorum disk ?

I have suggested on this list previously that I think the qemu code makes use 
of Dom0's buffer cache. This makes the performance look artificially better, 
and has the drawback that data isn't actually written to disk immediately, 
which would give you the symptoms you are seeing.

I haven't had any confirmation of this suggestion from anyone who would know 
for sure though.

You could try using the GPL PV drivers I wrote. If you are using SMP then you'd 
better try the latest pre-release which I can't break easily under SMP (the 
previous version would break and damage your filesystem under SMP :)

http://www.meadowcourt.org/WindowsXenPV-0.7.0-pre2.zip

Best to try it only in an environment that you aren't afraid to break, 
including Dom0 and any other DomU's on the system. That said, I am running this 
version on some semi-production DomU's without any issues.

James


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