Updated on 2023-06-20 GMT+08:00

How Do I Configure a Two-Replica CSS Cluster?

  1. Run GET _cat/indices?v in Kibana to check the number of cluster replicas. If the value of rep is 1, the cluster has two replicas.

  2. If the value of rep is not 1, run the following command to set the number of replicas:

    PUT /index/_settings

    {

    "number_of_replicas" : 1 //Number of replicas

    }

    index specifies the index name. Set this parameter based on site requirements.