Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
node_replacement
node_replacement

Replace a dead node


  1. The ansible/playbooks/replace_machine_remove_machine_from_cluster.yaml playbook can remove a node in the cluster. For this, the machine_to_remove should be set to the hostname to remove.
    The below command should be launch in the ansible project.

    Code Block
    languagebash
    cqfd run ansible-playbook -i /path/to/inventory.yaml -e machine_to_remove=HOSTNAME playbooks/replace_machine_remove_machine_from_cluster.yaml


    draw.io Diagram
    bordertrue
    diagramDisplayName
    lboxtrue
    revision3
    diagramNamereplace-dead-node
    aspect6QGtOHBKVh8cqIW35sMc
    simpleViewerfalse
    width400
    aspectHashb6036ea991169e32cb020ec0dcdeaf6b82d0129a
    linksauto
    tbstyletop
    diagramWidth561

  2. A new hosts should be install with the ISO installer and a new IP address. Make the connections between hosts.
    draw.io Diagram
    bordertrue
    diagramDisplayName
    lboxtrue
    revision3
    diagramNamereplace-dead-node
    aspect5VfXYzZzLt1dj8wcB2ZT
    simpleViewerfalse
    width400
    aspectHash14a72eb42795c42aec510bc5e92406eb5f3c8c51
    linksauto
    tbstyletop
    diagramWidth561
  3. Restart the playbook to configure the cluster (more details here).
    draw.io Diagram
    bordertrue
    diagramDisplayName
    lboxtrue
    revision3
    diagramNamereplace-dead-node
    aspectrLLZxF21wdaddEKqs6aY
    simpleViewerfalse
    width400
    aspectHashbcdb4d2b18ad56a1fab8ab6db4a42339b54ee890
    linksauto
    tbstyletop
    diagramWidth561