Service “VMware vSphere Profile-Driven Storage Service” crashes after start
After upgrading vSphere vCenter 5.1 to 5.5 U2 I got the problem that the service VMware vSphere Profile-Driven Storage Service crashes after starting or at least after click onto Storage View in vCenter. Among others I got errors in vws.log
like:
Unable to retrieve health for com.vmware.vim.sms from http://localhost/sms/health.xml
Unable to retrieve health for com.vmware.vim.sms from any of its health URLs
Error retrieving health from url: http://localhost:31010/sps/health.xml
I did a lot of research and tried and checked everything on VMware KB, but nothing worked. I started a case at VMware. The support did similar things and had no success either. So support suggested to re-install vCenter. The steps are to uninstall vCenter, rename the following folders:
C:\Program Files\VMware\Infrastructure\Profile-Driven Storage
C:\Program Files\VMware\Infrastructure\VirtualCenter Server
C:\ProgramData\VMware\Infrastructure\Profile-Driven Storage
C:\ProgramData\VMware\VMware VirtualCenter
and install vCenter again. Even Horizon View Composer should not be harmed.
Because, you don’t want to lose you vCenter SSL-certificate, I suggest the following steps to do the re-installation:
- Do a lot of backup
- The SSL folder itself (
C:\ProgramData\VMware\SSL
) - vCenter SQL DB
- If applicable: View Composer DB
- If you plan to re-install SSO too, back SSO-data (here)
I did it, but did’t need it afterwards
- The SSL folder itself (
- (Optional) Shut down vCenter VM and create a snapshot
- Uninstall VMware vCenter Server.
- Rename folders as listed above, except
C:\ProgramData\VMware\VMware VirtualCenter
- These steps helped me to keep the SSL-certificate
- Duplicate the folder
C:\ProgramData\VMware\VMware VirtualCenter
. I did this step to keep the necessary permissions. - Delete everything within
C:\ProgramData\VMware\VMware VirtualCenter
, except the folder SSL. So the folderC:\ProgramData\VMware\VMware VirtualCenter\SSL
exists and contains the certificate used by the last instance of vCenter
- Duplicate the folder
- (Optional) Shut down vCenter VM and create a snapshot
- Install vCenter Server again. This time, Simple Installation is not possible, because parts of the vCenter suite is still installed. Therefore more questions are asked during installation. It is very important to select the right DSN that points to you vCenter DB and to keep the DB when asked.
- Check everything works – even after a reboot
- Log in and check that ESXi hosts are connected
- Check Update Manager is connected
- If applicable: Check vCenter in Horizon View
- And finaly check, vSphere Profile-Driven Storage Service is still running and working.
- Do not forget to delete created snapshots.