- This is a workaround to stop the replication server from logging the rebalancing messages in the ESXi host which is an informational update.
NOTE: Do not disable scale-out-mode, if you are using enhanced replications
1. SSH to vSphere Replication or the VMware Live Recovery (for versions later than 9.0.3) appliance. Run the command - systemctl stop hms
2. Edit /opt/vmware/hms/conf/hms-configuration.xml and change scale-out-mode to false.
Note - For versions later than 9.0.3, the path to the configuration file is /opt/vmware/etc/hms/hms-configuration.xml
<scale-out-mode>false</scale-out-mode>
<!--
Timeout to wait before tagging hbrsrv as decommissioned due to maintenance mode.
At the moment set to 0 since replications are auto-released on hbrsrvuw when ESX host enters MM.
-->
3. Start HMS service - systemctl restart hms
What is scale-out mode ?
VMware Site Recovery now supports automated load balancing which distributes replicated VMs across resources for optimal performance. In addition, VMware Site Recovery supports automated scale-out which utilizes provisioned ESXi hosts and automatically adds them for additional replication capacity.
OR
- This modification will limit the replication server from rebalancing replications on the ESXi hosts and stop the frequent loggings that show up in the tasks pane every time rebalances trigger.
1. SSH to vSphere Replication appliance. Run the command - systemctl stop hms
2. Edit /opt/vmware/hms/conf/hms-configuration.xml and increase hbrsrv-monitor-max-rebalance-delay-sec.
Note - For versions later than 9.0.3, the path to the configuration file is /opt/vmware/etc/hms/hms-configuration.xml
<!-- do not rebalance less often then the specified number of seconds -->
<hbrsrv-monitor-max-rebalance-delay-sec>1800</hbrsrv-monitor-max-rebalance-delay-sec>
Changing this value to 86400 will set the replication rebalances to occur once in 24 hours. You can tweak this setting depending on the number of hours you want the replications to be rebalanced at. Ideally twice a day should be good.
3. Start HMS service - systemctl restart hms