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

Re: [MirageOS-devel] Just-In-Time Summoning of Unikernels



Hi Magnus,

We are interested to know how the VMs that Jitsu boots up get their IP addresses. Are they hardcoded in libvirt domain XML and/or Mirage config file? We are thinking of a dynamic approach where unikernels get their IP from a DHCP server and we wonder how to retrieve their IP.
Help will be appreciated, thanks

Kind regards

On 09/09/14 13:02, Magnus Skjegstad wrote:
I have written a small forwarding DNS server that starts virtual
machines on demand, which may be of interest to this list. The server is
called Jitsu - or Just-In-Time Summoning of Unikernels.

Before forwarding a DNS query, Jitsu checks if the requested domain
matches a known unikernel. If it does, the unikernel is started and its
IP is returned to the client. Jitsu continues to respond with the IP of
the unikernel for as long as it is running. If no requests have been
received for the domain within a timeout the unikernel is automatically
stopped.

The code is available here:
https://github.com/MagnusS/jitsu

Jitsu has been tested with Mirage VMs on a Cubietruck w/Xen and libvirt.
For installing libvirt with Xen-support I recommend following Nick's
instructions:
http://lists.xenproject.org/archives/html/mirageos-devel/2014-07/msg00178.html.

The code is proof-of-concept at this point, so there is probably plenty
of room for optimizations. Contributions are welcome.

Magnus

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--
Carlos Oviedo
PhD student
Network Systems Group
University of Nottingham





This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

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