elasticsearch集群搭建

elasticsearch集群搭建:
cd ES_HOME/bin
修改elasticsearch.in.sh,设置jvm相关参数
if [ "x$ES_MIN_MEM" = "x" ]; then
ES_MIN_MEM=20g
fi
if [ "x$ES_MAX_MEM" = "x" ]; then
ES_MAX_MEM=20g
fi
JAVA_OPTS="$JAVA_OPTS -Xmn2g"
JAVA_OPTS="$JAVA_OPTS -Xss256k"
启动,bin/elasticsearch -d(集群中每台机器都要启动)



参考博客:https://blog.csdn.net/jthink_/article/details/51878738

posted on 2021-01-17 15:45  渐行渐远的那些人  阅读(58)  评论(0编辑  收藏  举报