...
Code Block |
---|
[root@cld-np-19 ~]# nmcli
eno1: connected to System eno1
"Intel X710"
ethernet (i40e), 34:E6:D7:F5:53:0D, hw, port e4434b3a8890, mtu 1500
ip4 default
inet4 192.168.60.129/24
route4 192.168.60.0/24 metric 100
route4 default via 192.168.60.254 metric 100
inet6 fe80::36e6:d7ff:fef5:530d/64
route6 fe80::/64 metric 1024
eno3: connected to eno3
"Intel X710"
ethernet (i40e), 34:E6:D7:F5:53:0F, hw, port e4434b3a8892, mtu 9000
inet4 192.168.61.129/24
route4 192.168.61.0/24 metric 101
inet6 fe80::65:ec7c:7325:3bec/64
route6 fe80::/64 metric 1024
...
... |
Disable the compute node
Then disable the compute node, so that no new VMs will be instantiated on this compute node:
...
Code Block |
---|
openstack compute service list |
Finds the VM instantiated on this compute node
Then finds all the virtual machines instantiated on this compute node:
...
Code Block |
---|
openstack server list --all --host cld-np-19.cloud.pd.infn.it |
Migrate the VMs instantiated on this compute node
Then migrate each VM instantiated on this compute node to other hypervisors.
...
- Procedure to be used if the VM was created using a volume (the migration procedure doesn't require a downtime)
- Procedure to be used if the VM was created using ephemeral storage (the migration procedure requires a downtime)
Reinstall the node with AlmaLinux9
Once there are no more VMs on that compute node, reinstall the node with AlmaLinux9 using foreman
...
Code Block |
---|
[root@cld-np-19 ~]# yum clean all [root@cld-np-19 ~]# yum update -y |
Configure the data network
Once the node has been reinstalled with AlmaLinux9, configure the data network
...
The address to be used must be the original one
MTU must be 9000
Reinstall OpenManage
If this is a DELL host, reinstall DELL OpenManage, as explained here
...
Check on Nagios that the relevant checks get green
Configure the node as Openstack compute node using puppet
Then configure the node as Openstack compute node using puppet
...