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


RE: [Xen-API] lowlevel access to xapi database

To: 'George Shuklin' <george.shuklin@xxxxxxxxx>
Subject: RE: [Xen-API] lowlevel access to xapi database
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Fri, 18 Feb 2011 10:17:20 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 18 Feb 2011 02:17:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D5DB5C7.7010602@xxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1297360543.5691.15.camel@mabase> <4AAA3C3D-E9C8-40D7-90E6-B429E8FA2266@xxxxxxxxxxxxx> <4D5DB5C7.7010602@xxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvO/iILOGCnbhkaTUOV5U/1hEOhUQAVgxsg
Thread-topic: [Xen-API] lowlevel access to xapi database
Hi George,

What do you mean by 'fast sync'? Are you using the event.next api? And were you 
aware of the /json hack that's used for some web gui type things?

What's the concern with other_config? That's not abnormal XMLRPC encoding as 
far as I know. I agree that Last_boot_record stands out as being slightly odd, 
but it's really only intended for internal use.


-----Original Message-----
From: George Shuklin [mailto:george.shuklin@xxxxxxxxx] 
Sent: 17 February 2011 23:57
To: Jonathan Ludlam
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] lowlevel access to xapi database

Thank you.

We actually wish to have fast sync and XML-RPC seems be to bloated and 
have very strange issues with inner objects conversions (f.e. last_boot, 
other config and many others strings with format 'parse it yourself').

And we feel it can be really interesting to change some values of object 
unchangable via XenAPI, for example set every PV VM marked as 
'pv-drivers-up-to-date' (is this field have any meaning for PV guest?), 
change their limits without shutdown (they will take place at near 
reboot time) and many others.

On 17.02.2011 12:40, Jonathan Ludlam wrote:
> Not yet, it's internal only. Is there anything you need at the database level 
> that's not available in the API?
> Jon
> On 10 Feb 2011, at 17:55, George Shuklin wrote:
>> Good day.
>> I wonder if there is way to access xapi data lower than XenAPI... I
>> means any other way to access them form host where xapi master
>> resides...
>> I look to sources and found some DB interface. It it available outside
>> xapi binary?
>> And I saw some json-related functions. Is any way to get access to data
>> in json format?
>> Thanks.
>> _______________________________________________
>> xen-api mailing list
>> xen-api@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/mailman/listinfo/xen-api
xen-api mailing list