Physical Node Removal - Nutanix Cluster
Permanently remove a physical node / host from a Nutanix cluster are two scenarios in node removal.
- Permanently Removing an online node
- Removing an offline / not-responsive node
At least 30% free space must be available to avoid filling any disk beyond 95%.
Some Points to consider before initiating node removal:
- Sufficient Disk space available on other nodes in the cluster
- User Virtual Machine relocation (if required)
- Any software upgrade should not be running
- Checklist on verifying cluster health status
- Data resiliency is “OK” (green) in Prism
- There is a chance that DRS will place VM on the node you are trying to evacuate so you may want to change the setting to manual or partial
- Run a complete “ncc report” either from prism or CVM cli:
ncc health_checks run_all
Depending on the size of data, node removal can be lengthy process, which involves relocating data from the node to other healthy nodes in the cluster. Node removal also removes entries from the cluster configuration before permanently marking the node removed.
You can initiate Node Removal process from within Prism > Hardware > Select Host > Remove Host or from ncli.
Node removal process, when initiated, factors in cluster load and runs on a low priority - ensuring no impact to the cluster while relocating data to different nodes across the cluster.
To remove a node from a Nutanix Cluster, please follow the official Nutanix KB:
Removing Unreachable or Powered-off Nodes From Nutanix Clusters
- Go to Hardware > Table and select your host.Click remove host.
- Click OK when prompted
- The removal process will start and you can follow progress under tasks. This is a time consuming process.
- Once the process is complete you should see a decrease in available dataspace and the host will be no longer visible.
Evicting the node
To evict the node, you just execute an ncli command with the node ID confirmed in earlier steps.
ncli host remove-start id={node id}
You can check on the status of the job with another ncli command
ncli host get-remove-status
If you want a more in-depth view of the tasks going on, there is a more specific ncli command (this technically covers any tasks at hand, not just removal)
ncli progress-monitor list
Prism will also reflect the running tasks



Comments
Post a Comment