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

  1. Go to the Storage services > File storage > Nodes screen.
  2. Click a node to release, and then click Release on the right pane.
  3. 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

  1. Go to the Storage services > File storage > Nodes screen.
  2. Select all nodes in the cluster, and then click Release above the node list.
  3. 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 the MPFS_KRB_PASSWORD environment 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.