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] LVM snapshots to provide HA iSCSI storage

To: "Angel L. Mateo" <amateo@xxxxx>
Subject: Re: [Xen-users] LVM snapshots to provide HA iSCSI storage
From: John Madden <jmadden@xxxxxxxxxxx>
Date: Wed, 10 Feb 2010 10:14:48 -0500
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 10 Feb 2010 07:15:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1265790349.23693.14.camel@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/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: <1265723004.14728.39.camel@xxxxxxxxxxxxxxxxxx> <4B718950.6050405@xxxxxxxxxxx> <1265790349.23693.14.camel@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
I've done this with md mirroring instead of lvm but I haven't gotten to the live migration part. You create and manage the md on dom0 and give that to the domU via phy: mappings.

        Do you have any documentation of this? I could be interested. I am
trying to do it with lvm volumes and dmsetup, but I am getting problems
when the iscsi connection fails.

Not really. It's a standard scsi disk, so you create a VG, put the disk in it, create an LV, and then use mdadm to create the mirror with your local disk. When iSCSI fails, it should fail the same way a SCSI disk would fail if you pulled the cable out of it. My targets are all ietd, so I just turned the service off to test.

John



--
John Madden
Sr UNIX Systems Engineer
Ivy Tech Community College of Indiana
jmadden@xxxxxxxxxxx

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

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