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 with virt-manager & virt-install problems/

To: Pascal <ml@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Install guest with virt-manager & virt-install problems/questions
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Sat, 09 Jun 2007 00:05:43 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Jun 2007 16:00:52 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=oewXMIFWKKgwxkGCE2VcysBKd9TEneJq0YdlbCU+PKdgkmzYYv5JHWW6MoiQVHwJ524iyCFhY5D6TWzuWKSIcXhgG7+WbBM1ZSCsprqJdu4fk9RAVmukTws2TODp9oyAbc+xl2ptyc3x8wPbs4YBDc9Wcu7n5FAcdU1xS+JlEP4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=fNwJGCUnAYsQNuk03iV24FKatYGQSzR8BWrru5rl5nXQ9kXgbQvdsIqtAyMP6lp6r1oVe1qIXDdBfgBsuqceVxzRh9KQRSp/Pw5nl9JEqNg4jFYUivB90vC9vxICL8F4uMVkcuERIbXJYSDxlWm75yOezAUCwKcZ9N9cmtKYkrA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4669B8C6.7050205@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4669B8C6.7050205@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Pascal wrote:
Hello,

We have xen installed and configured on centos5
The dom0 is working fine

We try to setup a centos 4.5 guest

To do this we've tried virt-manager and virt-install.

-1- Virt-manager
Everything is ok, the vnc show the domU console.
We define an install using a LVM partition /dev/volgrp01/xen01

Ok, the OS install process begin. And we setup it like this

a) We setup the TCP/IP
ip : 82.10.10.243
netmask : 255.255.255.248
gateway : 82.10.10.246
dns : 192.x.x.x.20

b) Partition
It alert us we use the xvda1 partition.
We accept to delete it and create a default partition structure
So it create a default parition for this OS (futur guest) with /boot and LVM / /swap

c) Packages
we choose the packages to be installed (minimum server)


And after this we have the message telling "check packages ...." and the console freeeze here !

So my question is, do you know why the virt-manager freeze ?

So we try with virt-install


-2- Virt-install

With virt-install we can't choose a partition but we have to define a disk path !
So we defined /virt/xen01/xen01.img

We then have the OS text install !

We setup things as before (IP public, partition, packages)

Miracle it works !


Is there a way to use the virt-install but install the guest on a LVM partition and give to the guest a LVM swap partition ? Our idea is to create a logicalvolume for every guest to be able to resize the volume if the guest need more space ?
How could we do this with virt-install ?
Or, is it possible to change the size of the disk image ?

For info here is our xen config file

# Automatically generated xen config file
name = "xen01"
memory = "512"
disk = [ 'tap:aio:/virt/xen01/xen01,xvda,w', ]
vif = [ 'mac=00:16:3e:16:98:ba, bridge=xenbr0', ]

uuid = "4d922dc6-b42b-f063-7969-ebac29728659# Automatically generated xen config file
name = "xen01"
memory = "512"
disk = [ 'tap:aio:/virt/xen01/xen01,xvda,w', ]
vif = [ 'mac=00:16:3e:16:98:ba, bridge=xenbr0', ]

uuid = "xxx"
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot   = 'restart'
on_crash    = 'restart'


And finally, we want to parameter (set) the content of this guest as our "default" guest content for this OS guest Then we'd like to use it to create new guest without having to do an OS Install
What is the best solution to do this ?
How could we copy the content of this guest to a new guest ?
Not sure why the virt-manager freezes, but I've noticed that the RHEL 5 or CentOS 5 installers are RAM pigs. They seem to not work well unless you assign roughly 512 Meg of RAM at install time (and scale it back only later, if necessary).

Also, the virt-manager violates a number of the rules from Eric Raymond's famous rant on open source GUI's. It lacks options available to the text interface, like setting the MAC address. And the silly thing won't accept domain names with dashes in it!

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

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