To retire node2, you need to shut node2 down properly and remove it from the rack or chassis.
Resume the operation by using the following command:
system controller replace resume
The node halts automatically.
You can decommission node2 after the upgrade is completed. See Decommission the old system.