[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Making system templates

  • To: Jeff Williams <jeffw@xxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Mon, Jun 8, 2009 at 4:37 PM, Jeff Williams <jeffw@xxxxxxxxxxxxxx> 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. 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".



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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.