If you want to do it online, with some tool under Linux, it can’t be done.
Unless you have an HP Proliant 100 series, you need to enter the RBSU and change the serial number.
Setsys Utility for HP ProLiant 100 series G5 and G6 Servers
Always remember to change the serial number back when replacing the system board.