Skip to content

christopherobin/ansible-zookeeper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZooKeeper role

This role automates the maintenance of a ZooKeeper cluster.

In the context of the software we use, this could currently be leveraged as an alternative to either multicast or avahi/mDNS.

Configuration

inventory file

[zookeeper:children]
zookeeper-somedc-prod

[zookeeper-somedc-prod:children]
zookeeper1-somedc-prod

[zookeeper1-somedc-prod]
node1.zookeeper.somedc.prod1  ansible_ssh_host=172.16.0.101 zoo_id=1
node2.zookeeper.somedc.prod1  ansible_ssh_host=172.16.0.102 zoo_id=2
node3.zookeeper.somedc.prod1  ansible_ssh_host=172.16.0.103 zoo_id=3

[zookeeper1-somedc-prod:vars]
# Must be set to the name of the subgroup
zookeeper_cluster_name = zookeeper1-somedc-prod

See also

About

Ansible role for installing ZooKeeper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%