Best way of doing complete stop of HCI environment?

Any recommendations in case I have to take down a site for maintenance? Thanks, Gianluca

This is a multi-part message in MIME format. --------------8EFA31D002AD2BB76DCC74DE Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 07/03/2017 02:35 PM, Gianluca Cecchi wrote:
Any recommendations in case I have to take down a site for maintenance?
Thanks, Gianluca
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Hi , You can follow the steps below to do that. 1) Stop all the virtual machines. 2) Move all the storage domains other than hosted_storage to maintenance which will unmount them from all the nodes. 3) Move HE to global maintenance 'hosted-engine --set-maintenance --mode =global' 4) stop HE vm by running the command 'hosted-engine --vm-shutdown' 5) confirm that engine is down using the command 'hosted-engine --vm-status' 6) stop ha agent and broker services on all the nodes by running the command 'systemctl stop ovirt-ha-broker' ; 'systemctl stop ovirt-ha-agent' 7) umount hosted-engine from all the hypervisors 'hosted-engine --disconnect-storage' 8) stop all the volumes. 9) power off all the hypervisors. Hope this helps !!! Thanks kasturi. --------------8EFA31D002AD2BB76DCC74DE Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 07/03/2017 02:35 PM, Gianluca Cecchi wrote:<br> </div> <blockquote cite="mid:CAG2kNCwtPyMHxfzK1+ySZEc_hxQQyxSNOuH9yrTKPedm9h7trg@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div>Any recommendations in case I have to take down a site for maintenance?</div> <div><br> </div> <div>Thanks,</div> <div>Gianluca</div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <p>Hi ,</p> <p> You can follow the steps below to do that.</p> <p>1) Stop all the virtual machines.<br> </p> <p>2) Move all the storage domains other than hosted_storage to maintenance which will unmount them from all the nodes.<br> </p> <p>3) Move HE to global maintenance 'hosted-engine --set-maintenance --mode =global'</p> <p>4) stop HE vm by running the command 'hosted-engine --vm-shutdown'</p> <p>5) confirm that engine is down using the command 'hosted-engine --vm-status'</p> <p>6) stop ha agent and broker services on all the nodes by running the command 'systemctl stop ovirt-ha-broker' ; 'systemctl stop ovirt-ha-agent'</p> <p>7) umount hosted-engine from all the hypervisors 'hosted-engine --disconnect-storage'</p> <p>8) stop all the volumes.</p> <p>9) power off all the hypervisors.</p> <p>Hope this helps !!!</p> <p>Thanks</p> <p>kasturi.<br> </p> </body> </html> --------------8EFA31D002AD2BB76DCC74DE--
participants (2)
-
Gianluca Cecchi
-
knarra