clustergroup remove cluster
Removes a cluster from a cluster group.
Syntax
Only the cluster that acts as the primary can remove other clusters.
Use this command to remove any external NFS servers or external S3 servers that are imported into the global namespace. To remove an external NFS server from a clustergroup, you must use the name of the external NFS server.
- CLI
-
maprcli clustergroup remove -clustername <name of the cluster or external NFS or S3 server to be removed from the group>
- REST
Request Type DELETE Request URL http[s]://<host>:<port>/rest/clustergroup/remove?<parameters>
Parameters
Parameter | Description |
---|---|
|
(Required) Name of the cluster to remove from the group. If you wish to remove an external NFS server or an external S3 server, the parameter value must be the name of the external NFS server or the external S3 server. |
Example
- CLI
- The following command removes the cluster/fabric,
cluster2
, from the cluster group.maprcli clustergroup remove -clustername "cluster2"
- REST
-
NOTEWhen using a self-signed certificate pass, the
-k
option tocurl
to avoid the certificate check.curl -k -u <username> -X DELETE https://abc.sj.us:8443/rest/clustergroup/remove?clustername=cluster2
- CLI
-
The following command removes the external NFS server
extnfsstorage
from the cluster group.maprcli clustergroup remove -clustername "extnfsstorage"
- REST
-
NOTEWhen using a self-signed certificate, pass the
-k
option tocurl
to avoid the certificate check.curl -k -u <username> -X DELETE https://abc.sj.us:8443/rest/clustergroup/remove?clustername=extnfsstorage
- CLI
-
The following command removes the external S3 server, "ext_s_three", from the cluster group.
maprcli clustergroup remove -clustername "ext_s_three"
- REST
-
NOTEWhen using a self-signed certificate, pass the
-k
option tocurl
to avoid the certificate check.curl -k -u <username> -X DELETE https://abc.sj.us:8443/rest/clustergroup/remove?clustername=ext_s_three