Removing MDS Servers
Sometimes, you may need to remove an MDS server from a Parallels Cloud Storage cluster, for example, to upgrade the server or to perform some maintenance tasks on it. To do this:
-
Configure a new MDS server to replace the one you plan to remove from the cluster. For instructions, see
Adding MDS Servers
.
-
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 pcs1 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
pcs1
cluster. They have index numbers of 1, 2, and 3.
-
Remove the MDS server from the cluster. For example, to remove the MDS server with index number 3, run this command:
# pstorage -c pcs1 rm-mds 3
|