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-api

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

The XCP host will have a self-signed certificate by default, so you probably 
want to check that signature verification is off in the SSL client (or install 
a proper certificate) to get it to work correctly.

-anil

On 25 Feb 2010, at 13:55, Olivier LAMBERT wrote:

> Thanks, finally it works on port 80 (need to check why with 443 the
> connection is reset by peer).
> 
> So, I can see all templates in Xen Orchestra ! Wow, there is lots of domUs !
> 
> Olivier
> XO Project
> http://xen-orchestra.com
> 
> On Thu, Feb 25, 2010 at 2:43 PM, Dave Scott <Dave.Scott@xxxxxxxxxxxxx> wrote:
>> 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
> 


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

<Prev in Thread] Current Thread [Next in Thread>