VMware vCenter Server 5.x Storage Monitoring and Profile Driven Storage Service fails with the error: Unable to retrieve health data from
search cancel

VMware vCenter Server 5.x Storage Monitoring and Profile Driven Storage Service fails with the error: Unable to retrieve health data from

book

Article ID: 328628

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:
  • After upgrading to VMware vCenter Server 5.x, the VMware vCenter Storage Monitoring Service fails.
  • You see these errors:

    • Unable to retrieve health data from http://localhost/sms/health.xml
    • Unable to retrieve health data from http://localhost/sps/health.xml

  • Restarting the vCenter Storage Monitoring Service (SMS) does not resolve this issue.
  • The SMS plugin tries to connect to port 80, but fails.
  • The vCenter Server was installed with custom ports.


Cause

This issue occurs if you are using a custom port, such as Port 81, for vCenter Server.

To identify the custom port used by vCenter Server:

  1. Click Start > Run, type regedit, and click OK. The Registry Editor window opens.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VirtualCenter.
  3. Verify port HttpProxyPort used for vCenter Server.

Resolution

To resolve this issue, you must modify the SMS and the Profile Driven Storage service.

To modifying the SMS:

  1. Open the extension.xml file located at C:\Program Files\VMware\Infrastructure\VirtualCenter Server\extensions\ com.vmware.vim.sms using a text editor.
  2. Locate the entry with http://localhost/sms/health.xml.
  3. Edit this entry to include the custom port that is used. For example, if the custom port used is 81, change the entry to:

    http://localhost:81/sms/health.xml

  4. Save and close the file.

Modifying the Profile Driven Storage service:

Note: Due to changes in vCenter Server 5.5 ports, these steps do not change Profile Driven Storage service port.

  1. Open the extension.xml file located at C:\Program Files\VMware\Infrastructure\VirtualCenter Server\extensions\ com.vmware.vim.sps using a text editor.
  2. Locate the entry with http://localhost/sps/health.xml.
  3. Edit this entry to include the custom port that is used. For example, if the custom port used is 81, change the entry to:

    http://localhost:81/sps/health.xml

  4. Save and close the file.
Restart the VMware vCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).

Additional Information

For more information on the the VMware vCenter SMS, see VMware vCenter Storage Monitoring Service API Readme.
How to stop, start, or restart vCenter Server services
Resetting the VMware vCenter Server 5.x Inventory Service database
VMware vCenter Server 5.x の Storage Monitoring と Profile Driven Storage Service が次のエラーで失敗する:健全性データを XXX から取得できません
VMware vCenter Server 5.x 存储监控和 Profile Driven Storage Service 失败并显示以下错误:无法检索运行状况数据