On Fri, Nov 25, 2016 at 3:53 PM, Derek Atkins <derek@ihtfp.com> wrote:
Hi Simone,

On Fri, November 25, 2016 4:34 am, Simone Tiraboschi wrote:
> On Thu, Nov 24, 2016 at 8:33 PM, Derek Atkins <derek@ihtfp.com> wrote:

[snip]
>> So what IS the process to properly update a single-host host?  My guess
>> is:
>>
>> * shutdown all the VMs
>>
> * go into global maint mode (what IS the difference between global and
>>   local?)
>> * shutdown the engine/engine VM
>> * yum update on the host
>> * restart services (or reboot, I guess)
>> * bring the system out of maintenance mode
>>
>
> shutdown or hibernate all the other VMs.
> set global maintenance mode to avoid ovirt-ha-agent trying to restart the
> engine vm
> shutdown the engine VM (from the host CLI) with hosted-engine
> --vm-shutdown

This is in lieu of "shutdown -h now" from the engine VM?  (i.e., will this
perform a clean shutdown from within the VM?)


Yes, exactly.
For emergency issue you also have hosted-engine --vm-poweroff to perform an instant poweroff.
 
> yum update
> restart services

So I don't need to run a host equivalent of "engine-setup"?  Great.

> bring the system out of global maintenance mode: in a couple of minutes
> the
> HA agent should restart the engine VM

Perfect.  Thanks.  I'll go test this shortly.

-derek

--
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant