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] Making system templates

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Making system templates
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 9 Jun 2009 10:41:29 +0700
Delivery-date: Mon, 08 Jun 2009 20:42:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A2D7F46.7070108@xxxxxxxxxx>
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: <4A2D2246.2070607@xxxxxxxxxxxxxx> <4A2D7F46.7070108@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Jun 9, 2009 at 4:14 AM, Thomas Goirand<thomas@xxxxxxxxxx> wrote:
>> I am wanting to set up a bunch of system templates for my Xen servers,
>> to save me from running some standard package installs and
>> configuration.

> The best way ever is... to NOT use templates or images. Templates gets
> outdated, and soon have loads of package to upgrade. The best way
> (whenever possible, this is not always the case) is to use tools to pull
> and setup packages out of FTP repositories.
>
> In Debian, there is "debootstrap" to build a debian (and many other
> debian based systems) OS in a chroot. There is also yum to bootstrap RPM
> based distributions (previously we were using rpmstrap, but it's not a
> good idea, it gets outdated so fast...).


I work mainly with RHEL, and while it's possible to use kickstart or
"yum --installroot", it's still significantly slower compared to using
tar.gz templates. So what I did is I maintain a set of templates which
are updated regularly using crontab (extract, yum-update, repack).
This way I get up-to-date template which allows domU deployment in 5
minutes or less.

-- 
Fajar

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

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