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

Re: [Xen-users] Making system templates


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Tue, 9 Jun 2009 11:04:42 +0700
  • Delivery-date: Mon, 08 Jun 2009 21:05:23 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Tue, Jun 9, 2009 at 7:08 AM, Jeff Williams<jeffw@xxxxxxxxxxxxxx> wrote:
> So to confirm, rather than making /dev/xenvg/domudisk and doing:
>
> disk = ['phy:/dev/xenvg/domudisk,xvda,w']
>
> and partitioning /dev/xenvg/domudisk in the guest, you'd make (for example):
>
> /dev/xenvg/domudisk-root
> /dev/xenvg/domudisk-home
> /dev/xenvg/domudisk-swap
>
> and configure it like:
>
> disk = [
>   'phy:/dev/xenvg/domudisk-root,xvda1,w',
>   'phy:/dev/xenvg/domudisk-home,xvda2,w',
>   'phy:/dev/xenvg/domudisk-swap,xvda3,w'
> ]
>
> Is that right?

That's what I do with templates-based installation.

> The idea had crossed my mind, but all the tools seemed to
> want to do it the other way.

For some tools (like virt-manager), yes. Other tools (like eucalyptus)
seems to use tar.gz. images.
Personally I don't use provisioning tools, but rather doing it all
manually (lvcreate, mkfs, tar xfvz, etc.).

-- 
Fajar

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


 


Rackspace

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