...
Migrate the instances on this compute node to other hypervisors. Instructions: Migrate an instance howto
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 using Foreman . Move and move the host to the 'hosts_all' hostgroup
As Operating System choose: CentOS Linux 8.2.2004
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)
- "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
Once the machine is reinstalled make Make sure that SElinux is disabled
...
Configure the data network (and, for Unipd nodes, also the storage one for Unipd nodes), e.g.:
Code Block | ||
---|---|---|
| ||
nmcli con mod eno3 ipv4.method manual ipv4.addr "192.168.61.129/24" nmcli con mod eno3 802-3-ethernet.mtu 9000 nmcli con up eno3 nmcli con mod eno3 connection.autoconnect yes |
...
Code Block | ||
---|---|---|
| ||
puppet agent -t |
If this host has 2 disks (one for the OS and one for the ephemeral storage disk), move /var/lib/nova/instances to the second disk
Start and enablepuppet:
Code Block | ||
---|---|---|
| ||
systemctl start puppet; systemctl enable puppet |
...