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] Install guest domains using virt-manager and iso images

To: "Daniel Lam" <daniel@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Install guest domains using virt-manager and iso images
From: "Matthew Law" <matt@xxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Jan 2010 10:19:03 -0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Jan 2010 02:19:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <b16a7c151001050158k15e4f0efw661cc7f287598b77@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: <b16a7c151001050158k15e4f0efw661cc7f287598b77@xxxxxxxxxxxxxx>
Reply-to: matt@xxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.19
On Tue, January 5, 2010 9:58 am, Daniel Lam wrote:
> Hi All,
>
> Hope I'm not too annoying yet..
>
> I have CentOS 5.4 running as Domain 0.
> I can create CentOS guest domains via network using virt-install.
> However that's a bit slow, and I don't want to repeat the
> download process again if I create new guest domains.
>
> So my questions:
>
> - Can I create guest CentOS domains using virt-install
>   and specify a dvd iso image as its installation source?
>
> - If I can, where can I obtain the iso images? Should I
>   just use the standard installation iso images? However
>   I actually tried specifying "cd-rom" as installation source
>   before, hoping that I could create a guest domain
>   using the DVD I already burnt. However it says
>   "Paravirtualized guests cannot install off cdrom media".
>
>
> For the record, I also tried creating guest domains just by
> "xm create" as well, however it threw some errors to me
> when it tries to change the partition table. Not sure why.
> Don't want to spend time on that approach.attachments.

Hi Daniel,

investigate the '--location' parameter to virt-install.  You can specify
an image to load over http, NFS, etc. -many people do it this way.  If you
don't have an external NFS box to hand you can run one from the dom0 if
you have to, although I would suggest you add some iptables rules to
restrict access to it.

IMHO, you shouldn't run anything that you don't absolutely need on the
dom0 - maybe only SSH.  You can always create a small domU to serve VM
images, do DHCP etc. and keep the dom0 being, well, just a dom0! :-)

Hope this helps,

Matt.



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

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