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

Re: [Xen-users] Re: upgrade leny-squeeze, xen3.2-xen4.0, what's wrong?


  • To: Mauro <mrsanna1@xxxxxxxxx>
  • From: Matt Richardson <shortpath@xxxxxxxxx>
  • Date: Fri, 11 Feb 2011 12:08:51 -0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Henrik Langos <hlangos-xen@xxxxxxxxxxxxxx>
  • Delivery-date: Fri, 11 Feb 2011 12:10:08 -0800
  • 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:content-transfer-encoding; b=kxHuxZnuhzzNgjslcCzd588h+ZGaZJlKI0vsNC0RxinZZJ8zYQYqDDpl8kLvB1Hm5a G9LRYoiIU5p/zEqXXpp8PG4RPL+lZU73waZW3O5ezEhj3MgP5R8fbR6JsCPRa5Zg0G32 J2IjTNbtQXTietDXzgW4HYtOuF4CeY7vRwwF0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Fri, Feb 11, 2011 at 3:38 AM, Mauro <mrsanna1@xxxxxxxxx> wrote:
> On 11 February 2011 11:12, Henrik Langos <hlangos-xen@xxxxxxxxxxxxxx> wrote:
>> On Fri, Feb 11, 2011 at 10:04:44AM +0000, Mauro wrote:
<snip>
>>> >
>>> >
>>> >> I've solved using pygrub.
>>> >> So it seems that without pygrub I can't run DomUs?
>>> >
>>> > You shouldn't have to use pygrub for something that simple.
>>> >
>>> > My guess is that there was a lack of communication between the
>>> > maintainers of xen and xen-tools in regard to the default devices.
>>> >
>>>
>>> mail1.cfg:
>>>
>>> bootloader = '/usr/lib/xen-default/bin/pygrub'
>>>
>>> vcpus       = '4'
>>> memory      = '2048'
>>>
>>> #
>>> #  Disk device(s).
>>> #
>>> root        = '/dev/xvda2 ro'
>>> disk        = [
>>>                   'phy:/dev/vg00/mail1-disk,xvda2,w',
>>>                   'phy:/dev/vg00/mail1-swap,xvda1,w',
>>>               ]
>>>
>>>
>>> #
>>> #  Physical volumes
>>> #
>>>
>>>
>>> #
>>> #  Hostname
>>> #
>>> name        = 'mail1'
>>>
>>> #
>>> #  Networking
>>> #
>>> vif         = [ 'ip=172.16.10.154,mac=00:16:3E:01:D7:24' ]
>>>
>>> #
>>> #  Behaviour
>>> #
>>> on_poweroff = 'destroy'
>>> on_reboot   = 'restart'
>>> on_crash    = 'restart
>>>
>>> It's exactly as another DomU that runs with xen 3.2 on a debian lenny 
>>> machine.
>>> The only difference is the bootloader = '/usr/lib/xen-default/bin/pygrub'.
>>

<snip>
>
> Ok, you convinced me to use pygrub.
> I have many doubts on using DomU in a SAN system, but for this I open
> a new thread.
>


I just got my back up xen machine updated to squeeze and started a new
guest on it to test the upgrade procedure for the production machine.
I'm using Dom0's kernel (no pygrub), installed the base system via
debootstrap and I don't have linux-image-2.6.32-5-xen-amd64 installed
on the DomU:

rocket.cfg

#-*- mode: python; -*-
kernel = "/boot/vmlinuz-2.6.32-5-xen-amd64"
ramdisk = "/boot/initrd.img-2.6.32-5-xen-amd64"
memory = 2048
name = "rocket"
vif = ['bridge=xenbr0']
disk = ['phy:/dev/debian1/rocket-root,xvda1,w',
'phy:/dev/debian1/rocket-home,xvda2,w',
'phy:/dev/debian1/rocket-tmp,xvda3,w',
'phy:/dev/debian1/rocket-usr,xvda4,w',
'phy:/dev/debian1/rocket-var,xvda5,w',
'phy:/dev/debian1/rocket-swap,xvda6,w']
ip = "192.168.1.7"
netmask = "255.255.0.0"
gateway = "192.168.1.1"
hostname = "rocket"
root = "/dev/xvda1 ro"
extra = "console=hvc0 xencons=tty clocksource=jiffies"


So the short of it is that I can confirm that the set up works without
pygrub.  However, I noticed that you specified ext4 in the
xen-tools.cfg and I have seen elsewhere that people have had trouble
with the defaults being wrong when file systems other than ext3 are
specified.

-- 
Matt

_______________________________________________
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®.