LoginSignup
0
0

More than 5 years have passed since last update.

ElasticSearch 5.5.0 → 5.5.1に最短手順でリビジョン上げてみた。

Last updated at Posted at 2017-08-03

■概要

ElasticSearchのリビジョンアップの手順の確認

■環境

CentOS 7

■実行

yum -y update

Installコマンドを実行しなくてもelaticsearch kibana logstashは5.5.1にリビジョンアップ

■X-Packのリビジョンアップ

X-Packはyumでは実行出来ないため、下からzipを取得する。
https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.5.1.zip

■X-Pack再インストール

#まずはlistで表示してpluginを確認 Elasticsearch だけはX-Packをremoveが必要
/usr/share/elasticsearch/bin/elasticsearch-plugin list

#旧5.5.0が残っているのでX-Packを削除
/usr/share/elasticsearch/bin/elasticsearch-plugin remove x-pack
/usr/share/kibana/bin/kibana-plugin remove x-pack
/usr/share/logstash/bin/logstash-plugin remove x-pack
#elasticsearch以外はx-packを削除しなくても再インストール可能でしたが、listで確認しましょう。

#5.5.1をインストール
/usr/share/elasticsearch/bin/elasticsearch-plugin install file:///path/x-pack-5.5.1.zip
/usr/share/kibana/bin/kibana-plugin install file:///path/x-pack-5.5.1.zip
/usr/share/logstash/bin/elogstash-plugin install file:///path/x-pack-5.5.1.zip

■kibana ymlが初期化されたので修正 server.hostの"#"を外す

vi /etc/kibana/kibana.yml
server.host:”0.0.0.0”

■諸々Restart

systemctl daemon-reload
systemctl restart elasticsearch
systemctl restart kibana
systemctl restart logstash

■firewallをrestartしないと繋がらなかった

systemctl restart firewalld

■起動確認、終了

curl -u elastic:changeme localhost:9200
curl -u elastic:changeme localhost:5601

次の5.6も同じ方法でアップデート出来るかは確認します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0