<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      莊澤波の博客

      好記性不如爛筆頭

      Centos單機部署Elasticsearch7.2集群

      配置node0

      # ======================== Elasticsearch Configuration =========================
      #
      # NOTE: Elasticsearch comes with reasonable defaults for most settings.
      #       Before you set out to tweak and tune the configuration, make sure you
      #       understand what are you trying to accomplish and the consequences.
      #
      # The primary way of configuring a node is via this file. This template lists
      # the most important settings you may want to configure for a production cluster.
      #
      # Please consult the documentation for further information on configuration options:
      # https://www.elastic.co/guide/en/elasticsearch/reference/index.html
      #
      # ---------------------------------- Cluster -----------------------------------
      #
      # Use a descriptive name for your cluster:
      #
      cluster.name: estest
      #
      # ------------------------------------ Node ------------------------------------
      #
      # Use a descriptive name for the node:
      #
      node.name: test1
      #
      # Add custom attributes to the node:
      #
      node.attr.rack: r1
      node.master: true
      node.data: true
      #
      # ----------------------------------- Paths ------------------------------------
      #
      # Path to directory where to store the data (separate multiple locations by comma):
      #
      path.data: data
      #
      # Path to log files:
      #
      path.logs: logs
      #
      # ----------------------------------- Memory -----------------------------------
      #
      # Lock the memory on startup:
      #
      #bootstrap.memory_lock: true
      #
      # Make sure that the heap size is set to about half the memory available
      # on the system and that the owner of the process is allowed to use this
      # limit.
      #
      # Elasticsearch performs poorly when the system is swapping the memory.
      #
      # ---------------------------------- Network -----------------------------------
      #
      # Set the bind address to a specific IP (IPv4 or IPv6):
      #
      network.host: 0.0.0.0
      #
      # Set a custom port for HTTP:
      #
      http.port: 9200
      # 內部節點通信端口
      transport.tcp.port: 9300
      # 開啟安全防護
      http.cors.enabled: true
      http.cors.allow-origin: /.*/
      #
      # For more information, consult the network module documentation.
      #
      # --------------------------------- Discovery ----------------------------------
      #
      # Pass an initial list of hosts to perform discovery when this node is started:
      # The default list of hosts is ["127.0.0.1", "[::1]"]
      # 設置可參選master的節點
      #discovery.seed_hosts: ["127.0.0.1:9300","127.0.0.1:9301","127.0.0.1:9302"]
      discovery.seed_hosts: ["127.0.0.1", "[::1]"]
      # ping超時時長,默認3S,適當修改,防止腦裂
      discovery.zen.ping_timeout: 120s
      client.transport.ping_timeout: 60s
      http.cors.allow-headers: Authorization,X-Requested-With,Content-Length,Content-Type
      #
      # Bootstrap the cluster using an initial set of master-eligible nodes:
      #
      #cluster.initial_master_nodes: ["node-1", "node-2"]
      cluster.initial_master_nodes: ["test1","test2","test3"]
      #cluster.initial_master_nodes: ["127.0.0.1:9300","127.0.0.1:9301","127.0.0.1:9302"]
      #
      # For more information, consult the discovery and cluster formation module documentation.
      #
      # ---------------------------------- Gateway -----------------------------------
      #
      # Block initial recovery after a full cluster restart until N nodes are started:
      #
      #gateway.recover_after_nodes: 3
      #
      # For more information, consult the gateway module documentation.
      #
      # ---------------------------------- Various -----------------------------------
      #
      # Require explicit names when deleting indices:
      #
      #action.destructive_requires_name: true

       

      配置node1

      # ======================== Elasticsearch Configuration =========================
      #
      # NOTE: Elasticsearch comes with reasonable defaults for most settings.
      #       Before you set out to tweak and tune the configuration, make sure you
      #       understand what are you trying to accomplish and the consequences.
      #
      # The primary way of configuring a node is via this file. This template lists
      # the most important settings you may want to configure for a production cluster.
      #
      # Please consult the documentation for further information on configuration options:
      # https://www.elastic.co/guide/en/elasticsearch/reference/index.html
      #
      # ---------------------------------- Cluster -----------------------------------
      #
      # Use a descriptive name for your cluster:
      #
      cluster.name: estest
      #
      # ------------------------------------ Node ------------------------------------
      #
      # Use a descriptive name for the node:
      #
      node.name: test2
      #
      # Add custom attributes to the node:
      #
      node.attr.rack: r1
      node.master: false
      node.data: true
      #
      # ----------------------------------- Paths ------------------------------------
      #
      # Path to directory where to store the data (separate multiple locations by comma):
      #
      path.data: data
      #
      # Path to log files:
      #
      path.logs: logs
      #
      # ----------------------------------- Memory -----------------------------------
      #
      # Lock the memory on startup:
      #
      #bootstrap.memory_lock: true
      #
      # Make sure that the heap size is set to about half the memory available
      # on the system and that the owner of the process is allowed to use this
      # limit.
      #
      # Elasticsearch performs poorly when the system is swapping the memory.
      #
      # ---------------------------------- Network -----------------------------------
      #
      # Set the bind address to a specific IP (IPv4 or IPv6):
      #
      network.host: 0.0.0.0
      #
      # Set a custom port for HTTP:
      #
      http.port: 9201
      # 內部節點通信端口
      transport.tcp.port: 9301
      # 開啟安全防護
      http.cors.enabled: true
      http.cors.allow-origin: /.*/
      #
      # For more information, consult the network module documentation.
      #
      # --------------------------------- Discovery ----------------------------------
      #
      # Pass an initial list of hosts to perform discovery when this node is started:
      # The default list of hosts is ["127.0.0.1", "[::1]"]
      # 設置可參選master的節點
      #discovery.seed_hosts: ["127.0.0.1:9300","127.0.0.1:9301","127.0.0.1:9302"]
      discovery.seed_hosts: ["127.0.0.1:9300"]
      # ping超時時長,默認3S,適當修改,防止腦裂
      discovery.zen.ping_timeout: 120s
      client.transport.ping_timeout: 60s
      http.cors.allow-headers: Authorization,X-Requested-With,Content-Length,Content-Type
      #
      # Bootstrap the cluster using an initial set of master-eligible nodes:
      #
      #cluster.initial_master_nodes: ["node-1", "node-2"]
      cluster.initial_master_nodes: ["test1","test2","test3"]
      #cluster.initial_master_nodes: ["127.0.0.1:9300","127.0.0.1:9301","127.0.0.1:9302"]
      #
      # For more information, consult the discovery and cluster formation module documentation.
      #
      # ---------------------------------- Gateway -----------------------------------
      #
      # Block initial recovery after a full cluster restart until N nodes are started:
      #
      #gateway.recover_after_nodes: 3
      #
      # For more information, consult the gateway module documentation.
      #
      # ---------------------------------- Various -----------------------------------
      #
      # Require explicit names when deleting indices:
      #
      #action.destructive_requires_name: true

      配置node2:

      # ======================== Elasticsearch Configuration =========================
      #
      # NOTE: Elasticsearch comes with reasonable defaults for most settings.
      # Before you set out to tweak and tune the configuration, make sure you
      # understand what are you trying to accomplish and the consequences.
      #
      # The primary way of configuring a node is via this file. This template lists
      # the most important settings you may want to configure for a production cluster.
      #
      # Please consult the documentation for further information on configuration options:
      # https://www.elastic.co/guide/en/elasticsearch/reference/index.html
      #
      # ---------------------------------- Cluster -----------------------------------
      #
      # Use a descriptive name for your cluster:
      #
      cluster.name: estest
      #
      # ------------------------------------ Node ------------------------------------
      #
      # Use a descriptive name for the node:
      #
      node.name: test3
      #
      # Add custom attributes to the node:
      #
      node.attr.rack: r1
      node.master: false
      node.data: true
      #
      # ----------------------------------- Paths ------------------------------------
      #
      # Path to directory where to store the data (separate multiple locations by comma):
      #
      path.data: data
      #
      # Path to log files:
      #
      path.logs: logs
      #
      # ----------------------------------- Memory -----------------------------------
      #
      # Lock the memory on startup:
      #
      #bootstrap.memory_lock: true
      #
      # Make sure that the heap size is set to about half the memory available
      # on the system and that the owner of the process is allowed to use this
      # limit.
      #
      # Elasticsearch performs poorly when the system is swapping the memory.
      #
      # ---------------------------------- Network -----------------------------------
      #
      # Set the bind address to a specific IP (IPv4 or IPv6):
      #
      network.host: 0.0.0.0
      #
      # Set a custom port for HTTP:
      #
      http.port: 9202
      # 內部節點通信端口
      transport.tcp.port: 9302
      # 開啟安全防護
      http.cors.enabled: true
      http.cors.allow-origin: /.*/
      #
      # For more information, consult the network module documentation.
      #
      # --------------------------------- Discovery ----------------------------------
      #
      # Pass an initial list of hosts to perform discovery when this node is started:
      # The default list of hosts is ["127.0.0.1", "[::1]"]
      # 設置可參選master的節點
      #discovery.seed_hosts: ["127.0.0.1:9300","127.0.0.1:9301","127.0.0.1:9302"]
      discovery.seed_hosts: ["127.0.0.1:9300"]
      # ping超時時長,默認3S,適當修改,防止腦裂
      discovery.zen.ping_timeout: 120s
      client.transport.ping_timeout: 60s
      http.cors.allow-headers: Authorization,X-Requested-With,Content-Length,Content-Type
      #
      # Bootstrap the cluster using an initial set of master-eligible nodes:
      #
      #cluster.initial_master_nodes: ["node-1", "node-2"]
      cluster.initial_master_nodes: ["test1","test2","test3"]
      #cluster.initial_master_nodes: ["127.0.0.1:9300","127.0.0.1:9301","127.0.0.1:9302"]
      #
      # For more information, consult the discovery and cluster formation module documentation.
      #
      # ---------------------------------- Gateway -----------------------------------
      #
      # Block initial recovery after a full cluster restart until N nodes are started:
      #
      #gateway.recover_after_nodes: 3
      #
      # For more information, consult the gateway module documentation.
      #
      # ---------------------------------- Various -----------------------------------
      #
      # Require explicit names when deleting indices:
      #
      #action.destructive_requires_name: true

       

       

       

      系統配置:

      vm.max_map_count=655360

       

      啟動三個節點:

      nohup ./bin/elasticsearch > log 2>&1 &

       

      posted on 2020-03-30 22:34  莊澤波  閱讀(1082)  評論(0)    收藏  舉報

      導航

      主站蜘蛛池模板: 日本免费一区二区三区久久| 国产欧美日韩高清在线不卡| 亚洲精品日韩在线观看| 免费AV片在线观看网址| 成人3D动漫一区二区三区| 国产精品午夜福利在线观看| 粗大猛烈进出高潮视频| 国产精品一区二区三区性色| 国产高清在线不卡一区| 色欲aⅴ亚洲情无码av蜜桃| 久久久久蜜桃精品成人片公司| 国产精品国产精品国产精品| 在线观看无码不卡av| 丰满少妇内射一区| 中文字幕人成无码免费视频| 国产日韩入口一区二区| 欧美成本人视频免费播放| 亚洲色大成永久WW网站| 国产色悠悠视频在线观看| 国产日韩av免费无码一区二区三区 | 久久久久久九九99精品| 国产成人无码性教育视频 | 在线日韩日本国产亚洲| 亚洲综合91社区精品福利| 国产精品99中文字幕| 国产av不卡一区二区| 国产成人一区二区三区免费| 亚洲国产欧美日韩另类| 午夜精品福利亚洲国产| 国产亚洲精品综合99久久| 国产精品久久久久久爽爽爽| 国产精品先锋资源在线看| 欧美人人妻人人澡人人尤物| 鲁鲁网亚洲站内射污| 成人国产亚洲精品一区二区| 九九热精品在线观看| 久久夜色精品国产亚av| 人妻一区二区三区三区| 亚洲高潮喷水无码AV电影| 国产精品一区二区三区蜜臀| 99热精品国产三级在线观看|