码迷,mamicode.com
首页 > 其他好文 > 详细

ES7.3.0配置

时间:2019-12-06 09:36:15      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:code   enabled   iat   index   arc   cer   p12   one   head   

# elasticsearch.yml
cluster.name: my-application
node.name: node-1

node.master: true
node.ingest: true
node.data: true

network.host: 172.17.107.187
http.port: 9203

transport.port: 9303

discovery.seed_hosts: ["172.17.107.187:9303", "172.17.107.187:9301","172.17.107.187:9302"]
cluster.initial_master_nodes: ["node-1"]

http.cors.enabled: true
http.cors.allow-credentials: true
http.cors.allow-origin: "*"
http.cors.allow-headers: WWW-Authenticate,X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization

xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12

indices.fielddata.cache.size:  40%

index.store.type: niofs
node.store.allow_mmap: false

indices.breaker.type: none
# jvm.options

-Xms2g
-Xmx2g


-XX:+UseG1GC
-XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly

ES7.3.0配置

标签:code   enabled   iat   index   arc   cer   p12   one   head   

原文地址:https://www.cnblogs.com/sanduzxcvbnm/p/11993242.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!