It is group of playbooks to manage apache zookeeper.
- Download Apache Zookeeper Tar Manually ( Mandatory )
- vagrant ( Optional )
- Any OS with SystemD ( Mandatory )
- Ansible ( Mandatory )
netaddr
python package on ansible controller node.
1. All tasks like jvm/logging/downgrade/removeOldVersion will be done in serial order.
-
STEP-0 Vagrant-Readme.md
-
STEP-1
vagrant up
Generate MTLS Certs/JKS Files
mkdir files/certs/
cd files/certs/
../vagrant-generate-tls-certs.sh
- STEP-2
ansible-playbook -i inventory/development/cluster.ini clusterSetup.yml
terraform/aws
terraform/oci
It will enable following things on all nodes.
/zookeeper
mount point from ebs created by terraform.- Install and configure
awslogs
agent for kafka-logs. - Install python3 packages
- Update Required vars in
inventory/<environment>/group_vars/all.yml
. - Update Required vars in
inventory/<environment>/cluster.ini
.
ansible-playbook -i inventory/<environment>/cluster.ini clusterAwsPreSetup.yml
- Update Required vars in
inventory/<environment>/group_vars/all.yml
. - Update Required vars in
inventory/<environment>/cluster.ini
.
ansible-playbook -i inventory/<environment>/cluster.ini clusterSetup.yml
- To add custom metric exporter to cluster
ansible-playbook -i inventory/<environment>/cluster.ini clusterCustomMetricExporter.yml
- To add newrelic monitoring to cluster
ansible-playbook -i inventory/<environment>/cluster.ini clusterNewRelicSetup.yml
ansible-playbook -i inventory/<environment>/cluster.ini clusterRollingRestart.yml
- Update Required vars in
inventory/<environment>/group_vars/all.yml
.
ansible-playbook -i inventory/<environment>/cluster.ini clusterConfigsUpdate.yml -e zookeeperConfigFile=zoo.cfg
ansible-playbook -i inventory/<environment>/cluster.ini clusterConfigsUpdate.yml -e zookeeperConfigFile=java.env
ansible-playbook -i inventory/<environment>/cluster.ini clusterConfigsUpdate.yml -e zookeeperConfigFile=jaas.conf
ansible-playbook -i inventory/<environment>/cluster.ini clusterConfigsUpdate.yml -e zookeeperConfigFile=logback.xml
- Update Required vars in
inventory/<environment>/group_vars/all.yml
.
ansible-playbook -i inventory/<environment>/cluster.ini clusterUpgrade.yml
- Update Required vars in
inventory/<environment>/group_vars/all.yml
.
ansible-playbook -i inventory/<environment>/cluster.ini clusterJava.yml
- Update Required vars in
inventory/<environment>/group_vars/all.yml
.
ansible-playbook -i inventory/<environment>/cluster.ini clusterOSUpgrade.yml
- Update Required vars in
inventory/<environment>/group_vars/all.yml
.
ansible-playbook -i inventory/<environment>/cluster.ini clusterRemoveOldVersion.yml
- Update Required vars in
inventory/<environment>/group_vars/all.yml
.
ansible-playbook -i inventory/<environment>/cluster.ini clusterRemoveNodes.yml
3.7.1
3.8.0
3.9.1
- CentOS 7
- RedHat 7
- Amzaon Linux 2
- Ubuntu 18
ansible==9.2.0
ansible-core==2.16.3