<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 8:46 AM, Igor Laskovy <span dir="ltr"><<a href="mailto:igor.laskovy@gmail.com" target="_blank">igor.laskovy@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="im"><span style="font-family:arial,sans-serif;font-size:13px">>HA setup and have another opennebula</span><br>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div><span style="font-family:arial,sans-serif;font-size:13px">Have any best practices how make it?</span></div></div></blockquote><div>

<br></div><div>Yes, take a look at this guide:</div><div><a href="http://opennebula.org/documentation:rel4.2:oneha">http://opennebula.org/documentation:rel4.2:oneha</a><br></div><div><br></div><div>PS: Please reply to the mailing list</div>

<div><div dir="ltr"><br class="">--<br>Join us at <a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>--<div>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div>

<span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" target="_blank" style="color:rgb(42,93,176)"></a></span></div>

</div></div></div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">

<div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 7:31 PM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">It depends, you can configure a HA setup and have another opennebula gain control of the cloud, and restart the VMs.</div>


<div class="gmail_extra"><div><br clear="all"><div><div dir="ltr">--<br>Join us at <a href="http://opennebulaconf.com" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>

--<div>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>




</div></div></div>
<br><br></div><div><div><div class="gmail_quote">On Thu, Sep 5, 2013 at 3:24 PM, Igor Laskovy <span dir="ltr"><<a href="mailto:igor.laskovy@gmail.com" target="_blank">igor.laskovy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr">Ok, thanks. And one more: is it true that if I lost front-end host along with some hypervisor hosts died VMs don't restart on alive hosts?</div><div><div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 1:34 PM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div class="gmail_extra">

On Wed, Sep 4, 2013 at 12:03 PM, Igor Laskovy <span dir="ltr"><<a href="mailto:igor.laskovy@gmail.com" target="_blank">igor.laskovy@gmail.com</a>></span> wrote:<div>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div>One further question - how Fault Tolerance mechanism (via HOST_HOOK) deal with this reservations? Does it reserved some "slots" for VMs recovery?</div></div></blockquote><div><br></div></div>





<div>
OpenNebula does not have any kind of reservation scheduling.</div><div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div> If not and if I at every turn manually don't control available resources on hosts those may cause to situation when my automatically recreated VMs will stuck in placement state.</div>







</div></blockquote><div><br></div></div><div>Yes, that may happen. But you still can implement a reservation mechanism.</div><div>I'm sure there are better alternatives, but this is a quick idea:</div><div><br></div>





<div>- Disable half of your hosts.</div>

<div>- For each enabled host, define a failover_host = <id> attribute in its template, pointing to one of the disabled hosts</div><div>- Modify the fault tolerance hook to make it enable the defined failover host.</div>







<div><br></div><div>Another quick hack is to create a dummy VM for each VM that you need to guarantee that reserved slot, using the requirements and current_vms features to deploy it in a host different from the original VM. Then delete that VM when the hook recreates the original VM...</div>







<div><br></div><div><br></div><div>Regards.</div><div><div><br></div><div><div dir="ltr">--<br>Join us at <a href="http://opennebulaconf.com" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>
--<div>Carlos Martín, MSc<br>

Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>







</div></div></div>
<br><br></div><div><div><div class="gmail_quote">On Wed, Sep 4, 2013 at 12:03 PM, Igor Laskovy <span dir="ltr"><<a href="mailto:igor.laskovy@gmail.com" target="_blank">igor.laskovy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr">Thank you for reply!<div><br></div><div>One further question - how Fault Tolerance mechanism (via HOST_HOOK) deal with this reservations? Does it reserved some "slots" for VMs recovery? If not and if I at every turn manually don't control available resources on hosts those may cause to situation when my automatically recreated VMs will stuck in placement state.</div>








</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Wed, Sep 4, 2013 at 12:23 PM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span> wrote:<br>








</div><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div>

<div class="gmail_extra"><div class="gmail_quote"><div>On Tue, Sep 3, 2013 at 1:32 PM, Igor Laskovy <span dir="ltr"><<a href="mailto:igor.laskovy@gmail.com" target="_blank">igor.laskovy@gmail.com</a>></span> wrote:<br>










<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hello all!<div><br></div><div>I found that this already have discussed not so far from now - <a href="http://comments.gmane.org/gmane.comp.distributed.opennebula.user/10568" target="_blank">http://comments.gmane.org/gmane.comp.distributed.opennebula.user/10568</a></div>











<div><br></div><div>As understand for now about Memory over-commitment for production I can forget ;)</div><div><br></div><div>For CPU over-commitment I can only use CPU & VCPU attributes, right?</div></div></blockquote>










<div><br></div></div><div>That's right</div><div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">








<div dir="ltr">

<div>If I will, for example, set CPU to 0.2, than host will do only reservation of processor time for that VM OR do limit ether, so this VM will limited of 1/5 of one physical/logical hardware core?</div></div></blockquote>










<div><br></div></div><div><div style="font-family:arial,sans-serif;font-size:13px">We enforce the CPU reserved at hypervisor level with <span>cgroups</span> for kvm, credit scheduler for xen, and the esx cpu scheduler for vmware</div>










<div style="font-family:arial,sans-serif;font-size:13px"></div></div><div><br></div><div><div><div dir="ltr">Regards</div><div dir="ltr"><br>--<br>Join us at <a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>










--<div>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span></div>










</div></div></div></div></div></div></div>
</blockquote></div></div></div><br><br clear="all"><div><div><br></div>-- <br><div dir="ltr">Igor Laskovy<br><a href="http://facebook.com/igor.laskovy" target="_blank">facebook.com/igor.laskovy</a><br><div><a href="http://studiogrizzly.com" target="_blank">studiogrizzly.com</a></div>








</div>
</div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Igor Laskovy<br><a href="http://facebook.com/igor.laskovy" target="_blank">facebook.com/igor.laskovy</a><br><div><a href="http://studiogrizzly.com" target="_blank">studiogrizzly.com</a></div>





</div>
</div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Igor Laskovy<br><a href="http://facebook.com/igor.laskovy" target="_blank">facebook.com/igor.laskovy</a><br><div><a href="http://studiogrizzly.com" target="_blank">studiogrizzly.com</a></div>


</div>
</div>
</div></div></blockquote></div><br></div></div>