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] Shared SAN disk LUN between 2 servers and migration prob

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Shared SAN disk LUN between 2 servers and migration problem
From: George Rushby <george@xxxxxxxxxxxxxx>
Date: Thu, 16 Oct 2008 10:48:28 +0200
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Thu, 16 Oct 2008 01:49:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OF31C40FAE.D7C8EE82-ONC22574E4.002B028F-C22574E4.002C639F@xxxxxxxx>
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>
References: <OF31C40FAE.D7C8EE82-ONC22574E4.002B028F-C22574E4.002C639F@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckvZbiZOOnscW9YTwCDjBX1P1t29QABh34Q
Thread-topic: [Xen-users] Shared SAN disk LUN between 2 servers and migration problem

You are connecting to the same volume with at least 2 servers. This will cause your files system to eventually corrupt. The array has no knowledge of your operating system at this level you should think of a volume as a disk drive. If you are not using a cluster you must restrict access to the volume to only one server. Once you connect to the volume you share the volume through the server. Most people will set up a server with 2 NIC's one to connect to the iscsi vlan setup for the array and the other is on the public vlan. This way you separate your traffic and are able to share the data on the volume.

 

You should also look in GFS

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Pekka.Panula@xxxxxxxx
Sent: 16 October 2008 10:05 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Shared SAN disk LUN between 2 servers and migration problem

 


HI

Dom0 is CentOS 5.2, 64-bit, Xen version 3.2.1 and 3.2.2.

I got Fiber SAN disk system and 2 servers and i am making shared LUN available to both servers. Then i got multipath layer running on both Dom0s and so Xen is seeing device-mapper file, instead of two /dev/sdX devices, then i have setup Xen domU (HVM Windows 2003) using /dev/mapper/sharedLUN as physical storage to my windows server.

Do i need one more layer to setup migration working? It seems now that if i migrate between servers i get filesystem corruptions.

Perhaps some sort of cache on Linux that it not written to disk system yet is causing this and when server is migrated device state is not same on target servers multipath device, eg. some part of write operation is not written to shared lun device so target Xen dont have complete state.

Whats the best way so cache problem do not occur, eg. both multipath devices has same state on both servers, i am not wanting to duplicate data and use anything separate cluster file system,  so is there some sort of system how to get this problem fixed?

Terveisin/Regards,
  Pekka Panula, Net Servant Oy



NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users