vSphere Replication appliance shows high CPU utilization when many ESXi hosts are in Maintenance Mode
search cancel

vSphere Replication appliance shows high CPU utilization when many ESXi hosts are in Maintenance Mode

book

Article ID: 425966

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptom

  • In vCenter vSphere client, the VR appliance shows high CPU utilization, often approaching 100%, even though no large number of active replication tasks are running.

The issue may persist for an extended period and can impact the overall performance of the vSphere Replication appliance.

  • Presenting new LUN to multiple clusters having high number of hosts leads to high CPU utilization temporarily on VC and VR appliance.

Environment

  • VMware vCenter Server 8.0.3

  • vSphere Replication 9.0.1

 

Cause

  • vSphere Replication continuously scans all ESXi hosts in the vCenter inventory to maintain replication state and host awareness. This behavior includes hosts that are in Maintenance Mode.

When ESXi hosts enter Maintenance Mode, certain services and ports required by vSphere Replication (for example, hbrsrvuw) are no longer available. As a result, the vSphere Replication appliance repeatedly attempts to communicate with these hosts.

These repeated scan and retry operations can generate a large number of internal work items and events, which in turn increases the workload on vSphere Replication services and vCenter causing high CPU utilization.

Resolution

  • If the ESXi hosts can be exited from Maintenance Mode, this is the preferred resolution.

  • If the hosts cannot be taken out of Maintenance Mode in the short term, vSphere Replication scanning can be prevented by applying a specific tag in vCenter.

Workaround: Follow this KB https://knowledge.broadcom.com/external/article/405139/vcenter-task-flooded-with-cause-a-genera.html to exclude hosts from vSphere Replication scanning by assigning the tag com.vmware.vr.disallowedHost to the ESXi hosts that are currently in maintenance mode

After the tag is applied, vSphere Replication will no longer scan these hosts, which significantly reduces unnecessary work items and helps lower the CPU utilization of the vSphere Replication appliance.

Note -

Remember to remove the tag after Maintenance Mode is cleared to ensure normal vSphere Replication behavior.