Ovirt-3.4.1: How to: Upgrading Hosted Engine Cluster

--=-wlqg4Mk7qpqjBQhvuW3U Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, failing to find a procedure how to actually upgrade a HA cluster, I did the following witch turned out to be working pretty well. I am somewhat new to oVirt and was amazed how well actually; I did not need to shutdown a single VM (well, one because of mem usage; many of my running VMs have fancy stuff like iscsi and FC luns via a Quantum Stornext HA Cluster): 1. Set cluster to global maintance 2. Login to ovit engine and to the upgrade according to the release nodes. 3. After the upgrade is finished and the engine running, set the first Node in local maintenance. 4. Login the first node and yum update (with the removal of ovirt-release as mentioned in release notes).* I rebooted the node because of the kernel update. 5. Return to oVirt and reinstall the Node from GUI, it will be set to operational automatically** 6. Repeat steps 3-6 for the rest of the Nodes. 7. Remove global maintenance. 8. Update the last Node.*** * I first tried to do this with re-install from GUI. This failed; so I used the yum - update method to update all relevant services ** I do not know if this was necessary. I did this because the hosted-engine --deploy does the same thing when adding a host. *** I found this to be necessary because I had all my Nodes in local maintenance and could not migrate the Hosted engine from the last node any more. The host activation in oVirt did not remove the local maintenance set prior to the update (witch it should, IMHO). It might be desirable to have a hosted-engine command option to remove local maintenance for that reason. --=20 Daniel Helgenberger=20 m box bewegtbild GmbH=20 P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19=20 D-10115 BERLIN=20 www.m-box.de www.monkeymen.tv=20 Gesch=C3=A4ftsf=C3=BChrer: Martin Retschitzegger / Michaela G=C3=B6llner Handeslregister: Amtsgericht Charlottenburg / HRB 112767=20 --=-wlqg4Mk7qpqjBQhvuW3U Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINtjCCBBYw ggL+oAMCAQICCwQAAAAAAS9O4S9SMA0GCSqGSIb3DQEBBQUAMFcxCzAJBgNVBAYTA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zODNGJOFWib7P RBsQEFpx2OBs+Ckk77NByk6r0VnWqb+vE9AtyODk6UJx0yQ6nEKVwiQ1uJlOf1MNpRThrSNYP0GK xq2YGvVvCYN6f+VW+h+YvisaTN8p3/a6lwOszImvFvAYmNafTnBCYug54j7ujUZQ5JgM5cLlwL6T Nv5mblgnujoO+uVi7oQOXiGNoIOU7TIUKxH28QdJmu26GbYDGuemZcFgiTnku9bDguULXVKHp2co OyuoNqmMnvwkQK9agYRK5n2Punr62kekcWvzHyOXfovO4gAAAAAAAA== --=-wlqg4Mk7qpqjBQhvuW3U--

----- Original Message -----
From: "Daniel Helgenberger" <daniel.helgenberger@m-box.de> To: users@ovirt.org Sent: Friday, May 9, 2014 6:45:36 PM Subject: [ovirt-users] Ovirt-3.4.1: How to: Upgrading Hosted Engine Cluster
Hello,
failing to find a procedure how to actually upgrade a HA cluster, I did the following witch turned out to be working pretty well.
I am somewhat new to oVirt and was amazed how well actually; I did not need to shutdown a single VM (well, one because of mem usage; many of my running VMs have fancy stuff like iscsi and FC luns via a Quantum Stornext HA Cluster):
1. Set cluster to global maintance 2. Login to ovit engine and to the upgrade according to the release nodes. 3. After the upgrade is finished and the engine running, set the first Node in local maintenance. 4. Login the first node and yum update (with the removal of ovirt-release as mentioned in release notes).* I rebooted the node because of the kernel update. 5. Return to oVirt and reinstall the Node from GUI, it will be set to operational automatically** 6. Repeat steps 3-6 for the rest of the Nodes. 7. Remove global maintenance. 8. Update the last Node.***
* I first tried to do this with re-install from GUI. This failed; so I used the yum - update method to update all relevant services
** I do not know if this was necessary. I did this because the hosted-engine --deploy does the same thing when adding a host.
*** I found this to be necessary because I had all my Nodes in local maintenance and could not migrate the Hosted engine from the last node any more. The host activation in oVirt did not remove the local maintenance set prior to the update (witch it should, IMHO). It might be desirable to have a hosted-engine command option to remove local maintenance for that reason.
--
Daniel Helgenberger m box bewegtbild GmbH
P: +49/30/2408781-22 F: +49/30/2408781-10
ACKERSTR. 19 D-10115 BERLIN
www.m-box.de www.monkeymen.tv
Geschäftsführer: Martin Retschitzegger / Michaela Göllner Handeslregister: Amtsgericht Charlottenburg / HRB 112767
Hi Martin, Thanks for sharing! A few notes on your nice 8 steps ;) - There are 2 maintenance modes to cover host maintenance (local) and VM maintenance (global). Global maintenance disarms all HA hosts in the cluster, so use it with caution as there's no fail over in this mode. - Initially these were available only as a command line[1]. Since 3.4.0, this was integrated into the UI, so all you need to do is move a host to maintenance in order to achieve local maintenance, and activate it to remove the maintenance mode. For global maintenance, right click the engine VM, and you will see enable/disable ha-maintenance for the global mode. - No need to re-install nodes. All you need to do is activate it. - Basically a standard procedure should include: * Move host to maintenance, login and update the host, activate the host. * Follow the above for all other HA hosts * Set the engine VM to ha maintenance (global), login to the vm and upgrade it, unset vm's ha-maintenance. Appreciate your feedback. Also, were you aware of [1] or did you look for info elsewhere? I'd like to know what we can do to improve documentation. Thanks again, Doron [1] http://www.ovirt.org/Hosted_Engine_Howto#Maintaining_the_setup

