crm_uuid — get a node's UUID
UUIDs are used to identify cluster nodes to ensure that they can always be uniquely identified. The crm_uuid command displays and modifies the UUID of the node on which it is run.
When Heartbeat is first started on a node, it creates a UUID (in binary
form) in /var/lib/heartbeat/hb_uuid. This file
can be read and written by means of crm_uuid.
![]() | Note |
|---|---|
There are very rare circumstances when crm_uuid should be used to modify the UUID file. The most common is when it is necessary to set a node's UUID to a known value when creating a new cluster. | |
--write, -wWrite a UUID value to the
/var/lib/heartbeat/hb_uuid file.
![]() | Warning |
|---|---|
Use the | |
--read, -rRead the UUID value and print it to stdout.