OptionNODE_ROLES
Description Defines the logical roles for a node within the LogScale cluster
Introduced Version1.0.0
Defaultall
ValuesallNode has all roles and can perform any function within the cluster
 ingestonlyNode receives data for ingest and parses the data into events
 httponlyHandles 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.

ini
NODE_ROLES=all
QUERY_COORDINATOR=true
ENABLE_QUERY_LOAD_BALANCING=true

Important

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:

  1. Unregister the host to remove it from the cluster

  2. Wipe the data directory of the host

  3. Boot the node back into the cluster as a new node

The node will then receive a new vhost identifier.