Christian Reiter
2007-Apr-12 18:46 UTC
[Fedora-xen] Cluster Filesystem like VMware''s VMFS?
Daniel P. Berrange
2007-Apr-12 18:53 UTC
Re: [Fedora-xen] Cluster Filesystem like VMware''s VMFS?
On Thu, Apr 12, 2007 at 08:46:26PM +0200, Christian Reiter wrote:> Hi! > > Is there any kind of cluster filesystem for use with xen available? > I think of the following: > > I want to have on big SAN LUN presented to all of my dom0 Machines. > If one of the dom0 fails i can easily restart the domU on another dom0 > Machine > without having to represent the SAN-LUNs from the failed box to the > remaining > working boxes. > > VMware provides VMFS as solution. Is there anything comparable for Xen?Any regular Linux cluster filesystem will do the job. eg GFS, or OCFS2 No need for anything Xen specific. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
Christian Reiter
2007-Apr-12 19:03 UTC
Re: [Fedora-xen] Cluster Filesystem like VMware''s VMFS?
Andrew Cathrow
2007-Apr-12 23:12 UTC
Re: [Fedora-xen] Cluster Filesystem like VMware''s VMFS?
On Thu, 2007-04-12 at 21:03 +0200, Christian Reiter wrote:> Hi Dan! > > Any regular Linux cluster filesystem will do the job. eg GFS, or OCFS2 > > No need for anything Xen specific. > > > > > Is the Number of domU-Images limited or can i have as much as i need? > There is something in the back of my mind... > > BTW: > Is there any ClusterFS usable with Fedora out of the Box (RPM)?GFS2 is included in the FC6 kernel.> > How do i migrate my raw-partition stored domUs into file-stored domUs? > At this time i have one SAN LUN for every domU (/dev/sdb, /dev/sdc, ...) >You can just use dd to copy the files dd if=/dev/sdb of=/var/lib/xen/images/mydisk.img Make sure you use "tap:aio:" rather that "file:" for the syntax in the xen guest config file> > Mit freundlichen Grüßen, /// Kind Regards, > Christian Reiter > > > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen-- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow@redhat.com --=-V3QX/Qlnlj3MwwH7TFJG Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.0"> </HEAD> <BODY> <BR> On Thu, 2007-04-12 at 21:03 +0200, Christian Reiter wrote: <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#000000">Hi Dan!</FONT> <FONT COLOR="#000000">> Any regular Linux cluster filesystem will do the job. eg GFS, or OCFS2</FONT> <FONT COLOR="#000000">> No need for anything Xen specific.</FONT> <FONT COLOR="#000000">></FONT> <FONT COLOR="#000000">> </FONT> <FONT COLOR="#000000">Is the Number of domU-Images limited or can i have as much as i need?</FONT> <FONT COLOR="#000000">There is something in the back of my mind...</FONT> <FONT COLOR="#000000">BTW:</FONT> <FONT COLOR="#000000">Is there any ClusterFS usable with Fedora out of the Box (RPM)?</FONT> </PRE> </BLOCKQUOTE> GFS2 is included in the FC6 kernel.<BR> <BR> <BR> <BR> <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#000000">How do i migrate my raw-partition stored domUs into file-stored domUs?</FONT> <FONT COLOR="#000000">At this time i have one SAN LUN for every domU (/dev/sdb, /dev/sdc, ...)</FONT> </PRE> </BLOCKQUOTE> <BR> You can just use dd to copy the files<BR> dd if=/dev/sdb of=/var/lib/xen/images/mydisk.img<BR> <BR> Make sure you use "tap:aio:" rather that "file:" for the syntax in the xen guest config file<BR> <BR> <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#000000">Mit freundlichen Grüßen, /// Kind Regards,</FONT> <FONT COLOR="#000000"> Christian Reiter</FONT> <FONT COLOR="#000000">--</FONT> <FONT COLOR="#000000">Fedora-xen mailing list</FONT> <FONT COLOR="#000000"><A HREF="mailto:Fedora-xen@redhat.com">Fedora-xen@redhat.com</A></FONT> <FONT COLOR="#000000"><A HREF="https://www.redhat.com/mailman/listinfo/fedora-xen">https://www.redhat.com/mailman/listinfo/fedora-xen</A></FONT> </PRE> </BLOCKQUOTE> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <PRE> -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office <A HREF="mailto:acathrow@redhat.com">acathrow@redhat.com</A> </PRE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </BODY> </HTML> --=-V3QX/Qlnlj3MwwH7TFJG--
Pasi Kärkkäinen
2007-Apr-13 07:37 UTC
Re: [Fedora-xen] Cluster Filesystem like VMware''s VMFS?
On Thu, Apr 12, 2007 at 07:12:56PM -0400, Andrew Cathrow wrote:> > On Thu, 2007-04-12 at 21:03 +0200, Christian Reiter wrote: > > > Hi Dan! > > > Any regular Linux cluster filesystem will do the job. eg GFS, or OCFS2 > > > No need for anything Xen specific. > > > > > > > > Is the Number of domU-Images limited or can i have as much as i need? > > There is something in the back of my mind... > > > > BTW: > > Is there any ClusterFS usable with Fedora out of the Box (RPM)? > > GFS2 is included in the FC6 kernel. >Should you use GFS directly on SAN LUN, or CLVM on SAN LUN, and then GFS on top of CLVM? Or even only CLVM for domU disks.. There seems to be no clear recommendation about that. I think CLVM only would be the most efficient way.. Filesystem (GFS) is more complex than just volume manager? -- Pasi