Host upgrade best practices

Hello,

what is the suggested workflow for host upgrade, for example for installing a security patch (say, CVE-2016-3710 :-)? Let’s say you want to “yum update” all your hosts, and the upgrade contains the kernel package and a recommendation to restart all the qemu processes. How would you do it, if your ONe cloud contains uptime-sensitive VMs? Are there any pre-installed scripts for gradually rebooting all your cloud?

Thanks!

Hello Yenya, I do it manualy. Live migrate all VM from one node to others, yum update, reboot… LIve migrate all VM from second node and so on. You can write some scripts, which do this automaticaly.

Hi,

You can also use the ‘onehost flush’ command from the CLI:
http://docs.opennebula.org/4.14/administration/hosts_and_clusters/host_guide.html#enable-disable-and-flush

Carlos Martín forum@opennebula.org writes:

Hi,

Hello,

You can also use the ‘onehost flush’ command from the CLI:
Managing Hosts — OpenNebula 4.14.2 documentation

I forgot this one.

Is it a live migrate?

Regards.

Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF

This is configured in sched.conf, LIVE_RESCHEDS attribute:
http://docs.opennebula.org/4.14/administration/references/schg.html

Carlos Martín forum@opennebula.org writes:

This is configured in sched.conf, LIVE_RESCHEDS attribute:
Scheduler — OpenNebula 4.14.2 documentation

Thanks a lot.
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF