Rebalance cluster resources to ensure even distribution of workloads and maintain optimal cluster performance.
-
Rebalancing ensures that workloads are evenly distributed, preventing performance bottlenecks caused by uneven resource utilization.
-
Efficient resource utilization is critical for maintaining a healthy and well-performing cluster.
You can initiate rebalancing at any time through the user interface. Additionally, Crosswork Network Controller continuously monitors CPU usage across all VMs and will notify you if utilization exceeds predefined thresholds. These alarms serve as prompts to take corrective actions, such as adding more worker VMs and redistributing resources, before performance issues arise.
Rebalancing is required in these scenarios:
-
A new VM is added on day N in the cluster.
-
An existing VM is replaced on day N in the cluster.
-
A VM is down for over 5 minutes in the cluster.
-
The CPU or memory utilization of a VM constantly exceeds 95% in the cluster.
To avoid performance degradation, it is recommended to deploy new worker VMs (see Add a VM to the Crosswork Network Controller cluster) before CPU usage exceeds 90%. However, note that when new VMs are added, active workloads are not automatically redistributed, making rebalancing a necessary step. If you already have 5 or 6 VMs in your cluster and still experience resource shortages, please reach out to the Cisco Customer Experience team for assistance.
Rebalancing can take from 15 to 30 minutes during which the Crosswork Applications will be unavailable. Once initiated, a rebalance operation cannot be canceled.
To rebalance resources between the existing VMs in your cluster, follow these steps:
Before you begin
-
Crosswork must be in maintenance mode before rebalancing to ensure data integrity.
-
Any users logged in during the rebalancing will lose their sessions. Notify other users beforehand that you intend to put the system in maintenance mode for rebalancing, and give them time to log out. You can use the Active Sessions window ( tab) to see who is currently logged in (or sessions that were abandoned and have not been cleaned up yet).
Procedure
| 1. | From the main menu, choose . |
|
| 2. | On the Crosswork summary tab, click the System summary tile to display the Cluster Management window. |
|
| 3. | Click , and the Rebalance Requirements are displayed. Read through the requirements and select the two check boxes once you are ready to start the rebalancing.
|
|
| 4. | Click Rebalance to initiate the process. Crosswork begins to reallocate the resources in the over utilized VM to the other VMs in the cluster. A dialog box indicating the status of rebalancing is displayed. Kindly wait for the process to complete. |
|
| 5. | After the rebalancing process is completed, you may see one of the following result scenarios:
|