[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] virsh -c xen:/// list: = Connection refused
Gerry Reno wrote: Boris Derzhavets wrote:My base distro on this machine is Ubuntu 9.10 Server. And I did pretty much the same thing for it as you did for F12. I built debs for Xen 3.4.1 and installed themWhat is your base distro ?You should not have problems with Xen 3.4.2 , Libvirt 0.7.1-15 on top of F12 andrecent JF's 2.6.31.6 pvops kernel. Activate rpmbuild via:- |# yum install transfig texi2html libaio-devel dev86 glibc-devel.i686 e2fsprogs-devel gitk mkinitrd| Build Xen rpms | # rpm -iv xen-3.4.1-5.fc13.src.rpm In mean time: # ||rpm -iv xen-3.4.2-2.fc13.src.rpm| |# cd rpmbuild/SPEC # rpmbuild -ba ./xen.spec # cd ../RPMS/x86_64 | Install Xen Hypervisor & tools ( rpms names and number would obviously changed for 3.4.2-2) || |[root@fedora12sda x86_64]# cat inst.sh yum install xen-3.4.1-5.fc12.x86_64..rpm \ xen-debuginfo-3.4.1-5.fc12.x86_64.rpm \ xen-devel-3.4.1-5.fc12.x86_64.rpm \ xen-doc-3.4.1-5.fc12.x86_64.rpm \ xen-hypervisor-3.4.1-5.fc12.x86_64.rpm \ xen-libs-3.4.1-5.fc12.x86_64.rpm \ xen-runtime-3.4.1-5.fc12.x86_64.rpm | Install Libvirt | # yum install libvirt libvirt-python python-virtinst \ virt-manager virt-viewer| Boris. P.S. Don't touch /etc/fstab. xenfs be would mounted automatically --- On *Fri, 1/1/10, Gerry Reno /<greno@xxxxxxxxxxx>/* wrote: From: Gerry Reno <greno@xxxxxxxxxxx> Subject: [Xen-users] virsh -c xen:/// list: = Connection refused To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx> Date: Friday, January 1, 2010, 2:27 PM I'm running the 2.6.31.6 pv_ops dom0 kernel, libvirt 0.7.0 and Xen 3.4.1.When I try connecting to the Xen hypervisor using virsh it gives me a"Connection refused": root@grp-01-23-02:~# xm listName ID Mem VCPUs StateTime(s)Domain-0 0 1020 4 r-----858.3 root@grp-01-23-02:~# virsh -c xen:/// list Connecting to uri: xen:/// error: unable to connect to 'localhost:8000': Connection refused error: failed to connect to the hypervisor How can I get virsh to connect with Xen? Also, this machine had KVM kernel originally. So are there some configuration changes needed to support xen? -Gerry _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx </mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxxx> http://lists.xensource.com/xen-users More specifically I used prevu to rebuild debian Xen 3.4.1 for ubuntu. , custom built the JF pv_ops dom0 kernel and installed it. Libvirt was already installed at version 0.7.0 so I didn't touch it. libvirt had worked fine for a few test KVM guests. But now I want the whole machine dedicated to Xen guests but I'd still like to use libvirt to manage the guests. So how do I get 'virsh' to default to the xen:/// hypervisor and also how do I get it to connect to it? There's nothing running on port 8000. So this is a mystery.-Gerry _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |