1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
| root@master-100:~
root@master-100:~ root@master-100:~
root soft nofile 1048576 root hard nofile 1048576 * soft nofile 1048576 * hard nofile 1048576
root soft nproc unlimited root hard nproc unlimited * soft nproc unlimited * hard nproc unlimited
cluster.name: my-es node.name: node-01 node.master: true node.data: true node.max_local_storage_nodes: 3 path.data: /usr/local/elastic/data path.logs: /usr/local/elastic/logs network.host: "192.168.250.100" http.port: 9200 transport.tcp.port: 9300 discovery.seed_hosts: ["192.168.250.100", "192.168.250.101"] cluster.initial_master_nodes: ["node-01", "node-02"] http.cors.enabled: true http.cors.allow-origin: "*"
-Xms100m -Xmx100m
export ES_JAVA_HOME=/usr/local/elastic/jdk export PATH=$PATH:$ES_JAVA_HOME/bin
root@master-100:/usr/local root@master-100:/usr/local
root@master-100:/usr/local/elastic root@master-100:/usr/local/elastic/config 0 S elastic 1497 1 14 80 0 - 1216147 futex_ 11:54 ? 00:00:29 /usr/local/elastic/jdk/bin/java -Xshare:auto -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl
|