| Option | NODE_ROLES | |
| Description | Defines the logical roles for a node within the LogScale cluster | |
| Introduced Version | 1.0.0 | |
| Default | all | |
| Values | all | Node has all roles and can perform any function within the cluster |
ingestonly | Node receives data for ingest and parses the data into events | |
httponly | Handles all sorts of HTTP request, including those of the ingest node | |
This setting determines the functional role of a node in the LogScale environment.
For a more detailed comparison of the different node roles, see Logical Node Roles.
Digest
and
Storage
nodes within a cluster use the
all designation but are
configured using
Digest Rules and
Storage Rules respectively.
Node roles cannot be combined; you must choose one of the available options.
NODE_ROLES=all
QUERY_COORDINATOR=true
ENABLE_QUERY_LOAD_BALANCING=trueImportant
After a host has been added to the cluster, changing its
NODE_ROLES setting is not allowed. A host will
crash if its configured role doesn't match what's recorded in
the global database. If you need to change a host's role
within a cluster, you must:
Unregister the host to remove it from the cluster
Wipe the data directory of the host
Boot the node back into the cluster as a new node
The node will then receive a new vhost identifier.