Option | NODE_ROLES | |
Description | Select the logical roles for a node within the LogScale cluster | |
Default | all | |
Values | all | Node has all roles and can perform any function within the cluster |
httponly | Handles all sorts of HTTP request, including those of the ingest node | |
ingestonly | Node receives data for ingest and parsers the data into events |
Select roles for node.
A more detailed comparison is available in 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 are not combinable; one of the available options must be chosen.
NODE_ROLES=all
QUERY_COORDINATOR=true
ENABLE_QUERY_LOAD_BALANCING=true
Important
Changing the NODE_ROLES
of a host is forbidden
after it has been added to the cluster. A host will crash if
the role it is configured to have doesn't match what is listed
in the global database for that host. If you want to change
the role of a host in a cluster you need to remove that host
from the cluster by unregistering it, wipe the data directory
of the host, and then boot the node back into the cluster as
if it were a completely new node. The node will then be
assigned a new vhost identifier.