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

Re: [Xen-API] Accessing xentore data created by VM.add_to_xenstore_data



Use relative paths inside VM.

For example:

xenstore-write data/foo bar
xenstore-ls data

PS If you are using XCP, dig into xe guest tools, they do many operations with xenstore from guest machine from shell scripts.



On 14.07.2011 02:00, Marco Sinhoreli wrote:
Hi George:

I don't want to access the data from host, my interest is access this
from VM shell as I explained in last mail.

Cheers,

On Wed, Jul 13, 2011 at 6:50 PM, George Shuklin
<george.shuklin@xxxxxxxxx>  wrote:
We now using libxs to access xenstore directly on host.

xapi is not very reliable way to get this access (f.e. if master is down,
centralized access is unavailable, but xenstore on hosts still works fine),
and not very fast, actually.

On 14.07.2011 00:04, Marco Sinhoreli wrote:
Hello all:

I'm trying to access the data stored in xenstore using the xenapi and
it isn't available to read into VM. In VM creation, I used:
VM.add_to_xenstore_data(vm_ref, 'key', 'value')

Consulting the xenstore-data in cli return this:
xe vm-param-get param-name=xenstore-data
uuid=723831a7-b9f6-f3ff-f4df-7462e3a9c8e5
key: value

Where is the path to access this data into VM?

Cheers,


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




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