updated docs
1 file changed
tree: a1f0655a0c24aee79f07cdf3a8f7f72da051a523
  1. configuration/
  2. clean.yml
  3. README.md
  4. replication_factor_update.yml
  5. requirements.yml
  6. 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

replication_factor_update.yml usage

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

update.yml usage

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

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