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

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


  • To: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
  • From: Olivier LAMBERT <lambert.olivier@xxxxxxxxx>
  • Date: Thu, 25 Feb 2010 14:55:10 +0100
  • Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 25 Feb 2010 05:55:08 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dMAnl9mx6Q7ju1tSH/2UD2C9K/GS8sVJ/hKh/Kq5K0J87soEhvqSjMCFczW4Wkg05H Jp6cqwQ53efhOkD3fxUo1eLo5dfw3qTadMzXxMbUZggap89DZ94O152YQbgZ4g1Y4OPt yBIK51gxQO9AP7UIWtSeOnkfAgOlXx/Xtqgc8=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

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


 


Rackspace

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