刘楚高
2010-Feb-25 03:47 UTC
[Xen-users] older version can not work after new version is installed
Hi, I installed xen on CentOS 5.3 with its own xen packages and built a virtual cluster based on it. Then I installed xen 3.4.2 on the same physical machine, and it works well. However, xend service can not work on the older version. There''s no output after "xend start" and so on. Even "service xend status" output nothing. Any help? Frank -- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Feb-25 04:35 UTC
Re: [Xen-users] older version can not work after new version is installed
On Thu, Feb 25, 2010 at 10:47 AM, 刘楚高 <frank1985876@gmail.com> wrote:> Hi, > > I installed xen on CentOS 5.3 with its own xen packages and built a virtual > cluster based on it. Then I installed xen 3.4.2 on the same physical > machine, and it works well. > However, xend service can not work on the older version. There''s no output > after "xend start" and so on. Even "service xend status" output nothing. > > Any help?xend and hypervisor version must match. You can''t use xend from 3.4.2 for xen hypervisor v 3.1.2. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Feb-25 06:38 UTC
Re: [Xen-users] older version can not work after new version is installed
2010/2/25 刘楚高 <frank1985876@gmail.com>:> I installed xen 3.4.2 by source package and created new initrd img and > vmlinuz for v3.4.2. > So I boot the older version with older initrd img and vmlinuz, and I don''t > think the installation of v3.4.2 would affect the older one. > Am I right?There are several pieces required to have a fully functional Xen dom0 system: - the xen hypervisor (xen.gz) - the dom0 kernel (including initrd) - the xen userland (i.e. xm) You can easily have several versions of hypervisor and dom0 kernel, but usually there''s only one version of xen userland binary. When you install from source, you overwrite the old Centos xen userland. Thus you can''t use the old hypervisor version anymore, as the userland tools doesn''t match. IIRC Debian created a workaround that allows several versions of xen userland to coexist, but this is not in official source, and it''s kinda complicated. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Feb-25 07:16 UTC
Re: [Xen-users] older version can not work after new version is installed
2010/2/25 刘楚高 <frank1985876@gmail.com>:> I see. > > Another question: > Why can not I see the VMs that I created in the older version? The images > are still on the disk. > How can I use them in the new version?what do you mean "can not see the VMs"? Are you using virt-manager? Old version stores domU config on /etc/xen/*, so you should be able to go to the directory and run something like "xm new -f domU_config_file.cfg" you should then be able to see it on virt-manager, or run "xm start domU_name" to start it from command line. See "man xm" -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Feb-25 07:48 UTC
Re: [Xen-users] older version can not work after new version is installed
2010/2/25 刘楚高 <frank1985876@gmail.com>:> With your help, I can see previous VMs from "xm list", however, they can not > run. > "xm start domU" output "Error: Boot loader didn''t return any data!" :-)Did they run previously? Try running pygrub manually. For example, if your domU config file looks like this disk = [ ''file:/z/template/hda.img,hda,w'', ] bootloader="/usr/bin/pygrub" then you can run pygrub -i /z/template/hda.img you should then see the familiar grub menu. After selecting an entry, it should show something like this linux (kernel /var/run/xend/boot/boot_kernel.AeLq6T)(ramdisk /var/run/xend/boot/boot_ramdisk.VYZEAI)(args "ro root=/dev/hda1 ") what is the output of that command on your system? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
刘楚高
2010-Feb-25 09:41 UTC
Fwd: [Xen-users] older version can not work after new version is installed
---------- 已转发邮件 ---------- 发件人: 刘楚高 <frank1985876@gmail.com> 日期: 2010年2月25日 下午2:04 主题: Re: [Xen-users] older version can not work after new version is installed 收件人: "Fajar A. Nugraha" <fajar@fajar.net> I installed xen 3.4.2 by source package and created new initrd img and vmlinuz for v3.4.2. So I boot the older version with older initrd img and vmlinuz, and I don''t think the installation of v3.4.2 would affect the older one. Am I right? 2010/2/25 Fajar A. Nugraha <fajar@fajar.net> On Thu, Feb 25, 2010 at 10:47 AM, 刘楚高 <frank1985876@gmail.com> wrote:> > Hi, > > > > I installed xen on CentOS 5.3 with its own xen packages and built a > virtual > > cluster based on it. Then I installed xen 3.4.2 on the same physical > > machine, and it works well. > > However, xend service can not work on the older version. There''s no > output > > after "xend start" and so on. Even "service xend status" output nothing. > > > > Any help? > > xend and hypervisor version must match. You can''t use xend from 3.4.2 > for xen hypervisor v 3.1.2. > > -- > Fajar >-- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com -- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
刘楚高
2010-Feb-25 09:42 UTC
Fwd: [Xen-users] older version can not work after new version is installed
---------- 已转发邮件 ---------- 发件人: 刘楚高 <frank1985876@gmail.com> 日期: 2010年2月25日 下午2:26 主题: Re: [Xen-users] older version can not work after new version is installed 收件人: "Fajar A. Nugraha" <fajar@fajar.net> Also, I boot the older version with older kernel. 在 2010年2月25日 下午2:04,刘楚高 <frank1985876@gmail.com>写道: I installed xen 3.4.2 by source package and created new initrd img and> vmlinuz for v3.4.2. > So I boot the older version with older initrd img and vmlinuz, and I don''t > think the installation of v3.4.2 would affect the older one. > Am I right? > > 2010/2/25 Fajar A. Nugraha <fajar@fajar.net> > > On Thu, Feb 25, 2010 at 10:47 AM, 刘楚高 <frank1985876@gmail.com> wrote: >> > Hi, >> > >> > I installed xen on CentOS 5.3 with its own xen packages and built a >> virtual >> > cluster based on it. Then I installed xen 3.4.2 on the same physical >> > machine, and it works well. >> > However, xend service can not work on the older version. There''s no >> output >> > after "xend start" and so on. Even "service xend status" output nothing. >> > >> > Any help? >> >> xend and hypervisor version must match. You can''t use xend from 3.4.2 >> for xen hypervisor v 3.1.2. >> >> -- >> Fajar >> > > > > -- > Frank Liu > Blog: http://blog.donews.com/frank777 > Mail: liuyang777@nudt.edu.cn > MSN: frank1985876@hotmail.com >-- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com -- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
刘楚高
2010-Feb-25 09:42 UTC
Fwd: [Xen-users] older version can not work after new version is installed
---------- 已转发邮件 ---------- 发件人: 刘楚高 <frank1985876@gmail.com> 日期: 2010年2月25日 下午2:57 主题: Re: [Xen-users] older version can not work after new version is installed 收件人: "Fajar A. Nugraha" <fajar@fajar.net> I see. Another question: Why can not I see the VMs that I created in the older version? The images are still on the disk. How can I use them in the new version? 在 2010年2月25日 下午2:38,Fajar A. Nugraha <fajar@fajar.net>写道: 2010/2/25 刘楚高 <frank1985876@gmail.com>:> > I installed xen 3.4.2 by source package and created new initrd img and > > vmlinuz for v3.4.2. > > So I boot the older version with older initrd img and vmlinuz, and I > don''t > > think the installation of v3.4.2 would affect the older one. > > Am I right? > > There are several pieces required to have a fully functional Xen dom0 > system: > - the xen hypervisor (xen.gz) > - the dom0 kernel (including initrd) > - the xen userland (i.e. xm) > > You can easily have several versions of hypervisor and dom0 kernel, > but usually there''s only one version of xen userland binary. When you > install from source, you overwrite the old Centos xen userland. Thus > you can''t use the old hypervisor version anymore, as the userland > tools doesn''t match. > > IIRC Debian created a workaround that allows several versions of xen > userland to coexist, but this is not in official source, and it''s > kinda complicated. > > -- > Fajar >-- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com -- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
刘楚高
2010-Feb-25 09:43 UTC
Fwd: [Xen-users] older version can not work after new version is installed
---------- 已转发邮件 ---------- 发件人: 刘楚高 <frank1985876@gmail.com> 日期: 2010年2月25日 下午3:25 主题: Re: [Xen-users] older version can not work after new version is installed 收件人: "Fajar A. Nugraha" <fajar@fajar.net> With your help, I can see previous VMs from "xm list", however, they can not run. "xm start domU" output "Error: Boot loader didn''t return any data!" :-) 在 2010年2月25日 下午3:16,Fajar A. Nugraha <fajar@fajar.net>写道: 2010/2/25 刘楚高 <frank1985876@gmail.com>:> > I see. > > > > Another question: > > Why can not I see the VMs that I created in the older version? The images > > are still on the disk. > > How can I use them in the new version? > > what do you mean "can not see the VMs"? Are you using virt-manager? > Old version stores domU config on /etc/xen/*, so you should be able to > go to the directory and run something like > > "xm new -f domU_config_file.cfg" > > you should then be able to see it on virt-manager, or run "xm start > domU_name" to start it from command line. See "man xm" > > -- > Fajar >-- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com -- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
刘楚高
2010-Feb-25 09:43 UTC
Fwd: [Xen-users] older version can not work after new version is installed
---------- 已转发邮件 ---------- 发件人: 刘楚高 <frank1985876@gmail.com> 日期: 2010年2月25日 下午3:33 主题: Re: [Xen-users] older version can not work after new version is installed 收件人: "Fajar A. Nugraha" <fajar@fajar.net> There is no according kernels and ramdisks in /var/lib/xen which is written in the domU_config file in /etc/xen/, and maybe this is the reason that those VMs could not run. Am I right? How can I create the kernel and ramdisk? 在 2010年2月25日 下午3:25,刘楚高 <frank1985876@gmail.com>写道: With your help, I can see previous VMs from "xm list", however, they can> not run. > "xm start domU" output "Error: Boot loader didn''t return any data!" :-) > > 在 2010年2月25日 下午3:16,Fajar A. Nugraha <fajar@fajar.net>写道: > > 2010/2/25 刘楚高 <frank1985876@gmail.com>: >> > I see. >> > >> > Another question: >> > Why can not I see the VMs that I created in the older version? The >> images >> > are still on the disk. >> > How can I use them in the new version? >> >> what do you mean "can not see the VMs"? Are you using virt-manager? >> Old version stores domU config on /etc/xen/*, so you should be able to >> go to the directory and run something like >> >> "xm new -f domU_config_file.cfg" >> >> you should then be able to see it on virt-manager, or run "xm start >> domU_name" to start it from command line. See "man xm" >> >> -- >> Fajar >> > > > > -- > Frank Liu > Blog: http://blog.donews.com/frank777 > Mail: liuyang777@nudt.edu.cn > MSN: frank1985876@hotmail.com >-- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com -- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
刘楚高
2010-Feb-25 09:44 UTC
Fwd: [Xen-users] older version can not work after new version is installed
---------- 已转发邮件 ---------- 发件人: 刘楚高 <frank1985876@gmail.com> 日期: 2010年2月25日 下午4:10 主题: Re: [Xen-users] older version can not work after new version is installed 收件人: "Fajar A. Nugraha" <fajar@fajar.net> linux (kernel /var/run/xend/boot/boot_kernel.FaABlj)(ramdisk /var/run/xend/boot/boot_ramdisk.PnNols)(args "ro root=/dev/VolGroup00/Vol00 ") what am I going to do next? 在 2010年2月25日 下午3:58,刘楚高 <frank1985876@gmail.com>写道: mine output is similar. then I change the domU_config file, but, the error> is still there > > 在 2010年2月25日 下午3:48,Fajar A. Nugraha <fajar@fajar.net>写道: > > 2010/2/25 刘楚高 <frank1985876@gmail.com>: >> > With your help, I can see previous VMs from "xm list", however, they can >> not >> > run. >> > "xm start domU" output "Error: Boot loader didn''t return any data!" :-) >> >> Did they run previously? >> Try running pygrub manually. For example, if your domU config file >> looks like this >> >> disk = [ >> ''file:/z/template/hda.img,hda,w'', >> ] >> bootloader="/usr/bin/pygrub" >> >> then you can run >> >> pygrub -i /z/template/hda.img >> >> you should then see the familiar grub menu. After selecting an entry, >> it should show something like this >> >> linux (kernel /var/run/xend/boot/boot_kernel.AeLq6T)(ramdisk >> /var/run/xend/boot/boot_ramdisk.VYZEAI)(args "ro root=/dev/hda1 ") >> >> what is the output of that command on your system? >> > > > > -- > Frank Liu > Blog: http://blog.donews.com/frank777 > Mail: liuyang777@nudt.edu.cn > MSN: frank1985876@hotmail.com >-- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com -- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
刘楚高
2010-Feb-25 09:46 UTC
Fwd: [Xen-users] older version can not work after new version is installed
---------- 已转发邮件 ---------- 发件人: 刘楚高 <frank1985876@gmail.com> 日期: 2010年2月25日 下午3:58 主题: Re: [Xen-users] older version can not work after new version is installed 收件人: "Fajar A. Nugraha" <fajar@fajar.net> mine output is similar. then I change the domU_config file, but, the error is still there 在 2010年2月25日 下午3:48,Fajar A. Nugraha <fajar@fajar.net>写道: 2010/2/25 刘楚高 <frank1985876@gmail.com>:> > With your help, I can see previous VMs from "xm list", however, they can > not > > run. > > "xm start domU" output "Error: Boot loader didn''t return any data!" :-) > > Did they run previously? > Try running pygrub manually. For example, if your domU config file > looks like this > > disk = [ > ''file:/z/template/hda.img,hda,w'', > ] > bootloader="/usr/bin/pygrub" > > then you can run > > pygrub -i /z/template/hda.img > > you should then see the familiar grub menu. After selecting an entry, > it should show something like this > > linux (kernel /var/run/xend/boot/boot_kernel.AeLq6T)(ramdisk > /var/run/xend/boot/boot_ramdisk.VYZEAI)(args "ro root=/dev/hda1 ") > > what is the output of that command on your system? >-- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com -- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
刘楚高
2010-Feb-25 10:14 UTC
Re: [Xen-users] older version can not work after new version is installed
I delete the "kernel", "ramdisk" line in the domU config file in /etc/xen, and it works Thank you very much 在 2010年2月25日 下午3:48,Fajar A. Nugraha <fajar@fajar.net>写道:> 2010/2/25 刘楚高 <frank1985876@gmail.com>: > > With your help, I can see previous VMs from "xm list", however, they can > not > > run. > > "xm start domU" output "Error: Boot loader didn''t return any data!" :-) > > Did they run previously? > Try running pygrub manually. For example, if your domU config file > looks like this > > disk = [ > ''file:/z/template/hda.img,hda,w'', > ] > bootloader="/usr/bin/pygrub" > > then you can run > > pygrub -i /z/template/hda.img > > you should then see the familiar grub menu. After selecting an entry, > it should show something like this > > linux (kernel /var/run/xend/boot/boot_kernel.AeLq6T)(ramdisk > /var/run/xend/boot/boot_ramdisk.VYZEAI)(args "ro root=/dev/hda1 ") > > what is the output of that command on your system? >-- Frank Liu Blog: http://blog.donews.com/frank777 Mail: liuyang777@nudt.edu.cn MSN: frank1985876@hotmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users