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 and clustering?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] XEN and clustering?
From: Jakov Sosic <jakov.sosic@xxxxxxx>
Date: Sun, 28 Feb 2010 03:06:40 +0100
Delivery-date: Sat, 27 Feb 2010 18:07:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100227130740.GZ2761@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Srce
References: <4B88EEED.40803@xxxxxxx> <20100227130740.GZ2761@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.1
On 02/27/2010 02:07 PM, Pasi Kärkkäinen wrote:
> On Sat, Feb 27, 2010 at 11:07:41AM +0100, Jakov Sosic wrote:
>> Hi.
>>
>> I'm using Xen on RHEL cluster, and I have strange problems. I gave raw
>> volumes from storage to Xen virtual machines. With windows, I have a
>> problem that nodes don't see the volume as same one.... for example:
>>
>> clusternode1# clusvcadm -d vm:winxp
>> clusternode1# dd if=/dev/mapper/winxp of=/node1winxp
>> clusternode2# dd if=/dev/mapper/winxp of=/node2winxp
>> clusternode3# dd if=/dev/mapper/winxp of=/node3winxp
>>
>> When I download these files and diff them, they all three differ.
>>
>> Also, sometimes very strange things happen. For example I download some
>> file into winxp, shut it down, then start it on another node, and file
>> is missing?!?!?!?!
>>
>> Should I use maybe CLVM and not raw volumes from storage? Why is this
>> happening?
>>
>
> What kind of xen disk backend are you using? phy:?
> What kind of storage are you using?
>
> When sharing block devices in a cluster across nodes you need
> to make absolutely sure there's no caching going on in dom0s,
> so that the disk contents are always in-sync.
>
> CLVM only helps with safely managing the LVM metadata,
> not with the actual usage of the volumes.

As far as I've managed to test, CLVM actually does resolve this issue. I
don't know how, but starting xen domU on one node, and stopping it, and
after that doing dd of the volume on three nodes gives me exactly the
same binary images without dropping caches. With purely raw volume, I
was not able to achieve this results.


-- 
|    Jakov Sosic    |    ICQ: 28410271    |   PGP: 0x965CAE2D   |
=================================================================
| start fighting cancer -> http://www.worldcommunitygrid.org/   |

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

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