configureredundancy CLI command


Use this command to perform the following functions:

  • Enable redundancy for Indexers in the cluster.
  • Disable redundancy for Indexers in the cluster.
  • View the current redundancy state to understand whether redundancy for Indexers is applied or not.

For more information, see Indexer redundancy

Best practice

BMC recommends you to not run this command while indexed data is being searched to avoid performance impact.

To understand the syntax and examples, see:

Before you begin

Ensure that the product is up and running.

Syntax

Note

Before you run the command, note the following points:

configureredundancy -d <hostname> -p <portNumber> -u <username> -w <password> -ops <operationName> -replicas <count> [-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 enabling redundancy for all the Indexers in your environment, with the replication factor set to 2.

configureredundancy -u admin -w admin12345 -d win-pun-01 -p 9797 -ops enable -replicas 2

The following example provides the input for disabling redundancy for all the Indexers in your environment.

configureredundancy -u admin -w admin12345 -d win-pun-01 -p 9797 -ops disable

The following example provides the input for checking whether Indexer redundancy is applied or not.

configureredundancy -u admin -w admin12345 -d win-pun-01 -p 9797 -ops status

 

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