updated bug
diff --git a/replication_factor_update.yml b/replication_factor_update.yml index 63604c6..a4b6dd8 100644 --- a/replication_factor_update.yml +++ b/replication_factor_update.yml
@@ -3,6 +3,23 @@ tags: - cache +- hosts: ds + serial: 1 + vars_files: + - ~/.apigee/credentials.yml + roles: + - { role: apigee-opdk-setup-default-settings, tags: ['cache'] } + - { role: apigee-opdk-cassandra-change-quorum, consistency: TWO } + +- hosts: rmp + serial: 1 + vars_files: + - ~/.apigee/credentials.yml + roles: + - { role: apigee-opdk-setup-default-settings, tags: ['cache'] } + - { role: apigee-opdk-stop-components, tags: ['restart', 'stop'] } + - { role: apigee-opdk-start-components, tags: ['restart', 'start'], component_start_delay: 10 } + - hosts: ds[0] serial: 1 vars_files: @@ -28,6 +45,7 @@ - { role: apigee-opdk-setup-default-settings, tags: ['cache'] } - { role: apigee-opdk-cassandra-change-replication-factor, tags: ['update'], keyspaces: '{{ cassandra_keyspaces }}' } + - hosts: ds serial: 1 vars_files: @@ -35,5 +53,20 @@ roles: - { role: apigee-opdk-setup-default-settings, tags: ['cache', 'repair'] } - { role: apigee-opdk-cassandra-repair, tags: ['repair'] } + +- hosts: ds + serial: 1 + vars_files: + - ~/.apigee/credentials.yml + roles: + - { role: apigee-opdk-setup-default-settings, tags: ['cache'] } + - { role: apigee-opdk-cassandra-change-quorum, consistency: LOCAL_QUORUM } + +- hosts: rmp + serial: 1 + vars_files: + - ~/.apigee/credentials.yml + roles: + - { role: apigee-opdk-setup-default-settings, tags: ['cache'] } - { role: apigee-opdk-stop-components, tags: ['restart', 'stop'] } - - { role: apigee-opdk-start-components, tags: ['restart', 'start'] } + - { role: apigee-opdk-start-components, tags: ['restart', 'start'], component_start_delay: 10 }
diff --git a/requirements.yml b/requirements.yml index 2f2c98c..2a124d1 100644 --- a/requirements.yml +++ b/requirements.yml
@@ -1,6 +1,8 @@ --- - src: https://github.com/carlosfrias/apigee-opdk-cassandra-change-replication-factor.git +- src: https://github.com/carlosfrias/apigee-opdk-cassandra-change-quorum.git + - src: https://github.com/carlosfrias/apigee-opdk-cassandra-rebuild.git - src: https://github.com/carlosfrias/apigee-opdk-stop-components.git