Migrate all vms and containers from the old node to the new node
Shutdown the old node, wipe the system disk
Remove the old node like descriped in the wiki
Depending on your setup (whether you have Ceph or not, configured replication jobs etc) there might be more to it, so please read the linked instructions to ensure that you didn't missed anything .