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/
Home Products Support Community News


[Xen-users] moving LV's devices to a SAN server.

To: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] moving LV's devices to a SAN server.
From: Israel Garcia <igalvarez@xxxxxxxxx>
Date: Fri, 30 Oct 2009 12:00:28 -0500
Delivery-date: Fri, 30 Oct 2009 10:06:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=dBrZk1EsFKqEjhhoj3pzCDS9DT8CI3//ioO2ylyf4GE=; b=UkoPLO6KoSKh+OfACvE3+qWXbximSK/4oJ26peniJEJwUmmgfgX7rZ4uhVzRFGc7MU 7VVbWPmaH/MpoB++L6faMx9LP7xq9HosPhz5cKN9T9QOXUgEiivM03hwA1vemMS0h7Bm lcYgivuXGn3xSjgI6gVOWlPLuxU89CCjeRpBA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jTO7pOseZJA64pHMjaG5i2MTbzz6C2h0IETOaCfVDBdiEL4s9cd/T6Cbkyc4LEEqhU YQyPBiTsx2mnC3v+TFdTkq8NyfcqySYE+sUcrW00JxPebT9Igdw7aEIbYpCGH6wgX4KJ 7x25bhee2tT2ZR0MKxNb8L5QLbO32KFpfuZMA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
First, I've searched the list and couldn't find anything.

This is my scenario:

 - 5 Dom0 lenny servers, usign lvm with a lot of (domU) lv's inside,
domU/0' storage in a local hdd and each server has two ethernet cards
1GB connected through a cisco 3750 swtich.
 - A storage (lenny) server running 6T raid10, big VG (empty for now)
with 6 1GBE NICs, 5 NICs connected by a crossover to every dom0
separately and the other to the cisco switch.

We want:

Move lv's devices from each dom0 to the new VG at the storage (I mean
move every lvm's device),  then export this lv device in the storage
server with vblade/Aoe or iscsi to every dom0, Dom0's storage keeps
local. Then we update every ./etc/xen/domU.cfg to work with the new
device attahed at its dom0. finally xm create domU.cfg to start domU.

I have, untested, a way to move lv's from an old  VG to a newone remote VG:
cat /dev/VG1_dom0/lv1 | ssh  storage "cat > /dev/VG2_storage/lv1"
So,  at the end I should have all lv's devices in the storage server.

final questions:

do you know if it works? I mean if domU starts without problems using
this devices attached?
is there another better way to move several domU's storages to a SAN server?
do you think it's a good idea to use crossovers between dom0-SAN
instead a switch?

I'd appreciate you comments. thanks in advance.

Israel Garcia

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] moving LV's devices to a SAN server., Israel Garcia <=