<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ### Elasticsearch優化 - 數據目錄單獨磁盤分區存放 - 最好RAID 10或RAID 0 ### JVM配置 /etc/elasticsearch/jvm.options ```shell -Xms2g #是指設定程序啟動時占用內存大小 -Xmx2g #是指設定程序運行期間最大可占用的內存大小 ``` #### 建議設置一樣大小,避免JVM的垃圾回收和內存的申請 ### 配置Elasticsearch內存鎖 /etc/elasticsearch/elasticsearch.yml ```shell # 內存鎖配置,避免使用swap分區 # 5.x開啟還需要配置Elasticsearch的啟動選項,否則啟動失敗 bootstrap.memory_lock: true ``` /usr/lib/systemd/system/elasticsearch.service ```shell #允許使用無限大的內存 LimitMEMLOCK=infinity ``` 修改elasticsearch.service需要重新加載 ```shell systemctl daemon-reload systemctl restart elasticsearch.service ``` >[官方文檔](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/setting-system-settings.html#systemd "官方文檔") ### Elasticsearch數據遷移到新集群 #### 場景介紹 1臺ES服務器hostA,一組新ES集群hostB,hostC,想講hostA中的數據遷移至新集群,版本無變化 ##### 將hostB,hostC加入到hostA中 可行,但hostA想廢棄,次方案放棄 ##### 將hostA中的數據目錄拷貝到新集群 可行,但有以下注意事項 1.如hostA中的數據只能復制到新集群中的一臺,因為數據目錄保存了節點信息,如果hostB和hostC數據一樣, 會沖突 ```shell [2017-09-07T10:35:22,521][INFO ][o.e.d.z.ZenDiscovery ] [node-1] failed to send join request to master [{master-1}{DJsZJ1WURqGX_1veHrxVNw}{G-L07qVPQiu9F1_5XTUt4A}{192.168.0.231}{192.168.0.231:9300}], reason [RemoteTransportException[[master-1][192.168.0.231:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {node-1}{DJsZJ1WURqGX_1veHrxVNw}{ll64l0GAQ-ebOrsMSGJ5Cg}{192.168.0.232}{192.168.0.232:9300}, found existing node {master-1}{DJsZJ1WURqGX_1veHrxVNw}{G-L07qVPQiu9F1_5XTUt4A}{192.168.0.231}{192.168.0.231:9300} with the same id but is a different node instance]; ] ``` 2.集群要全部停止,然后先啟動有數據的ES ### 故障一例(磁盤超過85%,ES會告警) https://www.elastic.co/guide/en/elasticsearch/reference/5.5/disk-allocator.html 可以選擇ES配置中關閉檢測 ```shell cluster.routing.allocation.disk.threshold_enabled: false ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看