This article will discuss the difference between Monit start/stop and BOSH start/stop as it relates to VMware Tanzu GemFire rebalance operations.
Stopping/Starting the individual servers vwith BOSH and Monit results in differences in the behavior when we want to make sure that the data is balanced across all the Cache Servers.
The behavior of data rebalance across all Tanzu GemFire Cache servers are different when the servers are started/stopped using Monit and BOSH.
When we stop/start the servers using BOSH, rebalance is performed automatically because BOSH can coordinate across multiple VMs.
When we stop/start using Monit, rebalance needs to be performed explicitly because Monit
only knows about its local processes.
To ensure that the data is balanced across all the cache servers, we need to do the following:
While stopping/starting the individual servers with Monit, "rebalance" needs to be performed explicitly. Below are the steps to perform rebalance:
show metrics --member=<member> --region=<region>