Hi Paul,<div><br></div><div>Your concern is a very valid one.</div><div><br></div><div>At the moment I believe the best way to handle a compute node failure is to have /var/lib/nova/instances mounted under a shared filesystem such as NFS.</div>
<div><br></div><div>The VM data inside the nova database will need updated to point to another compute node, but once that is done, the vm can be rebooted and launched on the new one.</div><div><br></div><div>There is downtime involved, but the VM should be up to date to the point of the compute node failure.</div>
<div><br></div><div>I would be interested to hear if anyone else has an alternative solution.</div><div><br></div><div>Thanks,</div><div>Joe</div><div><br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 1:16 PM, Paul Walton <span dir="ltr"><<a href="mailto:paul.d.walton@gmail.com" target="_blank">paul.d.walton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Well, I guess my real question next is, what happens when a VM is running on a compute node and that node simply fails for whatever reason?  Does OpenStack have any way to detect a compute node failure, and attempt to migrate its VMs to another node?  I realize that the real VM and the migrated VM may be out of sync with each other, but I'm assuming that a relatively recent version of the VM is still present on the distributed file system to facilitate migration.<br>

<br>Obviously, regular backups would be required for a real disaster recovery, but the VMs I'm talking about won't be changing much, and being a few minutes out of sync won't be a problem.<br><br><div class="gmail_quote">

On Thu, Sep 6, 2012 at 1:32 PM, Joe Topjian <span dir="ltr"><<a href="mailto:joe.topjian@cybera.ca" target="_blank">joe.topjian@cybera.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Paul,<div><br></div><div>OpenStack does not have anything like this yet. Anton Beloglazov has created a blueprint from some research work he's done that would provide such a feature:</div><div><br></div><div><a href="https://blueprints.launchpad.net/nova/+spec/dynamic-consolidation-of-virtual-machines" target="_blank">https://blueprints.launchpad.net/nova/+spec/dynamic-consolidation-of-virtual-machines</a></div>


<div><br></div><div>Thanks,</div><div>Joe<br><br><div class="gmail_quote"><div><div>On Thu, Sep 6, 2012 at 12:26 PM, Paul Walton <span dir="ltr"><<a href="mailto:paul.d.walton@gmail.com" target="_blank">paul.d.walton@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>Hello,<br><br>I have a quick question about live migration of VMs.  I can see how to do this manually from the command line, i.e. if I want to move a VM from one compute node to another myself, but I was wondering if there is a way to have OpenStack do this automatically for me to balance the load across all the compute nodes dynamically?<br>



<br>Thanks<span><font color="#888888"><br clear="all"><br>-- <br><br>Paul Walton<br><br>University of Arkansas<br>College of Engineering<br>CSCE Technical Support Team<br>J.B. Hunt Building, Room 440<br>
</font></span><br></div></div>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Joe Topjian<div>Systems Administrator</div><div>Cybera Inc.</div><div><br></div><div><a href="http://www.cybera.ca" target="_blank">www.cybera.ca</a></div>


<div><br></div><div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Big data is coming to Canada. Join the welcome wagon.</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">


<b>Cyber Summit 2012</b></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">October 1-3, Banff</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<a href="http://www.cybera.ca/summit2012" style="color:rgb(17,85,204)" target="_blank">www.cybera.ca/summit2012</a></div></div><div><br></div><div><font color="#666666"><span>Cybera</span><span> is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure.</span></font></div>


<br><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><br>Paul Walton<br><br>University of Arkansas<br>College of Engineering<br>CSCE Technical Support Team<br>J.B. Hunt Building, Room 440<br>

</font></span><br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Joe Topjian<div>Systems Administrator</div><div>Cybera Inc.</div><div><br></div><div><a href="http://www.cybera.ca" target="_blank">www.cybera.ca</a></div>
<div><br></div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Big data is coming to Canada. Join the welcome wagon.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<b>Cyber Summit 2012</b></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">October 1-3, Banff</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<a href="http://www.cybera.ca/summit2012" style="color:rgb(17,85,204)" target="_blank">www.cybera.ca/summit2012</a></div></div><div><br></div><div><font color="#666666"><span>Cybera</span><span> is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure.</span></font></div>
<br>
</div>