configuremasters CLI command
Use this command to configure or modify masters in the Indexer cluster.
While installing the Indexers you can enable any one node as the master. After you set up the Indexer cluster, run this CLI command to configure additional nodes as the master or replace the current master node.
Each time you run this command, you must provide details of all the nodes that act as master nodes. For example, to retain the current master node and configure another node to act as a master node, while running this command, provide details for both the current master and the additional master. Generally, the minimum number of master nodes should be configured to a quorum (majority) of n/2 + 1 where n is the number of master eligible nodes for the cluster. If there are two nodes then n/2+1 = 2. That means, for the cluster to be completely functional, both the master eligible nodes should be running, but if there are three master eligible nodes then n/2 + 1 = 2, it means that even if one master eligible node is not functional due to some reasons, the cluster would be still functional.
To understand the syntax and examples, see:
Related topics
Syntax
- Angle brackets (< >) indicate a variable value that needs to be user defined.
- Square brackets ([ ]) indicate optional parameters.
The following table describes the parameters used in the syntax:
Example inputs
The following example provides the input for configuring win-pun-01 and win-pun-02 as masters in the Indexer environment.