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] XCP Feature propose - send/receive OS information using in

To: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] XCP Feature propose - send/receive OS information using introspection
From: Marco Sinhoreli <msinhore@xxxxxxxxx>
Date: Wed, 8 Dec 2010 17:00:04 -0200
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 08 Dec 2010 11:00:45 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Zdo/RaDbhqCdytzLs7sKbJF1ZMKNbCmo9X/ffAhTuUk=; b=pwrBuWsR4Rhxn2BWponl8cs2VEbz0CiIXK8vW6vWBC8hlERCUmleazyNsfWPH7gdDp CJENMP01ow1qJd0Qw93OceMDWq6/60pqTNtxqui/VVhN8z23TJOTyoo7Ea3tg6nblqMW iyX2zluHIt2Wk4eqaNLLvxMikG8Rfsh/UWLyk=
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=QuWMRNvxcDbJYi9+ganHe0ckXmg19q4HxGzlgPofFxoFIuSAnmom6Cui5+sH4BoNVI adB7ORF9AnqUURaBCpj8DwBFo6fHYOK014Z1c2/sOrdLDL9/g9wTa88nv8t0hwQMrm8y 7g61LUE+XN7xrthTSluVxbblmlPwueBzRSih0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <81A73678E76EA642801C8F2E4823AD21933254B577@xxxxxxxxxxxxxxxxxxxxxxxxx>
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: <AANLkTinRZH68-QHdj_MuRvvGAuZF=R2u=zXv6kti6nV8@xxxxxxxxxxxxxx> <81A73678E76EA642801C8F2E4823AD21933254B577@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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?

Cheers,

On Wed, Dec 8, 2010 at 4:37 PM, Dave Scott <Dave.Scott@xxxxxxxxxxxxx> wrote:
>
>> Hello guys:
>>
>> I have a propose to adapt the xapi to send and receive information
>> to/from guest OS. This propose don't take risk to security of XCP
>> architecture and is a interesting feature to cloud system. With this
>> is possible interact with the guest OS to request information from
>> daemon written using the API. To do this need to change the
>> permissions of introspection channel in Domain-0 of all VM and enable
>> the api to send and to receive strings needing attach in a dictionary
>> the uuid of VM and the text sent by daemon.
>>
>> Thoughts?
>
> Hi Marco,
>
> I'd also really like a way for a XenAPI client to communicate securely with 
> an in-guest agent. Were you thinking of an RPC-like mechanism or something 
> more stream-based?
>
> For the dom0 to domU hop we could use "V4V" (which is already part of XCI). 
> I'm not sure what the best API would look like and how it would behave over a 
> VM migration-- perhaps we should make a list of example uses first and 
> proceed from there?
>
> Cheers,
> Dave
>



-- 
Marco Sinhoreli

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