how to exchange one node from a ha cluster ?

Hey guys,
i’m running a two-node HA cluster with SLES 12 SP5 and two HP servers.
We will now exchange the old server with a new one. How to achieve that ?
My idea is:
move all resources to the newer server
delete the old node from the cluster
shutdown the old node
install and configure the new one with the same HA configuration as the old one
start the new one, start pacemaker and integrate it into the cluster
Is that ok ?
What if additionally i’d like to update the OS of both with SLES 15 ? Is there a way ?
How would you do that ?
Thanks.

Bernd