single heads or HA?
basically it's a normal headswap:
make a note of the old and new system IDs and license keys.
move all disks to the new system.
boot into maintenance mode.
reassign the old disks to the new system ID: disk reassign -s <old ID> -d <new ID>
reboot
install the licenses of the new system: license add <keys>