CLUSTER MYID

Since 1.1.0Cluster

Syntax

CLUSTER MYID

Returns this node's ID: 40 hexadecimal characters, kept in nodes.conf across restarts. CLUSTER RESET HARD gives the node a new one.

Examples

> CLUSTER MYID
"b2744aeada9b56dd000f101f31447a33a15c9b08"