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] XCP - GFS - ISCSI

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] XCP - GFS - ISCSI
From: menox menox <menox.menox@xxxxxxxxx>
Date: Sun, 17 Jan 2010 11:56:35 +0100
Delivery-date: Sun, 17 Jan 2010 02:57:23 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=0PYrI9jr74ToCI+mT9ph0HY6wq5u7lrbF/nmka8DN4g=; b=LbaHTaW4gqgGwwlDfkmI1r3m4fTcrlpgPf9UrSvPGzmwogyN4BA1q/AlRz0eK2Vs7A TI4DMrPX2YcPH2aH/ew6/A+AmIwQ6+hNIt0xrC9z6k5SdjkWfAC+t15VUcqmTPyvtb1U 2AkIPuSJ/1LT+ClZlNzBIhVc4EgHjLzc5L8aM=
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 :content-type; b=jabyu5bKxlHrMFTSq9qUR94SZxJ6kp/ii4n9hlLnvYVZi5a/4qFJxqg624tKfLzrzg zf8hNKauEjfW07j7CiAZKLvuV8oobX1/IFpCXcHnG55nlRS6sAmmx7aAXzYJKwDW29VT cTf6I0I0FOgvgwxv+md8BHaUsW0tsQxcI3t+M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100115120630.GM17978@xxxxxxxxxxx>
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: <67f1d7c11001140559q6a10c77q53785c1e415e233f@xxxxxxxxxxxxxx> <81A73678E76EA642801C8F2E4823AD2143B8C19496@xxxxxxxxxxxxxxxxxxxxxxxxx> <20100115081432.GG17978@xxxxxxxxxxx> <81A73678E76EA642801C8F2E4823AD2143B8C19499@xxxxxxxxxxxxxxxxxxxxxxxxx> <4B5057FE.90507@xxxxxxxxxxxxx> <20100115120630.GM17978@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
So lvmiscsi is working properly.
I had a problem with ISCSI because XCP doesn't support 4KB block size  only 512B block size .
It would be nice a graphical interface as XenCenter.
Citrix Xenserver 5.5 and XenCenter free software without HA and workload balance.
I guess XCP include this features, but without GUI at the moment.

Menox


2010/1/15 Pasi Kärkkäinen <pasik@xxxxxx>
On Fri, Jan 15, 2010 at 11:56:46AM +0000, Julian Chesterfield wrote:
> Dave Scott wrote:
> >Hi Pasi,
> >
> >[cc:d Julian who is responsible for storage in XCP]
> >
> >
> >>I haven't looked at the XCP code yet, but are there some special
> >>patches for
> >>LVM to make it work in a shared environment on multiple hosts?
> >>
> >>I guess it's not CLVM, since you support snapshots.. so xapi is doing
> >>some coordination of management commands and making sure only one LVM
> >>command is issued at a time?
> >>
> >
> >Julian could describe the detail better than me but my high-level
> >understanding is:
> >
> >* xapi nominates one host to be the 'SR master': all LVM metadata-changing
> >commands are run here
> >
> >* all hosts are allowed to map/unmap LVs so the LVM commands were patched
> >to make absolutely sure they didn't attempt to change any metadata
> >
> >* unless you request a special "raw" LV, vhd metadata is added to the LV:
> >this is how we handle snapshots
> >
> Yep, this is correct. We use XAPI as the "Cluster lock manager"
> essentially. There is a strict notion of ordering of events, and XAPI
> always ensures that there is a single SRMaster for any shared SR. The SR
> master is the only entity that modifies LVM metadata, and it
> strategically refreshes slaves as necessary. Typically slaves only
> operate in an LVM Read-only mode, so the LVM metadata is refreshed when
> a slave needs to access a new logical volume, and the slave is only
> allowed to create device-mapper nodes, never to modify the LVM metadata.
> There are patches to LVM to add an explicit 'master' flag, this ensures
> that non-masters never attempt to repair LVM metadata if ever it is read
> and found to be inconsistent. In practice this would never happen due to
> the way LVM updates its metadata and the fact that we do not allow
> shared Volume Groups that span more than one LUN, however it's an
> important safety catch.
>

Thank you both for answers! This is good explanation of how it works.

> Snapshot and clone support is provided via the VHD layer that resides
> above raw Logical Volumes. i.e. we create VHD Copy-on-write instances in
> the same way as the file-based VHD support (e.g. NFS or local Ext3
> partitions).
>

Oh, so XenServer/XCP doesn't use LVM snapshots at all? That's good to know.

Is there some commandline tool to control the VHD snapshots?

-- Pasi


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>