Removing unassigned nodes
To be completely removed from the infrastructure, the node must not be a part of the storage cluster.
Prerequisites
- The node is removed from the storage cluster, as described in Releasing nodes from the storage cluster.
To remove a node from the infrastructure
Admin panel
- Select the unassigned node on the Infrastructure > Nodes screen, and then click Remove.
-
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