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] best practices in using shared storage forXENVirtualMach

To: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
Subject: Re: [Xen-users] best practices in using shared storage forXENVirtualMachines and auto-failover?
From: Freddie Cash <fjwcash@xxxxxxxxx>
Date: Thu, 14 Oct 2010 09:09:18 -0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 14 Oct 2010 09:10:37 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=14CROfRVBD/ta7Sdkrl5mNT6i7MGpJEaOs+5h2CwTSs=; b=mYxo2R8MqAuZ4G9uZN6VouQZYvWikiFSVyrDMyLlmqDu6o0GFUqVYXqoX/HoHuc4Ko KUjJEcxzf/7pLu5nsIVQxWzI/6Yn3RGS1pcZ0LiTBSKZF9FeD6+zvAC3+uh8NiKUKgOf KJNGfHrxOPQg9u9hgBHhW+VByYyRE1YLGrsXU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ozPct0a7+RTPtaYFeKtzoxbgoDhTd1R54ewd2vHdM5qiW5yxhJDakfC3+t4tu7pHwx mjwvTVAVOEYof/m/H3d10MhO9517Qkp7y5U9TDlXp2u5y8cIr9cHZmwf0yu+5/xFx7cO uAePXwS59Y+dWyvuUFlWDtoi9d6OwgElBvixo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <64D0546C5EBBD147B75DE133D798665F06A12484@xxxxxxxxxxxxxxxxx>
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: <AANLkTinDO4=ruP+bPcsdc6_hhJpmDZSBs_Es8hTqi81e@xxxxxxxxxxxxxx> <DD177853709B410F8CBF1161674AED50@maindesk> <64D0546C5EBBD147B75DE133D798665F06A12481@xxxxxxxxxxxxxxxxx> <AANLkTikU6qRJvJEjK8K7O3cm6t7gY_tjV8dqyq+32Cwm@xxxxxxxxxxxxxx> <64D0546C5EBBD147B75DE133D798665F06A12484@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Oct 14, 2010 at 8:59 AM, Jeff Sturm <jeff.sturm@xxxxxxxxxx> wrote:
>> -----Original Message-----
>> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
>> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Freddie Cash
>> Sent: Thursday, October 14, 2010 11:38 AM
>> To: xen-users
>> Subject: Re: [Xen-users] best practices in using shared storage 
>> forXENVirtualMachines
>> and auto-failover?
>>
>> > You don't need a clustered filesystem.  You don't need a shared
>> > filesystem at all.  Just partition your shared block storage (with a
>> > clustered logical volume manager if needed) and use a logical volume
>> > for each domU image.
>>
>> Would you run the iSCSI initiator in the host and attach the block device to 
>> the guest?
>> Or would you run the iSCSI initiator in the guest?
>
> I like to do the former.  That makes the guest easier--you don't have to 
> figure out things like modifying initrd to do boot-from-SAN.
>
>> How does the migration from one host machine to another work with iSCSI?
>
> No different than migration with any other shared storage.  Just make sure 
> each dom0 has a working initiator, and is logged into the appropriate 
> targets.  If your SAN has ACLs, you'll need to allow access from every 
> possible dom0.

So how does the migration work?  This is the part that is still
tripping me up.  :)

You have HostA configured with the iSCSI initiator, with VM1 using the
block device for storage, running all happily.

Then you tell VM1 to migrate to HostB.

Does HostB already have the iSCSI initiator running?  Does it get
started when the migration starts?  What happens to the initiator on
HostA?

I understand how it works with an NFS share and a disk image file.
It's the whole "exported block device on the network" bit that's
messing me up.

-- 
Freddie Cash
fjwcash@xxxxxxxxx

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