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: Jeff Williams <jeffw@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Making system templates
From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Date: Mon, 8 Jun 2009 18:15:18 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Jun 2009 09:16:03 -0700
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:cc:content-type; bh=aaUB0HoQEX/EU+XoxyajU+Qn84h16+Bg5qf3Ycsb1ZA=; b=IlAa7TNsDBnA/qznVmfFyHCoMGc1KSfdicgtOhG39+CashfcuCWMI7Kv2HgFt2xr6A B0LQ+5O0T211gBwzmOhEHlxN4r/nur+ZwLlpFS8VHY+MaKyqKgsJiS3nuJI/6SR/Y4W8 ywpb7EWMJzefQ0xULquvo+ZQIvViYFfNgdTEI=
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; b=X7jQp7FbLoWUUcAVdVG1K9i5kC1ZLczzcyP4MR67Ydx9YOecDaROz0f5qN5+arQUvq rQ20Gt9oVCGDyKCSb5sAHrW1aGZmYTJmgcfs0K6gLaQTLl9hTIvwnJS1YKHnNTtzsvbu yKkqvFxpiy8RPbXy+T6/xMFNtpINEtlNo+PLY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A2D2246.2070607@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Mon, Jun 8, 2009 at 4:37 PM, Jeff Williams <jeffw@xxxxxxxxxxxxxx> wrote:
Hi,

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. I can see 4 alternatives, but all seem to have issues and I'm wondering what works in practice:

1) LVM snapshot

Problem with this is that I don't see any way to change the disk size of the new disk ever. Fast though.

2) New device and block level copy (dd)

Seems to work fine, but the disk needs to be repartitioned and filesystem resized for bigger disks on the new guest. Takes a while.

3) New device and file level copy (cpio)

Can completely change the partition scheme and filesystem. Complex to do from dom0. Slow.

4) virt-clone?

I couldn't get this to work at all. Either the domU was running and I got "ERROR    Domain status must be SHUTOFF" or the domU was shutdown and I got "ERROR    Domain test is not found".

Regards,
Jeff

_______________________________________________

Jeff, take a look @ HyperVM. We use it for this exact same reason. I can setup a cPanel VPS, pre-configure it with all the security tools, etc and then make it a template, ready to deploy for the new client.

Upgrading (more RAM / HDD space / IP's / bandwidth / etc) is a click of a button as well.

--
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users