Releasing nodes from file storage
Limitations
- When the last node in the file storage cluster is removed, the cluster is destroyed and all of the data is deleted.
Prerequisites
- The file storage cluster is created, as described in Creating the file storage cluster.
- If a node hosts shares, you need to delete all of them first before releasing the node.
To release a node from file storage
Admin panel
- Go to the Storage services > File storage > Nodes screen.
- Click a node to release, and then click Release on the right pane.
- Click Release in the confirmation window.
Command-line interface
Use the following command:
vinfra service file-storage node remove <node> [<node> ...]
<node>- Node ID or hostname
For example, to release the node node002 from the file storage cluster, run:
# vinfra service file-storage node remove node002
To destroy file storage
Admin panel
- Go to the Storage services > File storage > Nodes screen.
- Select all nodes in the cluster, and then click Release above the node list.
- In the confirmation window, enter your Active Directory credentials and click Release.
Command-line interface
Use the following command:
vinfra service file-storage cluster delete [--krb-username <username>] [--krb-password] [--krb-ticket <ticket>] [--force]
--krb-username <username>- Kerberos username
--krb-password- Request the Kerberos password from
stdin. Alternatively, the password can be set via theMPFS_KRB_PASSWORDenvironment variable. --krb-ticket <ticket>- Path to the Kerberos ticket
--force- Forcefully unjoin cluster from Active Directory domain
For example, to release the last node and destroy the file storage cluster, run:
# vinfra service file-storage cluster delete --krb-username administrator --krb-password Kerberos password [administrator]:
Specify the user password when prompted.