2 Star 1 Fork 47

KrisOtk/ansible-elk-deploy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hosts.ini.sample 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
乞丐亦异 提交于 2018-07-16 15:12 . Dev (#27)
# ElasticSearch master nodes and Consul servers.
# IMPORTANT: At least 3 nodes to avoid brain-split.
# Read more on https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html#master-node
# More settings in `group_vars/esMasters.yml` file.
[esMasters]
es-master-1 ansible_host=172.23.56.103
es-master-2 ansible_host=172.23.56.105
es-master-3 ansible_host=172.23.56.108
# ElasticSearch ingest node.(Optional)
# IMPORTANT: If you don't need this group, please set `node_ingest: true` in `group_vars/esMasters.yml` file.
# Read more on https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html#node-ingest-node
# More settings in `group_vars/esIngest.yml` file.
[esIngest]
# ElasticSearch hot data node, where newest data will be stored. Re-commanded for SSD storage
# IMPORTANT: At least 3 nodes
# Read more on https://www.elastic.co/blog/hot-warm-architecture
# More settings in `group_vars/elasticDataNode.yml` file.
[esHots]
es-hot-1 ansible_host=172.23.56.111
es-hot-2 ansible_host=172.23.56.112
es-hot-3 ansible_host=172.23.56.113
# ElasticSearch warm data node(Optional). Normal Hard drive is OK.
# More settings in `group_vars/elasticDataNode.yml` file.
[esWarms]
es-warm-1 ansible_host=172.23.56.121
es-warm-2 ansible_host=172.23.56.122
es-warm-3 ansible_host=172.23.56.123
[esDatas:children]
esHots
esWarms
# Logstash
# IMPORTANT: At least 1 node, DO NOT run with any ElasticSearch node on the same host.
[logstash]
logstash-1 ansible_host=172.23.56.114
# Kibana
# IMPORTANT: At least 1 node, and will be install an ElasticSearch instance with 'Cross Cluster Search' settings.
# Read more on https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cross-cluster-search.html#cross-cluster-search-settings
[kibana]
kibana-1 ansible_host=172.23.56.115
# Redis Cluster
# IMPORTANT: At least 3 nodes. DO NOT deploy with ElasticSearch hosts!
# This is an option groups. If it's empty, beats will send logs to logstash directly.
[redis]
redis-1 ansible_host=172.23.56.215
redis-2 ansible_host=172.23.56.216
redis-3 ansible_host=172.23.56.217
# Groups
[elasticsearch:children]
esMasters
esIngest
esHots
esWarms
[all:vars]
ansible_user=username
ansible_ssh_pass=password
ansible_sudo_pass=password
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhuwanqiang/ansible-elk-deploy.git
git@gitee.com:zhuwanqiang/ansible-elk-deploy.git
zhuwanqiang
ansible-elk-deploy
ansible-elk-deploy
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385