clustergroup updateprimary
Updates the primary cluster for the group.
Makes an existing cluster the primary for the cluster group. The difference between
setprimary
and updateprimary
is that the
setprimary
command adds a new entry in the cluster group, while the
updateprimary
command elevates an existing entry as the primary.
Syntax
- CLI
-
maprcli clustergroup updateprimary -clustername <name>
- REST
-
N/A
Parameters
Parameter | Description |
---|---|
|
Name of the cluster to elevate as the primary cluster. |
Example
Updates the primary cluster for the cluster group to cluster2.
maprcli clustergroup updateprimary -clustername cluster2