----- Original Message -----
From: "Doron Fediuck" <dfediuck@redhat.com> To: "Daniel Helgenberger" <daniel.helgenberger@m-box.de> Cc: users@ovirt.org Sent: Saturday, May 10, 2014 9:47:29 AM Subject: Re: [ovirt-users] Ovirt-3.4.1: How to: Upgrading Hosted Engine Cluster
----- Original Message -----
From: "Daniel Helgenberger" <daniel.helgenberger@m-box.de> To: users@ovirt.org Sent: Friday, May 9, 2014 6:45:36 PM Subject: [ovirt-users] Ovirt-3.4.1: How to: Upgrading Hosted Engine Cluster
Hello,
failing to find a procedure how to actually upgrade a HA cluster, I did the following witch turned out to be working pretty well.
I am somewhat new to oVirt and was amazed how well actually; I did not need to shutdown a single VM (well, one because of mem usage; many of my running VMs have fancy stuff like iscsi and FC luns via a Quantum Stornext HA Cluster):
1. Set cluster to global maintance 2. Login to ovit engine and to the upgrade according to the release nodes. 3. After the upgrade is finished and the engine running, set the first Node in local maintenance. 4. Login the first node and yum update (with the removal of ovirt-release as mentioned in release notes).* I rebooted the node because of the kernel update. 5. Return to oVirt and reinstall the Node from GUI, it will be set to operational automatically** 6. Repeat steps 3-6 for the rest of the Nodes. 7. Remove global maintenance. 8. Update the last Node.***
* I first tried to do this with re-install from GUI. This failed; so I used the yum - update method to update all relevant services
** I do not know if this was necessary. I did this because the hosted-engine --deploy does the same thing when adding a host.
*** I found this to be necessary because I had all my Nodes in local maintenance and could not migrate the Hosted engine from the last node any more. The host activation in oVirt did not remove the local maintenance set prior to the update (witch it should, IMHO). It might be desirable to have a hosted-engine command option to remove local maintenance for that reason.
--
Daniel Helgenberger m box bewegtbild GmbH
P: +49/30/2408781-22 F: +49/30/2408781-10
ACKERSTR. 19 D-10115 BERLIN
www.m-box.de www.monkeymen.tv
Geschäftsführer: Martin Retschitzegger / Michaela Göllner Handeslregister: Amtsgericht Charlottenburg / HRB 112767
Hi Martin, Thanks for sharing!
A few notes on your nice 8 steps ;)
- There are 2 maintenance modes to cover host maintenance (local) and VM maintenance (global). Global maintenance disarms all HA hosts in the cluster, so use it with caution as there's no fail over in this mode.
- Initially these were available only as a command line[1]. Since 3.4.0, this was integrated into the UI, so all you need to do is move a host to maintenance in order to achieve local maintenance, and activate it to remove the maintenance mode. For global maintenance, right click the engine VM, and you will see enable/disable ha-maintenance for the global mode.
- No need to re-install nodes. All you need to do is activate it.
- Basically a standard procedure should include: * Move host to maintenance, login and update the host, activate the host. * Follow the above for all other HA hosts * Set the engine VM to ha maintenance (global), login to the vm and upgrade it, unset vm's ha-maintenance.
Appreciate your feedback. Also, were you aware of [1] or did you look for info elsewhere? I'd like to know what we can do to improve documentation.
Thanks again, Doron
[1] http://www.ovirt.org/Hosted_Engine_Howto#Maintaining_the_setup
My apologies- s/Martin/Daniel.

