• CE Phoenix Add-Ons
  • Contact
  • CE Phoenix Add-Ons
  • Contact
home/KB/Ovirt 4.x Install

Upgrades to oVirt 4.2.x (Hosted Engine)

661 views 0 November 15, 2018 zipadmin

When you login to your oVirt Web UI and see that your hosts have upgrades, this is the process I follow:

  • Move all of your VMs off of HOST-A
  • Move your oVirt Engine VM to HOST-A so that is the only VM running on that host.
  • Login to HOST-A as root and do the following from the command line:
    • hosted-engine –set-maintenance –mode=global
  • On HOST-A you can use the following command to watch for the status of the VM to make sure it goes into GLOBAL MAINTENANCE
    • hosted-engine –vm-status
  • After you confirm GLOBAL MAINTENANCE, Login to Hosted Engine VM as root and run the following:
    • engine-upgrade-check
  • If updates are available
    • yum update ovirt\*setup\*
  • Run the following and review options, I use defaults:
    • engine-setup
  • For me, the upgrade always fails as the upgrade replaces /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf. My solution, I just re-edit that file and add my required adjustments again. Then I run:
    • systemctl restart ovirt-engine-notifier.service
    • service ovirt-engine restart
  • Now do the following and update the other packages on the oVirtEngine VM
    • yum update
  • **Important:** If any kernel packages were updated, reboot the VM to complete the update.
    • I use the following commands on the HOST-A to restart the Engine VM if required due to kernel updates
      • hosted-engine –vm-shutdown
      • hosted-engine –vm-status
      • (AFTER you confirm the engine is down)
        • hosted-engine –vm-start
  • Once the Engine restarts issue the following on HOST-A
    • hosted-engine –set-maintenance –mode=none
  • Now login to the WEB UI and go to Compute – Hosts
    • move the Hosted Engine to HOST-B
    • click HOST-A and put it in Management-Maintenance
    • click HOST-A and Installation-Upgrade
    • once HOST-A reboots, and is completed, Management-Activate
    • move the Hosted Engine to HOST-A
    • for each remaining HOST
      • move all VMs off of the host
      • click HOST and put it in Management-Maintenance
      • click HOST and Installation-Upgrade
      • once HOST reboots, and is completed, Management-Activate
    • once all HOSTS are upgraded, you should be done 😉

 

Was this helpful?

Yes  No
Related Articles
  • CentOS7 – oVirt – iSCSI
  • oVIRT 4.2.x Hosted Engine Setup – CentOS7
Ovirt 4.x Install
  • Upgrades to oVirt 4.2.x (Hosted Engine)
  • CentOS7 – oVirt – iSCSI
  • oVIRT 4.2.x Hosted Engine Setup – CentOS7
Recent Docs

    I am working on writing some docs on how to modify CE Phoenix.

    Let me know if you have any requests.


    Also keep in mind these docs are currently being written,
    so try not to be too critical over omissions.

    • Contact Info
    • Copyright Intricate Networks Inc.