<div dir="ltr">Hi,<div><br></div><div>   Ganeti seems interesting, does it run LXD? If so, can you point me to some documentation showing how to set it up (I could only find information about running Xen or KVM)?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div>--</div><div>Dilvan de Abreu Moreira, Ph.D.     <a href="mailto:dilvan@gmail.com" target="_blank">dilvan@gmail.com</a></div><div><a href="http://java.icmc.usp.br" target="_blank">http://java.icmc.usp.br</a><br>Warning: I use a spam filter, some emails sent to me CAN be lost!</div></div></div>
<br><div class="gmail_quote">On Wed, Nov 25, 2015 at 3:50 PM, Bostjan Skufca <span dir="ltr"><<a href="mailto:bostjan@a2o.si" target="_blank">bostjan@a2o.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">... or the one from Georg:<div><a href="https://lists.linuxcontainers.org/pipermail/lxc-users/2015-November/010417.html" target="_blank">https://lists.linuxcontainers.org/pipermail/lxc-users/2015-November/010417.html</a><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 25 November 2015 at 18:48, Bostjan Skufca <span dir="ltr"><<a href="mailto:bostjan@a2o.si" target="_blank">bostjan@a2o.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I recently asked a similar questions (did not mention rdb though that was exactly what I had in my mind:), maybe you will find Stephane's answer informative:<div><a href="https://lists.linuxcontainers.org/pipermail/lxc-users/2015-November/010414.html" target="_blank">https://lists.linuxcontainers.org/pipermail/lxc-users/2015-November/010414.html</a><br></div><div><br></div><div>b.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 25 November 2015 at 16:40, Dilvan Moreira <span dir="ltr"><<a href="mailto:dilvan@gmail.com" target="_blank">dilvan@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi,</div><div><br></div><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">I am setting up a small cluster using a VM (master) and 3 bare metal servers (all running Ubuntu 14.04). Each bare metal server also has 2T of disk space exported using <a href="http://docs.ceph.com/docs/v0.94.5/start/" rel="nofollow" style="margin:0px;padding:0px;border:0px;font-size:15px;text-decoration:none;color:rgb(12,101,165)" target="_blank">Ceph 0.94.5</a>.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">I would like to be able to run LXD VMs (containers) on this cluster and to easily migrate these VMs to different nodes. I could have installed OpenStack, but that seems rather complicated to me (maybe OpenStack is an overkill for such a small cluster like mine). So, my solution was to create a big Ceph/rbd block volume and mount it at the LXD container folder (<code style="margin:0px;padding:1px 5px;border:0px;font-size:13px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:pre-wrap;background-color:rgb(238,238,238)">/var/lib/lxd/containers</code>) in all nodes. To move a VM, I just shut it down in one node and then start it again in another.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">For just one VM it's working fine, but it doesn't seem to me as a long term solution. My questions:</p><ol style="margin:0px 0px 1em 30px;padding:0px;border:0px;font-size:15px;list-style-position:initial;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><li style="margin:0px 0px 0.5em;padding:0px;border:0px;font-size:15px;word-wrap:break-word"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both">Is there a way to pass a block volume (Ceph/rbd) or folder to a LXD VM, so LXD itself would mount the root folder (<code style="margin:0px;padding:1px 5px;border:0px;font-size:13px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:pre-wrap;background-color:rgb(238,238,238)">/</code>)? It would be nice to have a block volume for each VM (and not all VMs using the same folder).</p></li><li style="margin:0px 0px 0.5em;padding:0px;border:0px;font-size:15px;word-wrap:break-word"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both">Is there a simpler solution than OpenStack for my use case (or a simpler installation procedure for OpenStack)?</p></li><li style="margin:0px 0px 0.5em;padding:0px;border:0px;font-size:15px;word-wrap:break-word"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both">Ultimately, I would like my cluster to have the ability to schedule VMs to nodes, move VMs from failed nodes, etc. Any suggestions on how to get that?</p></li></ol><div><div><div>--</div><div>Dilvan de Abreu Moreira, Ph.D.     <a href="mailto:dilvan@gmail.com" target="_blank">dilvan@gmail.com</a></div><div><a href="http://java.icmc.usp.br" target="_blank">http://java.icmc.usp.br</a><br>Warning: I use a spam filter, some emails sent to me CAN be lost!</div></div></div>
</div>
<br></div></div>_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></blockquote></div><br></div>