Replace a dead node
The
ansible/playbooks/replace_machine_remove_machine_from_cluster.yaml
playbook can remove a node in the cluster. For this, themachine_to_remove
should be set to the hostname to remove.
The below command should be launch in the ansible project.cqfd run ansible-playbook -i /path/to/inventory.yaml -e machine_to_remove=HOSTNAME playbooks/replace_machine_remove_machine_from_cluster.yaml
- A new hosts should be install with the ISO installer and a new IP address. Make the connections between hosts.
- Restart the playbook to configure the cluster (more details here).