-
Notifications
You must be signed in to change notification settings - Fork 39
Rolling restart automation
unkls ben edited this page Mar 25, 2024
·
2 revisions
When configuration changes are applied to a Scylla cluster, sometimes a rolling restart needs to be performed as per procedure: https://docs.scylladb.com/operating-scylla/procedures/config-change/rolling_restart/
The playbook is located here: https://github.com/scylladb/scylla-ansible-roles/blob/master/example-playbooks/rolling_restart.yml
To use the playbook, make sure your inventory holds all the scylla nodes in the "scylla" section.
The playbook requires a limit is set, in case only a subset of nodes need to be restarted. Please see the syntax for setting limits in the Ansible documentation. To restart the entire cluster provide "all" as the limit setting.
ansible-playbook -i inventory.ini -l all roling_restart.yml