configuremasters


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 for all the nodes that act as masters. For example, to retain the current master and configure another node to act as master, while running this command, provide details for both the current master and the additional master.

Recommendation

Use the following recommendation as a guideline to decide the number of Indexers that must act as masters:

  • If the Indexer cluster contains upto two Indexers: At a minimum, one Indexer must act as master. 
  • If the Indexer cluster contains three or more Indexers: At a minimum, three Indexers must act as masters.

To understand the syntax and examples, see:

Related topics

Where to find more information

Syntax

Note

Prefix this command with the following, as appropriate:

  • For Windows: itda.bat
  • For Linux: ./itda.sh

configuremasters -d <hostname> -p <portNumber> -n <masterNodeDetails>
-u <username> -w <password> [-l <locale>] [-s]

  • 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. 

configuremasters -u admin -w admin12345 -d localhost -p 9797
-n win-pun-01:9300, win-pun-02:9300

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*