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

Re: [Xen-API] Xenstore data not getting updated in running VM



Hi,

At the moment "add_to_xenstore" data isn't 'live': a reboot (or migrate) is required to refresh it.

What kind of data are you using xenstore for? It tends to be good for rarely-changing configuration data but bad for anything which updates frequently. It's also a bit 'fire and forget' while people often want something like an RPC interface.

Cheers,

-- 
Dave Scott

On Jan 19, 2012, at 4:35 PM, "R J" <torushikeshj@xxxxxxxxx> wrote:



On Thu, Jan 19, 2012 at 5:44 PM, George Shuklin <george.shuklin@xxxxxxxxx> wrote:
What 'correct data' you mean? If you write data/foo "bar" from domU you can read them from dom0 as /local/domain/$domid/data/foo

I'm using API VM.add_to_xenstore_data  to add data to a running domU which is reflected in
xe vm-param-get param-name=xenstore-data uuid=UUID_OF_VM but if I do "xenstore-ls data" in domU then it does not reflect the updated/new entries.

If I reboot the domU then it is able to show updated entries with same "xenstore-ls data" command.



On 18.01.2012 18:31, R J wrote:
Hello List,

I'm not able to fetch correct xenstore data in guest. If I reboot the guest then it loads with latest xenstore data but if I change the content of xenstore data while the VM is running then the data does not reflect in guest.

Is this normal or am I missing anything ?


Note: XCP version 1 and guest tools are installed.

- RJ


_______________________________________________
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


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