On May 10, 2014, at 1:47 AM, Doron Fediuck <dfediuck@redhat.com> wrote:
----- Original Message -----
From: "Daniel Helgenberger" <daniel.helgenberger@m-box.de> To: users@ovirt.org Sent: Friday, May 9, 2014 6:45:36 PM Subject: [ovirt-users] Ovirt-3.4.1: How to: Upgrading Hosted Engine Cluster
1. Set cluster to global maintance 2. Login to ovit engine and to the upgrade according to the release nodes. 3. After the upgrade is finished and the engine running, set the first Node in local maintenance. 4. Login the first node and yum update (with the removal of ovirt-release as mentioned in release notes).* I rebooted the node because of the kernel update. 5. Return to oVirt and reinstall the Node from GUI, it will be set to operational automatically** 6. Repeat steps 3-6 for the rest of the Nodes. 7. Remove global maintenance. 8. Update the last Node.***
Hi Martin, Thanks for sharing!
A few notes on your nice 8 steps ;)
- There are 2 maintenance modes to cover host maintenance (local) and VM maintenance (global). Global maintenance disarms all HA hosts in the cluster, so use it with caution as there's no fail over in this mode.
- Initially these were available only as a command line[1]. Since 3.4.0, this was integrated into the UI, so all you need to do is move a host to maintenance in order to achieve local maintenance, and activate it to remove the maintenance mode. For global maintenance, right click the engine VM, and you will see enable/disable ha-maintenance for the global mode.
- No need to re-install nodes. All you need to do is activate it.
- Basically a standard procedure should include: * Move host to maintenance, login and update the host, activate the host. * Follow the above for all other HA hosts * Set the engine VM to ha maintenance (global), login to the vm and upgrade it, unset vm's ha-maintenance.
Appreciate your feedback. Also, were you aware of [1] or did you look for info elsewhere? I'd like to know what we can do to improve documentation.
One thing that’s still unclear to me in this this setup is what’s needed to ensure all the nodes or get updates? Just do yum updates? I’ve have mixed success with the “reinstall or update” link in the GUI, seemed like it worked properly when I updated to 3.4.0, but trying to do the 3.4.1 update it failed for no apparent reason and I wound up doing yum updates on the host nodes… -Darrell

----- Original Message -----
From: "Darrell Budic" <darrell.budic@zenfire.com> To: "Doron Fediuck" <dfediuck@redhat.com> Cc: "users" <users@ovirt.org> Sent: Monday, May 12, 2014 10:15:53 PM Subject: Re: [ovirt-users] Ovirt-3.4.1: How to: Upgrading Hosted Engine Cluster
On May 10, 2014, at 1:47 AM, Doron Fediuck <dfediuck@redhat.com> wrote:
----- Original Message -----
From: "Daniel Helgenberger" <daniel.helgenberger@m-box.de> To: users@ovirt.org Sent: Friday, May 9, 2014 6:45:36 PM Subject: [ovirt-users] Ovirt-3.4.1: How to: Upgrading Hosted Engine Cluster
1. Set cluster to global maintance 2. Login to ovit engine and to the upgrade according to the release nodes. 3. After the upgrade is finished and the engine running, set the first Node in local maintenance. 4. Login the first node and yum update (with the removal of ovirt-release as mentioned in release notes).* I rebooted the node because of the kernel update. 5. Return to oVirt and reinstall the Node from GUI, it will be set to operational automatically** 6. Repeat steps 3-6 for the rest of the Nodes. 7. Remove global maintenance. 8. Update the last Node.***
Hi Martin, Thanks for sharing!
A few notes on your nice 8 steps ;)
- There are 2 maintenance modes to cover host maintenance (local) and VM maintenance (global). Global maintenance disarms all HA hosts in the cluster, so use it with caution as there's no fail over in this mode.
- Initially these were available only as a command line[1]. Since 3.4.0, this was integrated into the UI, so all you need to do is move a host to maintenance in order to achieve local maintenance, and activate it to remove the maintenance mode. For global maintenance, right click the engine VM, and you will see enable/disable ha-maintenance for the global mode.
- No need to re-install nodes. All you need to do is activate it.
- Basically a standard procedure should include: * Move host to maintenance, login and update the host, activate the host. * Follow the above for all other HA hosts * Set the engine VM to ha maintenance (global), login to the vm and upgrade it, unset vm's ha-maintenance.
Appreciate your feedback. Also, were you aware of [1] or did you look for info elsewhere? I'd like to know what we can do to improve documentation.
One thing that’s still unclear to me in this this setup is what’s needed to ensure all the nodes or get updates? Just do yum updates? I’ve have mixed success with the “reinstall or update” link in the GUI, seemed like it worked properly when I updated to 3.4.0, but trying to do the 3.4.1 update it failed for no apparent reason and I wound up doing yum updates on the host nodes…
-Darrell
Hi Darrel, the flow you described should work, and if not there's possibly a bug in the host deployment. We need more details from your log files to better understand what happened. For example, did you have your repositories set correctly? Did you notice an error in the events pane? The above scenario is generic regardless to manual or UI-based updates. Doron

