From: David Martin Subject: Re: KVM, iSCSI and High Availability Date: Mon, 28 Mar 2011 11:21:05 -0500 (CDT) Message-ID: <452218633.11421.1301329265221.JavaMail.root@mail1.martinsales.net> References: <130305978.11419.1301329182740.JavaMail.root@mail1.martinsales.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from 64-198-110-146.ip.mcleodusa.net ([64.198.110.146]:34893 "EHLO mail1.martinsales.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754522Ab1C1Q3u (ORCPT ); Mon, 28 Mar 2011 12:29:50 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail1.martinsales.net (Postfix) with ESMTP id 61F4C821D61 for ; Mon, 28 Mar 2011 11:21:13 -0500 (CDT) Received: from mail1.martinsales.net ([127.0.0.1]) by localhost (mail1.martinsales.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id munVE2rjAu3w for ; Mon, 28 Mar 2011 11:21:05 -0500 (CDT) Received: from mail1.martinsales.net (mail1.martinsales.net [192.168.0.8]) by mail1.martinsales.net (Postfix) with ESMTP id 4AA52821D5D for ; Mon, 28 Mar 2011 11:21:05 -0500 (CDT) In-Reply-To: <130305978.11419.1301329182740.JavaMail.root@mail1.martinsales.net> Sender: kvm-owner@vger.kernel.org List-ID: ----- Original Message ----- > ----- Original Message ----- > > On 03/25/2011 10:26 PM, Marcin M. Jessa wrote: > > > Hi. > > > > > > Over the last several days I've been reading, asking questions, > > > searching the Internet to find a viable HA stack for Ubuntu with > > > KVM > > > virtualization and shared iSCSI storage. And I'm nearly as > > > confused > > > as > > > when I started. > > > > > > Basically I'm trying to build a KVM enviroment with an iSCSI SAN > > > and > > > I'm not quite sure what approach to use for storing the virtual > > > guests. > > > What I understand to get max speed I should install directly to > > > iSCSI > > > exported raw devices instead of backing disks. > > > I'm not sure creating many small LUNs, one for each of the guests > > > is > > > a > > > good idea. > > > Would it be better to create just one big LUN and then use LVM to > > > devide it and assign one "chunk" for each of the guests? > > > In the same setup I would also like to implement some kind of > > > automatic failover so if one of the KVM hosts is down I could > > > automatically move guests over to the other one. Or just perform > > > live > > > migration and move one of the guest over to a different host with > > > spare capacity. > > > What would be the best approach to implement a solution like that? > > > > > > > One LUN per image allows you to implement failover, LVM doesn't (but > > cluster-LVM does). I recommend using one LUN per image; it's much > > simpler. > > > > -- > > error compiling committee.c: too many arguments to function > > > > -- > > To unsubscribe from this list: send the line "unsubscribe kvm" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > CLVM was more complicated initially but is pretty once we got through > that. Having to hack around in the SAN manager and then going to the > hosts to mess with the multipath configs etc gets old fast. However if > your setup is pretty static then I guess it wouldn't matter. Oops for to cc the list