Weblog entry #12 for eric

Xen dom0 Sarge to Etch upgrade
Posted by eric on Mon 30 Apr 2007 at 10:49
Hi!

Has anyone upgraded a Xen dom0 from Sarge to Etch? and got some interesting information about this upgrade?

 

Comments on this Entry

Posted by Steve (62.30.xx.xx) on Tue 1 May 2007 at 22:28
[ Send Message | View Steve's Scratchpad | View Weblogs ]

I will be updating my Xen hosting machine tomorrow .. if there are any gotchas I'll let you know!

Steve

[ Parent | Reply to this comment ]

Posted by peterhoeg (193.163.xx.xx) on Wed 2 May 2007 at 11:32
[ Send Message ]
I upgraded my dom0 from sarge (with a few extra packages from backports.org) to etch and it was completely painless.

I had to review a number of configuration files, but otherwise it was all ok.

[ Parent | Reply to this comment ]

Posted by eric (194.2.xx.xx) on Thu 3 May 2007 at 09:32
[ Send Message | View Weblogs ]
I have finally migrated a minor (i.e. not critical) Xen server. No real problems, just minor ones :
  • the migration installed the xen-hypervisor package with PAE installed. I thought PAE was for high-memory systems, so I removed it and installed the non-PAE one. Xen never boot, complaining about PAE not on Xen, but on dom0. I didn't search a lot about this problem, but the reinstallation of the package solved it
  • domUs can't boot because of the vmlinuz and initrd versions specified in their conf files!! easily solved :)
  • don't forget to enable your network in the Xen configuration file ;-)

So, apart from 'custom' errors, no real problems, I just followed the guidelines from the debian.org site. Now, I can work on another Xen dom0 migration, and on my domU sarge installations.

:eric:
http://blog.sietch-tabr.com

[ Parent | Reply to this comment ]

Posted by sytoka (213.103.xx.xx) on Sat 5 May 2007 at 20:25
[ Send Message ]
For the dom0, it's very easy. Just apt-get dist-upgrade with the good source.list. But, after reboot, your domU will not start ! You have to shutdown them, mount their root filesystem in the dom0 and rsync the new /lib/modules... For example, the dom1 use the partition /dev/vg1/vm1-disk
 xm shutdown vm1

 mkdir /tmp/vm1
 mount /dev/vg1/vm1-dis /tmp/vm1

 rsync -av /lib/modules/*xen* /tmp/vm1/lib/modules/

 umout /tmp/vm1

 reboot
I had a problem with the network for two domU because I let the domU on Sarge, without upgrading their /lib/modules, and I just upgrade the dom0 to Etch.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search