--=-LYvGPzZHtKxAgDjAcPaA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mo, 2014-05-12 at 16:02 -0400, Doron Fediuck wrote: >=20 > ----- Original Message ----- > > From: "Darrell Budic" <darrell.budic@zenfire.com> > > To: "Doron Fediuck" <dfediuck@redhat.com> > > Cc: "users" <users@ovirt.org> > > Sent: Monday, May 12, 2014 10:15:53 PM > > Subject: Re: [ovirt-users] Ovirt-3.4.1: How to: Upgrading Hosted Engine= Cluster > >=20 > >=20 > > On May 10, 2014, at 1:47 AM, Doron Fediuck <dfediuck@redhat.com> wrote: > >=20 > > >=20 > > >=20 > > > ----- Original Message ----- > > >> From: "Daniel Helgenberger" <daniel.helgenberger@m-box.de> > > >> To: users@ovirt.org > > >> Sent: Friday, May 9, 2014 6:45:36 PM > > >> Subject: [ovirt-users] Ovirt-3.4.1: How to: Upgrading Hosted Engine > > >> Cluster > > >>=20 > > >> 1. Set cluster to global maintance > > >> 2. Login to ovit engine and to the upgrade according to the rele= ase > > >> nodes. > > >> 3. After the upgrade is finished and the engine running, set the > > >> first Node in local maintenance. > > >> 4. Login the first node and yum update (with the removal of > > >> ovirt-release as mentioned in release notes).* I rebooted the > > >> node because of the kernel update. > > >> 5. Return to oVirt and reinstall the Node from GUI, it will be s= et > > >> to operational automatically** > > >> 6. Repeat steps 3-6 for the rest of the Nodes. > > >> 7. Remove global maintenance. > > >> 8. Update the last Node.*** > > >>=20 > > >=20 > > > Hi Martin, > > > Thanks for sharing! > > >=20 > > > A few notes on your nice 8 steps ;) > > >=20 > > > - There are 2 maintenance modes to cover host maintenance (local) and > > > VM maintenance (global). Global maintenance disarms all HA hosts in > > > the cluster, so use it with caution as there's no fail over in this > > > mode. > > >=20 > > > - Initially these were available only as a command line[1]. Since 3.4= .0, > > > this was integrated into the UI, so all you need to do is move a hos= t > > > to maintenance in order to achieve local maintenance, and activate i= t > > > to remove the maintenance mode. For global maintenance, right click > > > the engine VM, and you will see enable/disable ha-maintenance for > > > the global mode. > > >=20 > > > - No need to re-install nodes. All you need to do is activate it. > > >=20 > > > - Basically a standard procedure should include: > > > * Move host to maintenance, login and update the host, activate the = host. > > > * Follow the above for all other HA hosts > > > * Set the engine VM to ha maintenance (global), login to the vm and > > > upgrade it, unset vm's ha-maintenance. > > >=20 > > > Appreciate your feedback. > > > Also, were you aware of [1] or did you look for info elsewhere? I'd l= ike > > > to know what we can do to improve documentation. Hi Doron, thanks for pointing out [1]. I was not aware of this, basically these are the steps I wrote ;)=20 Thanks for pointing out the availability of the maintenance mode in the GUI; I noticed local maint. being transparent (from GUI -> command line, though not the other way around). Also, I need the global maintenance for step one because of the engine upgrade because I suspect ha-agent would interfere because of necessary service restarts/downtime. It could have been reactivated much earlier though! Cheers, Daniel --=20 Daniel Helgenberger=20 m box bewegtbild GmbH=20 P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19=20 D-10115 BERLIN=20 www.m-box.de www.monkeymen.tv=20 Gesch=C3=A4ftsf=C3=BChrer: Martin Retschitzegger / Michaela G=C3=B6llner Handeslregister: Amtsgericht Charlottenburg / HRB 112767=20 --=-LYvGPzZHtKxAgDjAcPaA Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINtjCCBBYw ggL+oAMCAQICCwQAAAAAAS9O4S9SMA0GCSqGSIb3DQEBBQUAMFcxCzAJBgNVBAYTAkJFMRkwFwYD VQQKExBHbG9iYWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxT aWduIFJvb3QgQ0EwHhcNMTEwNDEzMTAwMDAwWhcNMTkwNDEzMTAwMDAwWjBUMQswCQYDVQQGEwJC RTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEqMCgGA1UEAxMhR2xvYmFsU2lnbiBQZXJzb25h bFNpZ24gMiBDQSAtIEcyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwWtB+TXs+BJ9 3SJRaV+3uRNGJ3cUO+MTgW8+5HQXfgy19CzkDI1T1NwwICi/bo4R/mYR5FEWx91//eE0ElC/89iY 7GkL0tDasmVx4TOXnrqrszi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