Previous page

Next page

Locate page in Contents

Print this page

Removing MDS Servers

Sometimes, you may need to remove an MDS server from a Virtuozzo Storage cluster, for example, to upgrade the server or to perform some maintenance tasks on it. To do this:

  1. Configure a new MDS server to replace the one you plan to remove from the cluster. For instructions, see Adding MDS Servers.
  2. Find out the index number of the MDS server to remove by running the following command on some of your MDS servers or clients:

    # pstorage -c stor1 top

    This will display detailed information about the cluster. Locate the section with the information about MDS servers, for example:

    ...

    MDSID STATUS %CTIME COMMITS %CPU MEM UPTIME HOST

    M 1 avail 0.0% 0/s 0.0% 64m 17d 6h 10.30.17.38

    2 avail 0.0% 0/s 0.0% 50m 12d 3h 10.30.45.12

    3 avail 0.0% 0/s 0.0% 57m 7d 1h 10.30.10.15

    ...

    The index number is displayed in the MDSID column. In the output above, three MDS servers are configured for the stor1 cluster. They have index numbers of 1, 2, and 3.

  3. Remove the MDS server from the cluster. For example, to remove the MDS server with index number 3, run this command:

    # pstorage -c stor1 rm-mds 3