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] Xen Enterprise and templates

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen Enterprise and templates
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 27 Feb 2007 13:43:21 +0000
Cc: "Angel L. Mateo" <amateo@xxxxx>
Delivery-date: Tue, 27 Feb 2007 05:45:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1172577382.19275.35.camel@xxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1172577382.19275.35.camel@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Hi,

Have you tried asking about this on the XenSource customer forums?  Most 
people on this list use the open source Xen and don't know so much about 
XenEnterprise.

Have you tried adding another filesystem section?  You just need to figure out 
what "function" you need to put in there - I'm not sure what's supposed to go 
there for an ordinary storage disk.

Cheers,
Mark

On Tuesday 27 February 2007 11:56, Angel L. Mateo wrote:
> Hello,
>
>       I am trying to use Xen Enterprise (its free version). Until now I have
> no problem, but now I want to create a new virtual machine based in
> debian etch, not debian sarge (the debian version included in xen
> templates). So I am looking for a way to create my own template, but I
> haven't found any documentation about that.
>
>       Looking the files, I have found that templates are stored in a .xgt
> file, that it's a zip file that contains a tar.bz2 for the file system
> and a template.dat file that describes the contents:
>
> (xgt
>   (xgt-version 4)
>   (xgt_restricted 'true')
>   (name 'Debian Sarge Guest Template')
>   (rootfs-type 'ext3')
>   (description 'Debian for XenEnterprise')
>   (distrib debian)
>   (root-vbd sda1)
>
>   (boot_params "quiet")
>
>   (filesystem
>     (uri root.tar.bz2)
>     (function root)
>     (type tar-wholedisk)
>     (vbd sda)
>     (total_size 5368709120)
>     (used_size 455628081)
>   )
>
>   (filesystem
>     (uri 'swap.img')
>     (function swap)
>     (type img)
>     (vbd sdb)
>     (total_size 536870912)
>     (used_size 536870912)
>   )
> )
>
>       I have tried to put a root.tar.bz2 with debian etch contents and then
> create a new etch.xgt with this new tar.bz2 and it works, but the
> problem is that I want to split the image between varios file systems,
> so I could have a /usr and /var partition in the image. So I have tried
> to put more (filesystem ....) entries in the file, but then I can't
> create de VM.
>
>       Is there any documentation explaining how to create my own template?
> How do I have to put varios filesystems in the template.dat file?

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>