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

Re: [Xen-API] XCP Feature propose - send/receive OS information using introspection


  • To: v.tolstov@xxxxxxxxx
  • From: Marco Sinhoreli <msinhore@xxxxxxxxx>
  • Date: Mon, 20 Dec 2010 14:11:38 -0200
  • Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>, xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 20 Dec 2010 08:13:28 -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; b=qzivzHl/OVeXT/EBgNtDLQmjj9VMAg1CRdM//otUo2yHQboxMAf5NW/rueOYSXFQjj hTI1nneC8nYPvzKtylU9y9EZV3NQE+MHapVxRYU+aJqZQycDRXyBq9JJeHTyknPzXOMy gLLx+qaOd4jCgzkKtY56Lf+nW+NUyOGWkQBLc=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

I was trying some xenstore functions using the XenAPI and I think it
not write the data on-line:

session = XenAPI.Session(url)
session.xenapi.login_with_password(username, password)
vm=session.xenapi.VM.get_by_uuid('31064e39-71d6-7a30-593d-b3d0e2db1552')
session.xenapi.VM.add_to_xenstore_data(vm, 'orquestra', 'teste')
print session.xenapi.VM.get_xenstore_data(vm)


It is running ok but this information isn't showed into the VM using
xenstore-read while its running. I think this function is to set only
when the VM is halted.

Using xenstore directly in domain0 I can send and receive data between
domain0 and domainU. I'm learning the toolstack to check if it is
simple to implement.

Any ideia?



Cheers!


On Thu, Dec 9, 2010 at 12:07 PM, Vasiliy G Tolstov <v.tolstov@xxxxxxxxx> wrote:
> On Thu, 2010-12-09 at 12:02 -0200, Marco Sinhoreli wrote:
>> Nice idea to have multiple console support. Is it supported in xen for
>> paravirt and HVM?
>>
>
> It already done by Stefano on it pvhvm branch (currently it merges to
> 2.6.37 linux kernel tree). After that all guest daemons can read/write
> to/from serial port like spice vdagent in qemu/kvm.
>
>
>> On Wed, Dec 8, 2010 at 8:41 PM, Vasiliy G Tolstov <v.tolstov@xxxxxxxxx> 
>> wrote:
>> > On Wed, 2010-12-08 at 17:00 -0200, Marco Sinhoreli wrote:
>> >> Hi Dave:
>> >>
>> >> In our case, we need to control if the user requesting a guest remote
>> >> console will have the xvc0 without a unix user connected. I think to
>> >> use the xen introspection mechanism and a daemon in-guest to
>> >> communicate if the console is locked or free. Basically, in our system
>> >> using the xenapi, we can create a method to request that and receive
>> >> this information. More important is, maintain this 3rd part open to
>> >> cloud providers create themselves control systems.
>> >>
>> >> Any suggestion?
>> >
>> > I like qemu/kvm based solution like virtio-serial. And Stefano provide
>> > multiply console support - i think this very interesting feature to
>> > write domU daemon that provides info. Some other solution - XenAccess.
>> > But it more complicated and i don't know much more about it.
>> >
>> >
>> >
>>
>>
>>
>
>
> --
> Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
> Selfip.Ru
>
>



-- 
Marco Sinhoreli

_______________________________________________
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®.