Skip to main content

I want to remove a node from my exsiting cluster

in Node Management
Authors list
Published: Jan 6, 2023|Last updated: Aug 8, 2023
Question

How do I remove a node from my cluster?

Note

You cannot remove a main node that is live and active in the cluster, you will first need to promote another standby node to the main role before removing it.

GUI Copy link to GUI to clipboard

  1. On the main node navigate to the cluster menu within the OPC and click on the ID of the node you want to remove

    image.png
  2. Click 'Remove Node'

    image.png

This will then ask for confirmation, click 'confirm' and the node will be removed from the cluster

image.png
  1. Click 'continue' to go back to the HA main menu

Note

If you are removing a node that is showing as offline you will also need to manually remove the standby nodes HA configuration, our guide for this is here.

CLI Copy link to CLI to clipboard

To remove a node you will first need it's cluster Id. You can get a full list of node Id's by running:

opc cluster node list
copy

image.png

make a note of the node Id you want to remove then run the following:

opc cluster node remove -i <node Id>
copy

For our example above the command would be:

opc cluster node remove -i d7217497-6638-485a-8b19-a5d89594c2f6
copy

You will be prompted with a confirmation message to remove the node

image.png

You will then see the node removed from the cluster

image.png

checking the cluster again will show that it has been removed successfully:

opc cluster node list
copy

image.png

This has removed the node from the cluster and removed the cluster configuration from the standby node that was removed.

Note

If you are removing a node that is showing as offline you will also need to manually remove the standby nodes HA configuration, our guide for this is here.

HelpfulUnhelpful
next pageI want to remove helpdesk data from a node
previous pageI want to reset an exsiting node

Please log in or register to submit a comment.

Page sections