Identification and voting

You can use the /etc/storpool.conf configuration file to set the ID of the node in the cluster, whether it is a voting node (see Adding and removing nodes), and the number of expected nodes.

Node ID

Use the SP_OURID option to set the ID of the node in the cluster. The value must be unique throughout the cluster.

SP_OURID=1

Non-voting beacon node

On client-only nodes (see Architecture) the storpool_server service should not be started. To achieve this, on such nodes you should set the SP_NODE_NON_VOTING option to 1, as shown below (default value is 0):

SP_NODE_NON_VOTING=1

Attention

It is strongly recommended to configure SP_NODE_NON_VOTING at the per-host configuration sections in storpool.conf; for details, see Per host configuration.

Expected nodes

Minimum number of expected voting nodes for beacon operation (see storpool_beacon). Usually equal to the number of nodes with SP_NODE_NON_VOTING=0 (see above):

SP_EXPECTED_NODES=3