Open YanChii opened 2 years ago
The UUID is a SmartOS thing received from sysinfo. There's a override_uuid=...
bootparam:
https://github.com/TritonDataCenter/smartos-live/blob/release-20220407/src/sysinfo#L126
You can add it to /boot/loader.conf
or /mnt/usbkey/boot/loader.conf
in case of diskboot or usbboot respectively.
Creating issue on behalf of
@klebed
from Gitter chat:hi, everyone! We have changed motherboard on one of the servers. There is no tool that allows to change serial on this type of MB, so now node came online, but we can't collect data about it, because it tries to register new entry, but can't because nodename already there. In fact binding to serial number is very confusing in many ways. It's better to use nodename or UUID saved somewhere, rather than getting it from HW every time.
Can you advise what to do with that node to change it's UUID to the new one leaving all the machines on that node intact? I don't even know how to get new UUID of the node.
...
also. after MB change I had to make a complex transaction to set new UUID of the node.
if someone would have such case... Either do this transaction with proper uuids, or delete the node and add it from scratch.
And also update UUID in Zabbix.