Name: ocaml-xenstore-server
Owner: MirageOS
Description: Mirage Xenstore daemon
Created: 2014-07-17 14:17:33.0
Updated: 2017-07-06 18:16:40.0
Pushed: 2016-09-20 17:24:09.0
Homepage: null
Size: 1703
Language: OCaml
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo contains an experimental Xenstore server implementation which uses Mirage and Irmin.
The design goals are: (in priority order)
The server supports 2 persistence modes:
In crash resilient mode, all critical data is stored in an irminsule[1] git database. This data includes:
The server will ensure that the side-effects of an operation will be persisted before any reply packet is transmitted.
When the server restarts, the only visible artifacts should be:
The irminsule database should be persisted to storage which is cleared on host restart. Ideally it should be stored to RAM (eg tmpfs) and not a physical disk (slow and unnecessarily durable).
This is useful when building on a host (for example a Mac or Windows laptop) which doesn't have Xen headers installed.
Build an image containing all the dependencies:
er build -t xenstore .
Run a fresh shell inside the image:
er run -it -v `pwd`:/src xenstore bash