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 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, Gerry Reno <greno@xxxxxxxxxxx>
Subject: Re: [Xen-users] virsh -c xen:/// list: = Connection refused
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1262375579; bh=o4TEXpFUaWa/hjRWozBwEKPy4vo3mJrmAfmo1hA+rEc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=pZGxl57XEA1j1WI9d/Hsuyw+uLyKddyNiGV/jkczHCnyzdkuWldJymJHQKApNh4o+InagdLVeHsOaz3Gr1o0xaqa1OKlfaTDCa2KDq9NJQPwjje+agRQxHiDy1YVoCzKx/1LEgTZQB8TYrnA5UZBDmCxVjKVFwvPOfTlDxZcLEQ=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B3E4CA1.3040008@xxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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