[Get nèng - SearchGuard] application piece - to manually adjust the number of copies searchguard index

I. Description of the problem

searchguard default main index, the number of -1 the number of copies is an example of node data
copy number data should be set to the node number of machines - 1, otherwise there will be time to deploy multiple data instances on one machine part searchguard copies of the index fails to allocate.

Solution
plus -us initialization parameters, followed by searchguard index number of copies.

II. Searchguard reset the index number of copies

If already it has been initialized, using the default settings. There will be instances when deploying a plurality of data on a single machine part searchguard copies of the index fails to allocate. We need searchguard index number of copies of the manual modifications in this case.
But we did not have permission to directly operate searchguard index, the following two commands, re-initialized.

1. Turn off searchguard index number of copies of the automatic extensions
mainly add -dra parameters

sgadmin -ts truststore.jks -tspass 1f2d6dd209fa175ef53 -ks CN=sgadmin-keystore.jks -kspass d7ead33742c28e131c9b -nhnv -cn my-application -cd …/sgconfig/ -dra

2. Manually adjust the number of copies searchguard index
was mainly adding -us parameters

sgadmin -ts truststore.jks -tspass 1f2d6dd209fa175ef533 -ks CN=sgadmin-keystore.jks -kspass d7ead33742c28e131c9b -nhnv -cn my-application -cd …/sgconfig/ -us 3


Recommended items

CLOUD-IT : IT service management platform, integrated basic services, middleware services, alarm monitoring services.
CLOUD-ACTIVITI6-IT : the Activiti tutorial source code. CSDN Activiti Bowen in this series.
CLOUD-elasticsearch-IT : elasticsearch tutorial source code. CSDN elasticsearch Bowen in this series.
CLOUD-KAFKA-IT : the Spring integration kafka tutorial source code. Bowen in this CSDN kafka series.
-CLOUD-KAFKA-IT CLIENT : Client tutorial source Kafka used to live. Bowen in this CSDN kafka series.

Open source project, continuously updated, the Star ~ like please

Published 160 original articles · won praise 46 · Views 200,000 +

Guess you like

Origin blog.csdn.net/yy756127197/article/details/103922413
Recommended