差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
ja:quickguides:elasticsearch_cluster [2022/06/10 22:00] – [Elasticsearch cluster configuration] junichi | ja:quickguides:elasticsearch_cluster [2022/06/10 22:18] – [Configuration] junichi | ||
---|---|---|---|
行 3: | 行 3: | ||
[[: | [[: | ||
- | ===== Requirements | + | ===== 前提条件 |
* You must first follow the [[: | * You must first follow the [[: | ||
* The minimum size of an Elasticsearch cluster is 3 nodes and it must always grow in odd numbers in order to make use of the // | * The minimum size of an Elasticsearch cluster is 3 nodes and it must always grow in odd numbers in order to make use of the // | ||
* Ensure that you have connectivity between all 3 nodes and that ports 9200 and 9300 are accessible between each and every node. | * Ensure that you have connectivity between all 3 nodes and that ports 9200 and 9300 are accessible between each and every node. | ||
+ | |||
+ | * まず最初に [[: | ||
+ | * Elasticsearch クラスターの最小サイズは 3ノードであり、// | ||
+ | * 3つのノードすべての間で通信が可能であり、各ノード間でポート 9200 および 9300 へアクセスできることを確認してください。 | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | ===== Configuration | + | <WRAP center round tip 60%> |
+ | |||
+ | ===== 設定 | ||
Stop the Elasticsearch service on each and every node: | Stop the Elasticsearch service on each and every node: | ||
+ | |||
+ | 全ノードの Elasticsearch サービスを停止します。 | ||
+ | |||
< | < | ||
行 21: | 行 30: | ||
Modify the following lines in the configuration file ''/ | Modify the following lines in the configuration file ''/ | ||
+ | |||
+ | 設定ファイル ''/ | ||
< | < | ||
行 29: | 行 40: | ||
// | // | ||
+ | |||
+ | 該当行を // | ||
+ | |||
< | < | ||
行 37: | 行 51: | ||
Example with IP addresses: | Example with IP addresses: | ||
+ | |||
+ | IP アドレスでの例: | ||
< | < | ||
行 45: | 行 61: | ||
<WRAP center round important 60%>Make sure that the line '' | <WRAP center round important 60%>Make sure that the line '' | ||
+ | |||
+ | <WRAP center round important 60%>'' | ||
Before starting the service, because the nodes were started for the first time on their own (standalone), | Before starting the service, because the nodes were started for the first time on their own (standalone), | ||
+ | |||
+ | ノードは初回に単独で(スタンドアロンで)開始されたため、サービスを開始する前にデータフォルダーの内容(デフォルトでは ''/ | ||
< | < | ||
行 54: | 行 74: | ||
Now it is time to start the services on each and every node. Start and check that they are running with the commands: | Now it is time to start the services on each and every node. Start and check that they are running with the commands: | ||
+ | |||
+ | 次に、すべてのノードでサービスを開始します。 次のコマンドで開始し、実行されていることを確認します。 | ||
< | < | ||
行 61: | 行 83: | ||
You should get an output similar to: | You should get an output similar to: | ||
+ | |||
+ | 次のような出力を得られます。 | ||
{{ : | {{ : | ||
Once the services have been started, you must confirm that the 3 nodes are joined to the cluster correctly, so when executing the following command on any of the nodes, the same response should be given: | Once the services have been started, you must confirm that the 3 nodes are joined to the cluster correctly, so when executing the following command on any of the nodes, the same response should be given: | ||
+ | |||
+ | サービスが開始されたら、3つのノードがクラスターに正しく参加していることを確認する必要があります。任意のノードで次のコマンドを実行すると、同じ応答が返されます。 | ||
< | < | ||
行 74: | 行 100: | ||
Check again the firewall configuration always taking into account that the nodes should communicate through ports '' | Check again the firewall configuration always taking into account that the nodes should communicate through ports '' | ||
+ | |||
+ | ノードがポート '' | ||
===== Data models and templates ===== | ===== Data models and templates ===== | ||
行 124: | 行 152: | ||
{{ : | {{ : | ||
- | [[:en: | + | [[:ja: |