elasticsearch 5.2 部署及Rally压力测试

本文介绍了如何下载并部署Elasticsearch 5.2.0版本,并使用Rally进行压力测试。通过运行`./esrally list tracks`和`./esrally --distribution-version=5.2.0`命令,读者可以了解测试过程。参考官方Rally文档以获取详细步骤。
摘要由CSDN通过智能技术生成

https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.0.zip

unzip elasticsearch-5.2.0.zip
chown -R es.es elasticsearch-5.2.0

es启动需要在非root下,新建账号和创建数据目录
useradd es
mkdir /export/es52/

修改配置文件
cat elasticsearch.yml
path.data: /export/es52/data
path.logs: /export/es52/logs
network.host: 192.168.80.11

启动
./bin/elasticsearch -d
jps 验证

curl http://192.168.80.11:9200/
{
  "name" : "g-H2EPn",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "UbMTV1G5QtGyBjCRZ9XJSw",
  "version" : {
    "number" : "5.2.0",
    "build_hash" : "24e05b9",
    "build_date" : "2017-01-24T19:52:35.800Z",
    "build_snapshot" : false,
    "lucene_version"
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值