| commit | 78135004b2c6806e25a1da86d839d4d3e1ac2c8a | [log] [tgz] |
|---|---|---|
| author | Carlos Frias <friasc@google.com> | Fri Mar 03 12:19:34 2017 -0500 |
| committer | Carlos Frias <friasc@google.com> | Fri Mar 03 12:19:34 2017 -0500 |
| tree | d96cdfb2ab87952feebf9ca2c3c75af838920dc7 | |
| parent | bd3e81b36ed8620a3eb9000b1ef27ce4179b44b8 [diff] |
Updated output of tasks
#Apigee OPDK Playbook Maintenance Cassandra Replication Factor
This playbook uses the roles to modify the Cassandra Replication Factor using Zero Downtime .
Use ansible-galaxy to download the required roles.
ansible-galaxy install -r requirements.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
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
| Playbook Name | Tag Name | Description |
|---|---|---|
| update.yml | dc-1 | All tasks on dc-1 only |
| update.yml | dc-2 | All tasks on dc-2 only |
| update.yml | restart | Restart apigee components other than ds profile components |
| replication_factor_update.yml | cache | Update ansible cache, includes apigee specific attributes |
| replication_factor_update.yml | update | Update replication factor |
| replication_factor_update.yml | repair | Perform nodetool repair |
| replication_factor_update.yml | restart | Restart all apigee components on the node |
| replication_factor_update.yml | stop | Stop all apigee components on the node |
| replication_factor_update.yml | start | Start all apigee components on the node |