"c:\Program Files\Citrix\XenTools\xenstore_client.exe" read name
Works a treat.
Is it possible to get another parameter (description,tags or folder) or a custom field ?
Thanks for your answer
There is some info here: http://wiki.xen.org/wiki/XenStore_Reference
But I’m not getting much luck with a lot of it on XenServer 5.5 with a Windows Server 2003 VM.
Some stuff that does work:
which led to try using the dir command on the end, e.g.
xenstore_client dir device
xenstore_client dir device/vif
xenstore_client dir device/vif/0
which ties up somewhat with the info in the wiki, though not completely. And nothing like what you’re after as far as I can see.
The same thing is possible with Hyper-V too, see http://blogs.technet.com/b/migreene/archive/2009/12/10/3299707.aspx
Update: In XS6.1 we introduced an alternative to XenStore_Client.exe which going forward should be more robust and offers a far more flexible and richer interface via a standard Windows Management Instrumentation (WMI) interface. This offers the potential to develop feature rich scripts for tasks like VDI/XenDesktop deployment and includes the capacity to raise and watch events when values in xenstore change.
Please do take a look: http://support.citrix.com/article/CTX136422
(XenServer Partner Engineering)
Thanks for the info, looks good.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Enter your email address to follow this blog and receive notifications of new posts by email.