zoukankan      html  css  js  c++  java
  • ES7.3.0配置

    # 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
    
  • 相关阅读:
    每日总结
    每日总结
    每日总结
    每日总结
    每周总结
    每日总结
    10.20
    10.19
    10.18
    10.17
  • 原文地址:https://www.cnblogs.com/sanduzxcvbnm/p/11993242.html
Copyright © 2011-2022 走看看