You can specify a preferred cluster in a deployment with multiple clusters. When you do so, the sensor or hybrid appliance submits to this cluster instead of the one it was automatically enrolled with when it was added to the Central Management appliance that also manages the cluster.
Reasons to specify a preferred cluster include:
Geographic proximity—Sensors submit to clusters that are physically close to them to reduce network latency.
Distributed guest-images profiles—Sensors monitoring Windows devices submit to clusters running Windows guest images, and sensors monitoring Mac devices submit to clusters running OS X guest images.
To configure a preferred cluster:
Log in to the sensor or hybrid appliance CLI.
Enable the CLI configuration mode:
appl-hostname > enable appl-hostname # configure terminal
Unsubscribe the sensor or hybrid appliance from the cluster with which it is currently subscribed (if any):
appl-hostname (config) # mvx cluster unenroll nowConfigure the preferred cluster.
appl-hostname (config) # mvx cluster enrollment-service preferred name<clusterName>where <
clusterName> is the name of the cluster to enroll the sensor with.Verify your change:
appl-hostname (config) # show mvx cluster enrollment statusSave your change:
appl-hostname (config) # write memory
To remove the preferred cluster enrollment:
Remove the preferred cluster enrollment:
appl-hostname (config) # no mvx cluster enrollment-service preferred nameVerify your change:
appl-hostname (config) # show mvx cluster enrollment statusSave your change:
appl-hostname (config) # write memoryNote
The sensor or hybrid appliance will be automatically enrolled with the cluster with the most capacity after you remove the preferred cluster enrollment.
Example
The following example unsubscribes the nx-1 sensor from the cluster it is currently enrolled with, and then configures Cluster02 as its preferred cluster.
nx-1 (config) # mvx cluster unenroll now nx-1 (config) # mvx cluster enrollment-service preferred name Cluster02 nx-1 (config) # show mvx cluster enrollment status MVX Cluster Enrollment Status Enrollment Client: Status OK : yes Status description : enrolled Last checked at : 2019/08/19 0023:02 Enrollment Service : Auto enabled : yes Service Address : CMS (DTIuser@10.11.121.13 : singleport) Preferred cluster : Cluster02 ...