Removing unassigned nodes

To be completely removed from the infrastructure, the node must not be a part of the storage cluster.

Prerequisites

To remove a node from the infrastructure

Admin panel

  1. Select the unassigned node on the Infrastructure > Nodes screen, and then click Remove.
  2. For security purposes, clean up node certificates and identity by deleting the following from the node:

    # rm -rf /usr/libexec/vstorage-ui-backend/ca
    # rm -rf /etc/nginx/ssl
    # rm -f /etc/vstorage/host_id
    # rm -f /etc/vstorage/vstorage-ui-agent.conf

    After such a cleanup, the only way to add the node back to the cluster is by re-installing Virtuozzo Hybrid Infrastructure on it from scratch.

Command-line interface

Use the following command:

vinfra node forget <node>
<node>
Node ID or hostname

For example, to unregister the node node005 from Virtuozzo Hybrid Infrastructure, run:

# vinfra node forget node005