Hi, We are planning to upgrade our dom0s from CentOS5.0 to CentOS 5.2, using the xen version shipped with the OS : the RPM versions are respectively 3.0.3-25.el5 and 3.0.3-64.el5_2.1, I don''t know exactly to which version of Xen it corresponds (but it should be further than 3.0.3, right ?). Kernel versions are resp. 2.6.18-8.el5xen and 2.6.18-92.el5xen. As we want to avoid any interruption of service, domUs must be live migrated from the old version to the newer one, and also back if something wrong happens. Live migration from 5.0 to 5.2 is OK, but not 5.2 to 5.0. In this case, all looks like fine on the from dom0, but the domU never appears on the target dom0, with the following error in the logs: [2008-08-20 09:40:57 xend 23799] INFO (XendCheckpoint:239) Reloading memory pages: 0% [2008-08-20 09:41:02 xend 23799] INFO (XendCheckpoint:239) Error when reading region pfn types: 14 [2008-08-20 09:41:02 xend 23799] INFO (XendCheckpoint:239) Restore exit with rc=1 (...) I tried with a CentOS5.0 domU and a CentOS5.2 one : same result. My question is: is it normal, or do I miss something ? Is there a way to make this working ? Thanks for your replies. Alain. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alain Barthe wrote:> Hi, > > We are planning to upgrade our dom0s from CentOS5.0 to CentOS 5.2, > using the xen version shipped with the OS : the RPM versions are > respectively 3.0.3-25.el5 and 3.0.3-64.el5_2.1, I don''t know exactly > to which version of Xen it corresponds (but it should be further than > 3.0.3, right ?).Hypervisor is at 3.1.2. Don''t believe the numbers in the rpms.> Kernel versions are resp. 2.6.18-8.el5xen and 2.6.18-92.el5xen. > > As we want to avoid any interruption of service, domUs must be live > migrated from the old version to the newer one, and also back if > something wrong happens. > > Live migration from 5.0 to 5.2 is OK, but not 5.2 to 5.0. In this > case, all looks like fine on the from dom0, but the domU never appears > on the target dom0, with the following error in the logs: > > [2008-08-20 09:40:57 xend 23799] INFO (XendCheckpoint:239) Reloading > memory pages: 0% > [2008-08-20 09:41:02 xend 23799] INFO (XendCheckpoint:239) Error when > reading region pfn types: 14 > [2008-08-20 09:41:02 xend 23799] INFO (XendCheckpoint:239) Restore > exit with rc=1 > (...) > > I tried with a CentOS5.0 domU and a CentOS5.2 one : same result. > > My question is: is it normal, or do I miss something ? Is there a way > to make this working ? > > Thanks for your replies. > > Alain. > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2008/8/20 Alain Barthe <ab266061@gmail.com>> Live migration from 5.0 to 5.2 is OK, but not 5.2 to 5.0. In this case, all > looks like fine on the from dom0, but the domU never appears on the target > dom0, with the following error in the logs: > > [2008-08-20 09:40:57 xend 23799] INFO (XendCheckpoint:239) Reloading memory > pages: 0% > [2008-08-20 09:41:02 xend 23799] INFO (XendCheckpoint:239) Error when > reading region pfn types: 14 > [2008-08-20 09:41:02 xend 23799] INFO (XendCheckpoint:239) Restore exit > with rc=1 > (...) >Thanks for the information, Sadique. Concerning my problem, I tried to save the domU from a dom0 to a shared location, then restore it on the other dom0. I have exactly the same behaviour, same error. Should I understand that the way the memory is saved on COS 5.0 is not compatible with the one on COS5.2 ? Thanks for your replies. Alain. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sadique Puthen
2008-Aug-20 18:12 UTC
Re: [Xen-users] Re: Upgrading xen from CentOS 5.0 to 5.2
Alain Barthe wrote:> 2008/8/20 Alain Barthe <ab266061@gmail.com <mailto:ab266061@gmail.com>> > > Live migration from 5.0 to 5.2 is OK, but not 5.2 to 5.0. In this > case, all looks like fine on the from dom0, but the domU never > appears on the target dom0, with the following error in the logs: > > [2008-08-20 09:40:57 xend 23799] INFO (XendCheckpoint:239) > Reloading memory pages: 0% > [2008-08-20 09:41:02 xend 23799] INFO (XendCheckpoint:239) Error > when reading region pfn types: 14 > [2008-08-20 09:41:02 xend 23799] INFO (XendCheckpoint:239) Restore > exit with rc=1 > (...) > > Thanks for the information, Sadique. > > Concerning my problem, I tried to save the domU from a dom0 to a > shared location, then restore it on the other dom0. I have exactly the > same behaviour, same error.I don''t have any idea about these problems. Ideally you should be able to migrate back to lower minor versions provided that the major version remains the same. ie, 5.2 -> 5.0. I am just wondering what is preventing you from updating/upgrading the COS 5.0 system directly to 5.2 as vendors of these operating systems provide 99% guarantee not to break anything through such updates. --Sadique> > Should I understand that the way the memory is saved on COS 5.0 is not > compatible with the one on COS5.2 ? > > Thanks for your replies. > > Alain. > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alain Barthe
2008-Aug-21 07:51 UTC
Re: [Xen-users] Re: Upgrading xen from CentOS 5.0 to 5.2
2008/8/20 Sadique Puthen <sputhenp@redhat.com>> I don''t have any idea about these problems. Ideally you should be able to > migrate back to lower minor versions provided that the major version remains > the same. ie, 5.2 -> 5.0. > > I am just wondering what is preventing you from updating/upgrading the COS > 5.0 system directly to 5.2 as vendors of these operating systems provide 99% > guarantee not to break anything through such updates.Nothing prevent us from upgrading our dom0 to CentOS5.2. We simply want to plan this upgrade so that no domU has to be shut down. The fact a domU can or can not be live migrated from the new version to the old one is important for this plan. Thanks.> > > --Sadique > > >> Should I understand that the way the memory is saved on COS 5.0 is not >> compatible with the one on COS5.2 ? >> >> Thanks for your replies. >> >> Alain. >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2008-Aug-21 22:25 UTC
Re: [Xen-users] Re: Upgrading xen from CentOS 5.0 to 5.2
On Thursday 21 August 2008, Alain Barthe wrote:> 2008/8/20 Sadique Puthen <sputhenp@redhat.com> > > > I don''t have any idea about these problems. Ideally you should be able to > > migrate back to lower minor versions provided that the major version > > remains the same. ie, 5.2 -> 5.0. > > > > I am just wondering what is preventing you from updating/upgrading the > > COS 5.0 system directly to 5.2 as vendors of these operating systems > > provide 99% guarantee not to break anything through such updates. > > Nothing prevent us from upgrading our dom0 to CentOS5.2. We simply want to > plan this upgrade so that no domU has to be shut down. The fact a domU can > or can not be live migrated from the new version to the old one is > important for this plan.Alain, I can see your problem. I am not sure that the save-restore / live migration protocol is guaranteed to stay the same between Xen versions. Certainly a typical Xen deployment uses the same hypervisor / tools version on all the dom0 systems. I can absolutely see why the ability to live migrate to a different version would be useful like this. I couldn''t guarantee that it''s *expected* to work, though (although I can''t say for sure that it isn''t, sorry). Cheers, Mark> Thanks. > > > --Sadique > > > >> Should I understand that the way the memory is saved on COS 5.0 is not > >> compatible with the one on COS5.2 ? > >> > >> Thanks for your replies. > >> > >> Alain. > >> ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@lists.xensource.com > >> http://lists.xensource.com/xen-users-- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alain Barthe
2008-Aug-22 07:11 UTC
Re: [Xen-users] Re: Upgrading xen from CentOS 5.0 to 5.2
2008/8/22 Mark Williamson <mark.williamson@cl.cam.ac.uk>> Alain, > > I can see your problem. I am not sure that the save-restore / live > migration > protocol is guaranteed to stay the same between Xen versions. Certainly a > typical Xen deployment uses the same hypervisor / tools version on all the > dom0 systems. > > I can absolutely see why the ability to live migrate to a different version > would be useful like this. I couldn''t guarantee that it''s *expected* to > work, though (although I can''t say for sure that it isn''t, sorry). > > Cheers, > MarkThanks very much, Mark. That is the answer I expected for. Kind regards. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alan Murrell
2008-Aug-25 04:29 UTC
Re: [Xen-users] Re: Upgrading xen from CentOS 5.0 to 5.2
On Wednesday 20 August 2008 11:12:05 Sadique Puthen wrote:> I am just wondering what is preventing you from updating/upgrading the > COS 5.0 system directly to 5.2 as vendors of these operating systems > provide 99% guarantee not to break anything through such updates.I am wondering the same thing; the Xen versions shouldn''t be *that* different, should they...? -Alan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2008-08-25 04:29, Alan Murrell wrote:> On Wednesday 20 August 2008 11:12:05 Sadique Puthen wrote: >> I am just wondering what is preventing you from updating/upgrading the >> COS 5.0 system directly to 5.2 as vendors of these operating systems >> provide 99% guarantee not to break anything through such updates. > > I am wondering the same thing; the Xen versions shouldn''t be *that* different, > should they...?Moreover, the dot releases for Red Hat derivatives like CentOS aren''t really "versions". They just represent checkpoints for collections of patches from the base release. If he isn''t running "5.2", he isn''t patched. And if he''s patched, he''s already running 5.2. -- Jefferson Ogata : Internetworker, Antibozo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alain Barthe
2008-Aug-25 09:37 UTC
Re: [Xen-users] Re: Upgrading xen from CentOS 5.0 to 5.2
2008/8/25 Alan Murrell <lists@murrell.ca>> On Wednesday 20 August 2008 11:12:05 Sadique Puthen wrote: > > I am just wondering what is preventing you from updating/upgrading the > > COS 5.0 system directly to 5.2 as vendors of these operating systems > > provide 99% guarantee not to break anything through such updates. > > I am wondering the same thing; the Xen versions shouldn''t be *that* > different, > should they...?The Xen versions are not *that* different as they can run the same domU without any problem. The original question concerned the ability to live migrate a domU from one xen version to another one on the same hardware. The answer is a priori no, and it is not surprising : as I know, no other product is able to do that (I don''t think VMWare does it). But as Xen is the greatest, I hoped it can do that.> > > -Alan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users