vmware-dataservice-sca and vsphere-client status change from green to yellow
search cancel

vmware-dataservice-sca and vsphere-client status change from green to yellow

book

Article ID: 323332

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • The vmware-dataservice-sca and vsphere-client service's status change from green to yellow continually in vCenter Server 6.0
  • In the Tasks and Events, these messages are seen:

    VMware vCenter - Alarm alarm.HealthStatusChangedAlarm] vsphere-client status changed from green to yellow
    VMware vCenter - Alarm alarm.HealthStatusChangedAlarm] vmware-dataservice-sca status changed from green to yellow
  • Cannot locate resourcebundles and scripts folders in C:\ProgramData\VMware\vCenterServer\cfg\sca

Environment

  • VMware vCenter Server Appliance 6.7.x
  • VMware vCenter Server Appliance 6.5.x
  • VMware vCenter Server 6.5.x
  • VMware vCenter Server 6.0.x
  • VMware vCenter Server 6.7.x

Resolution

The memory consumption by vSphere-client service depends on many factors like the size of vCenter Server, the scale of the inventory, how many and what kind of plugins are used, and so on. Although the initial heap sizes of each services are determined during system boot as cloud-ram-size(.bat) -l shows, tuning may be required if the initial allocation does not fully meet the requirement of each environment.

To resolve this issue, change the maximum heap size manually:

  1. Determine the existing ram size of the vSphere Web Client:
    1. For vCenter Server Appliance, run:

      cloudvm-ram-size -l

    2. For Windows vCenter, navigate to C:\Program Files\VMware\vCenter Server\visl-integration\usr\sbin\cloudvm-ram-size.bat and run:

      cloudvm-ram-size.bat -l

  2. Change the vSphere Web Client Server maximum heap size manually:
    1. For vCenter Server Appliance, run:

      cloudvm-ram-size -C ### vsphere-client

      Where ### is the desired heap size in MB.

    2. For Windows vCenter, navigate to C:\Program Files\VMware\vCenter Server\visl-integration\usr\sbin\cloudvm-ram-size.bat file and run:

      cloudvm-ram-size.bat -C ### vspherewebclientsvc

      Where ### is the desired heap size in MB.
       
  3. Restart the vSphere Web Client service:
    1. For vCenter Server Appliance:

      vCSA 6.0
      service vsphere-client restart

      vCSA 6.x
      service-control --stop vsphere-client and service-control --start vsphere-client​

    2. For Windows vCenter
      1. Open Component Services.
      2. Click Start.
      3. Go to All Programs > Administrative Tools > Component Services.
      4. In the left pane select Services.
      5. Right-click vSphere web client service and click Stop.
      6. Right-click and click Start