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

xen-users

[Top] [All Lists]

Re: [Xen-users] virsh -c xen:/// list: = Connection refused

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] virsh -c xen:/// list: = Connection refused
From: Gerry Reno <greno@xxxxxxxxxxx>
Date: 2010年1月01日 15:09:14 -0500
Delivery-date: 2010年1月01日 12:09:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <911848.53600.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <911848.53600.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20070530)
Boris Derzhavets wrote:
What is your base distro ?
You should not have problems with Xen 3.4.2 , Libvirt 0.7.1-15 on top of F12 and
recent 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 list
 Name ID Mem VCPUs State
 Time(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
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 them, 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
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] virsh -c xen:/// list: = Connection refused , Boris Derzhavets
Next by Date: Re: [Xen-users] virsh -c xen:/// list: = Connection refused , Gerry Reno
Previous by Thread: Re: [Xen-users] virsh -c xen:/// list: = Connection refused , Boris Derzhavets
Next by Thread: Re: [Xen-users] virsh -c xen:/// list: = Connection refused , Gerry Reno
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /