Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Disable the node so that no new VMs will be scheduled on this host. Instructions: Disable/Enable a compute node howto

Migrate the instances on this compute node to other hypervisors. Instructions: Migrate an instance howto (warning: there was once a problem with live-block migration; we therefore decided to always use cold migration)


Just in case save the file /etc/iscsi/initiatorname.iscsi and the output of "ifconfig" command in cld-ctrl-01:/root/Backup/<hostname>

...

Reinstall the host with CentOS8 stream using Foreman and move the host to the 'hosts_all' hostgroup

As Operating System choose: CentOS Linux 8.2.2004Stream 8

As Media choose: CentOS-Stream-local

As Partition table select

  • "Kickstart default - swap 128 GB" (if this machine has 2 disks: one for the OS and one for the VM ephemeral storage). WARNING this will scratch also the second disk. Chidere a Traldi cosa usare per non scratchare il secondo disco
  • "Kickstart default - swap 128 GB 1 disk 2 parts" (if this machine has only one disk for both the OS and the VM ephemeral storage

...

Reboot the node.

Enable the host. From cld-ctrl-01 after having sourced admin-openrc.sh:

Code Block
languagebash
openstack compute service set --enable cld-np-19.cloud.pd.infn.it nova-compute

...

Force the execution of the sensor "VM network and volume" nagios sensor

...