Skip to content

Rolling restart automation

unkls ben edited this page Mar 25, 2024 · 2 revisions

Performing an automated rolling restart on a Scylla cluster

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