<div dir="ltr">Hello,<div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div class="">> nova-manage (and I believe somewhere in the nova command as well?) can disable a service. This will
<br>
</div><div style="font-size:16px;font-family:Times New Roman">
<div>
<div class="gmail_extra"><div class="">> prevent new instances from spawning but still allow them to be migrated to another host.
</div><div>Yes this is what I use in my script.<br></div></div></div></div></div></div></blockquote><div><br></div><div>I think this is the best way to go about maintenance.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div style="font-size:16px;font-family:Times New Roman"><div><div class="gmail_extra"><div>> And there's also the "nova evacuate" command, but I've never used it, so I'm not entirely sure how it works <br>
</div><div class="">
> or when to use it:
</div><div>From what I have read from the docs this is used when you have a failed hypervisor and want to spawn the instances somewhere else.
<br></div></div></div></div></div></div></blockquote><div><br></div><div>Indeed, but it's curious that there is an optional "shared storage" flag. IMO, shared storage should be enabled by default and optionally off. Without the shared storage flag, the best that can be done is launching new instances of a specific image on another node, which is perhaps worse than any type of evacuation.</div>
<div><br></div><div>I need to try this command out in a sandbox to learn more about it.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style="font-size:16px;font-family:Times New Roman"><div><div class="gmail_extra"><div>I was just wandering what people do when they want to put a node into maintenance.<br>
We want to live-migrate everything to another host and I was wondering if people already build scripts for this.<br></div></div></div></div></div></div></blockquote><div><br></div><div>It sounds like you're doing the right thing: disable the service, look up the instances, loop and migrate them to other server(s). </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div style="font-size:16px;font-family:Times New Roman">
<div><div class="gmail_extra"><div>
<br>
<br>
Cheers,<br>
Robert van Leeuwen<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>

<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></div></div>