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] Re: upgrade leny-squeeze, xen3.2-xen4.0, what's wrong?

To: Matt Richardson <shortpath@xxxxxxxxx>
Subject: Re: [Xen-users] Re: upgrade leny-squeeze, xen3.2-xen4.0, what's wrong?
From: Mauro <mrsanna1@xxxxxxxxx>
Date: Fri, 11 Feb 2011 21:40:02 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Henrik Langos <hlangos-xen@xxxxxxxxxxxxxx>
Delivery-date: Fri, 11 Feb 2011 13:42:12 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Qw+Wl7514EeNxzv+1/p3q7VmGIlSAsHKVSuY0QFFMeM=; b=SS4ZhbrrTX9OgE6/IFECbwGL4Eu0LHRvQnn03Uur/n16bSrRu4pIn6BtWcKoXwC9Kz cbr0Cu7ZU2Booa+AAetw/YSREEB0Zkzd5TbwOonsYVLDVhs7X/Zc1o1z0oCXyZm9zePq kVrfjSfmuhLgcMFQ8J/4khP1JdTj+9UD+ivgs=
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=BDqA4WGSj8tRIveVjbNoar7kqss8CWtXu6sOerYMJo5KzWdhj8NI2LB5GKRP58BH+1 CJI111fT/ufGd9z0kFQTDiiSjBp5IeV2e+9P9Zsr8krPhBANV6Zv770CaiynjCUbKJ/1 OrXaHojyypUbjQ3H7wZkzwOdIR5pJK3QeSwC0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik7KT18Hxzew0id7z=HiMWsQpROC1Ha9pvyvVHx@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: <AANLkTimxV0B2+7=3bAmgWDkgEXC6T1BXBV+f2bCRTTpv@xxxxxxxxxxxxxx> <AANLkTi=e=0Ezd1YjBkLPwrZRFAsyjqP3+kTRKDFqkEg5@xxxxxxxxxxxxxx> <20110211085944.GS3435@xxxxxxxxxxxxxx> <AANLkTinw6iJVRFnidyY8o2_em5EcFN9pRLymocRawmQW@xxxxxxxxxxxxxx> <20110211111214.GV3435@xxxxxxxxxxxxxx> <AANLkTinEhzmMmfwCksSyFaiHj-=FuaaFEVRwgMdbAOj_@xxxxxxxxxxxxxx> <AANLkTik7KT18Hxzew0id7z=HiMWsQpROC1Ha9pvyvVHx@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 11 February 2011 20:08, Matt Richardson <shortpath@xxxxxxxxx> wrote:
> 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.
>
I've tried with ext3 too.
I've upgraded only Dom0 from lenny to squeeze while DomUs are all
fresh installations.

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