[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, Gerry Reno <greno@xxxxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Fri, 1 Jan 2010 11:52:59 -0800 (PST)
  • Cc:
  • Delivery-date: Fri, 01 Jan 2010 11:53:47 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=cPmem0bhYLR3DGJKTvjneTseVQ6XGXXshQrhAggSk0gX79aafdHoiHwFPtEHh/wwrbDWLdjJZpw2HzvcXucS+cBBbLhsan8gxDI/rcLggCESvdf+6EZs7otN3N70OvPUNIPWIpfjHypTeWR7yea+IBq/UCc+rqOqk9ec+M65CD0=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.