Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Cortx ha Replace Node

Ajay Paratmandali edited this page Aug 10, 2020 · 2 revisions

Node Name

faulty node healthy node new node

Replace Node

  1. Csm will do poweroff of faulty node
  2. Provision can call remove node from healthy node cortx-ha setup-ees.yaml
  remove_node:
    script: /opt/seagate/cortx/ha/conf/script/cluster_update
    args: remove_node
  1. Auth new node for HA: when new node up then configure auth for pacemaker ha

  2. Then provision or any step for other component needed that can be performed

  3. On new node for cortx-ha setup.yaml Run post-install, config, init

ha:
    post_install:
        script: /opt/seagate/cortx/ha/conf/script/ha_setup
        args: post_install

    init:
        script: /opt/seagate/cortx/ha/conf/script/ha_setup
        args: init

    config:
        script: /opt/seagate/cortx/ha/conf/script/ha_setup
        args: config


  1. From healthy node run refresh context for cortx-ha
    refresh_config:
        script: /opt/seagate/cortx/ha/conf/script/ha_setup
        args: replace_node
  1. At last all configuration done, Execute add node from healthy node from cortx-ha setup-ees.yaml
  add_node:
    script: /opt/seagate/cortx/ha/conf/script/cluster_update
    args: add_node
  1. all strep should be done check $ pcs status it should take time to get node to stable.