andrewrothstein.zookeeper-cluster

andrewrothstein.zookeeper-cluster

Build Status

This sets up a Zookeeper cluster. There are two main groups:

  • zookeeper: includes all Zookeeper servers, whether they vote or not.
  • zookeeper-quorum: includes the servers that vote in the cluster.

Any servers in the zookeeper group but not in the zookeeper-quorum group are considered observers.

Requirements

Check meta/main.yml for requirements.

Role Variables

Look at defaults/main.yml for role variables.

Dependencies

See meta/main.yml for dependencies.

Example Inventory/Playbook

inventory.ini

[zookeeper]
host0 zookeeper_myid=0
host1 zookeeper_myid=1
host2 zookeeper_myid=2
host3 zookeeper_myid=3
....

[zookeeper-quorum]
host[0:7]

playbook.yml

- hosts: zookeeper
  roles:
    - andrewrothstein.zookeeper-cluster

License

MIT

Author Information

Andrew Rothstein andrew.rothstein@gmail.com

Informazioni sul progetto

configures a cluster of zookeeper quorum/observers

Installa
ansible-galaxy install andrewrothstein.zookeeper-cluster
Licenza
mit
Download
931
Proprietario
Dreamer, coder