Naming A Node
Node name is the name given to a node. It is how nodes are identified within the cluster and must be unique to the cluster.
The name cannot contain any of the following characters:
.,*>. Dot, comma, asterisk, greater than, or whitespace.
The name is set in the
harperdb-config.yamlfile using the
Note: If you want to change the node name make sure there are no subscriptions in place before doing so. After the name has been changed a full restart is required.
There are multiple ways to update this element, they are:
- 1.Directly editing the
Note: When making any changes to the
harperdb-config.yamlfile HarperDB must be restarted for the changes to take effect.
set_configurationthrough the operations API
- 3.Using command line variables.
harperdb --CLUSTERING_NODENAME Node1
- 4.Using environment variables.