-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add multi-node details in hosts Signed-off-by: saravanan palanisamy <[email protected]> * add multi-node config Signed-off-by: saravanan palanisamy <[email protected]> * fix the issues in config Signed-off-by: saravanan palanisamy <[email protected]> * update readme - multi-node Signed-off-by: saravanan palanisamy <[email protected]> * update readme Signed-off-by: saravanan palanisamy <[email protected]> * clean local tmp directory after installation Signed-off-by: saravanan palanisamy <[email protected]>
- Loading branch information
1 parent
3fa9128
commit 0f70b6c
Showing
8 changed files
with
99 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
os1 ansible_host=10.0.1.1 ansible_user=root ip=10.0.1.1 | ||
os1 ansible_host=10.0.1.1 ansible_user=root ip=10.0.1.1 roles=data,master | ||
os2 ansible_host=10.0.1.2 ansible_user=root ip=10.0.1.2 roles=data,master | ||
os3 ansible_host=10.0.1.3 ansible_user=root ip=10.0.1.3 roles=data,master | ||
os4 ansible_host=10.0.1.4 ansible_user=root ip=10.0.1.4 roles=data,ingest | ||
os5 ansible_host=10.0.1.5 ansible_user=root ip=10.0.1.5 roles=data,ingest | ||
|
||
dashboards1 ansible_host=10.0.1.2 ansible_user=root ip=10.0.1.2 | ||
dashboards1 ansible_host=10.0.1.6 ansible_user=root ip=10.0.1.6 | ||
|
||
# List all the nodes in the os cluster | ||
[os-cluster] | ||
os1 | ||
os2 | ||
os3 | ||
os4 | ||
os5 | ||
|
||
# List all the Master eligible nodes under this group | ||
[master] | ||
os1 | ||
os2 | ||
os3 | ||
|
||
[dashboards] | ||
dashboards1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
roles/centos7/opensearch/templates/opensearch-multi-node.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
cluster.name: "{{ os_cluster_name }}" | ||
|
||
node.name: "{{ inventory_hostname }}" | ||
|
||
network.host: "{{ hostvars[inventory_hostname]['ip'] }}" | ||
|
||
http.port: 9200 | ||
|
||
bootstrap.memory_lock: true | ||
|
||
discovery.seed_hosts: ["{{ os_nodes }}"] | ||
|
||
cluster.initial_master_nodes: ["{{ os_master_nodes }}"] | ||
|
||
node.roles: [{{ hostvars[inventory_hostname]['roles'] }}] |
File renamed without changes.