ElasticSearch (6) cluster setting

configuration file : $ES_HOME/conf/elasticsearch.yml

cluster.name : PPPPPP

path.conf: /opt/PPPPPP/elasticsearch/conf

index.number_of_replicas : 0

index.number_of_shards : 5

index.analysis.analyzer.default.pattern : "[^\\w]+"

index.analysis.analyzer.default.type : pattern

index.store.compress.stored : true

bootstrap.mlockall : true

path.data : /opt/PPPPPP/elasticsearch/data11,/opt/PPPPPP/elasticsearch/data12,/opt/PPPPPP/elasticsearch/data13,/opt/PPPPPP/elasticsearch/data14,

path.log : /var/log/elasticsearch

path.work : /opt/PPPPPP/elasticsearch/work

transport.tcp.port: 9300

transport.tcp.compress: true

http.port: 9200

discovery.zen.ping.multicast.enabled: false

discovery.zen.ping.unicast.hosts: vm-aa2b-5661:9300,vm-851a-e44f:9300,vm-8c7b-ef90:9300,

jmx.create_connector: true

jmx.port: 9400

jmx.domain: PPPPPP

 

猜你喜欢

转载自ilnba.iteye.com/blog/1754402