updated tags and dependencies
2 files changed
tree: b2517ee7588c8f84e350ed960e33bcd1d1db4757
  1. .gitignore
  2. backup.yml
  3. clean.yml
  4. opdk-backup.yml
  5. opdk-setup-log-files.yml
  6. README.md
  7. requirements.yml
  8. update.yml
README.md

#Apigee OPDK Playbook Maintenance Cassandra Replication Factor

This playbook uses the roles to modify the Cassandra Replication Factor using Zero Downtime .

Download Roles

Use ansible-galaxy to download the required roles.

ansible-galaxy install -r requirements.yml

Usage: replication_factor_update.yml

The replication_factor_update.yml requires that you specify the replication_factor, opdk_region and the hosts.

ansible-playbook replication_factor_update.yml -e hosts=dc-1-ds -e opdk_region=dc-1 -e replication_factor=3

Usage: update.yml

This playbook contains a convenience playbook that uses the replication_factor_update.yml and requires that you specify only the replication_factor.

ansible-playbook update.yml -vv -b -e replication_factor=3

Defined Tags

Playbook NameTag NameDescription
update.ymldc-1All tasks on dc-1 only
update.ymldc-2All tasks on dc-2 only
update.ymlrestartRestart apigee components other than ds profile components
replication_factor_update.ymlcacheUpdate ansible cache, includes apigee specific attributes
replication_factor_update.ymlupdateUpdate replication factor
replication_factor_update.ymlrepairPerform nodetool repair
replication_factor_update.ymlrestartRestart all apigee components on the node
replication_factor_update.ymlstopStop all apigee components on the node
replication_factor_update.ymlstartStart all apigee components on the node