Re: xmlrpc python and session login

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

 



slbubba@xxxxxxxxxxx wrote:
Folks;

I'm trying to see what's available (working) in xen for remote management.  I thought I'd try something simple using xmlrpclib and python.  I tried establishing a session and logging in but I'm not getting anywhere fast.  It appears that either xend isn't functional in this area or something (perhaps) is not set correctly in the xend-config.sxp file.  Has anyone been able to login to a xen system successfully?  Are any of the facilities in the xend-config file functional with this RH version of xend?


OS:  RHEL5.0 latest update
kernel:  2.6.18-8.1.14.el5xen

RPM's:  xen-libs-3.0.3-25.0.4.el5
            xen-3.0.3-25.0.4.el5
            python-2.4.3-19.el5
-----------
python
import xmlrpclib
xen = xmlrpclib.Server("http://mysys.com:8006";)
asess = xen.session.login_with_password("batman", "monkeypus")

socket.error: (111, 'Connection refused')

Take a look at http://libvirt.org/ Remote management works fine, there are command line tools, and interfaces to many different languages.

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux