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

RE: [Xen-API] how to switch on API on XCP



Hi Olivier,

By default XCP is listening on port 443 of its management interface for 
XMLRPC/HTTPS. There's nothing else you need to activate.

On another machine try firing up a python toplevel and typing:

$ python
Python 2.5.2 (r252:60911, Jul 22 2009, 15:35:03) 
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlrpclib
>>> x = xmlrpclib.Server("https://myXCPaddress";)
>>> session = x.session.login_with_password("root", "password")
>>> session
{'Status': 'Success', 'Value': 'OpaqueRef:46c4dcd9-ab8e-8e04-51a2-0f5a3a0792bd'}
>>>

Cheers,
Dave

> -----Original Message-----
> From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Olivier LAMBERT
> Sent: 25 February 2010 13:35
> To: xen-api@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-API] how to switch on API on XCP
> 
> Hello,
> 
> After my first attempt (which is successful) to install XCP, I've got
> a question. With standalone Xen, in order to activate API, you just
> need to uncomment this in xend-config.sxp :
> (xen-api-server ((9363 unix)))
> 
> But, for XCP, what can I do to activate the API server ?
> 
> 
> Regards,
> 
> 
> Olivier
> XO Project
> http://xen-orchestra.com
> 
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

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