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

Re: [Xen-API] [XCP1.6] How can I read/write to xenstore in Windows OS


  • To: Kojo Li <mimitadpole@xxxxxxxxx>, "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
  • Date: Fri, 1 Feb 2013 09:25:28 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Fri, 01 Feb 2013 09:25:10 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: Ac4AU/e4tnjDfkgVSrKfpAm0tXL5VwACYQbg
  • Thread-topic: [Xen-API] [XCP1.6] How can I read/write to xenstore in Windows OS

Hi,

 

  There’s a new WMI api for accessing xenstore. Look and the CitrixXenStoreBase and CitrixXenStoreSession objects. Use the AddSession method of the base object to get a session object.

  There will be a Citrix Knowledgebase article about this in the very near future.

 

  Paul

 

From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Kojo Li
Sent: 01 February 2013 01:48
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] [XCP1.6] How can I read/write to xenstore in Windows OS

 

Hello list,

 

I have installed XCP1.1 for monthes. By using xenstore_client.exe in xstools1.1, we can write/read message to/from xenstore easily. 

This is useful when we have some specific message to pass between host and guest OS.

 

For example: 

WRITE 

<XENTOOL_PATH>\xenstore_client.exe write /local/domain/<domainId>/test "message"

 

READ:

<XENTOOL_PATH>\xenstore_client.exe read /local/domain/<domainId>/test (and get the output "message")

 

Recently after I upgrade the host to XCP1.6 and try to install the newest version of xstool, I found that xenstore_client.exe was removed from xstool6.1. 

Since I really need it to complete my function. So I come here for help. 

Are there any alternatives we can communicate with xenstore in Windows as usual in XCP1.1? 

(CentOS works fine after upgrade.)

 

Thanks in advance.

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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