As I mentioned in other posts - I use VMware server for prototyping installations. I have VMware Server 2 running under Windows 7 Ultimate X64 on my laptop.
The other day my VMware console wouldn't come up. Turns out that the datastores.xml file was corrupt (it is at c:\ProgramData\VMware\VMware Server\hostd). If it is corrupt then the VMware Host Agent service won't start.
You can just delete it, restart the VMware Host Agent, and then you should be able to get into the VMware console again. However, all is still not good. Without a datastore defined you can't add existing servers or create new servers. You can use the following format to define your datastores so that you can get at them again. The path should be where ever your VMware server files are located.
<ConfigRoot>
<LocalDatastores>
<_length>1</_length>
<_type>hostd.host.LocalDatastoreEntry[]</_type>
<e id="0">
<_type>hostd.host.LocalDatastoreEntry</_type>
<id>1</id>
<name>standard</name>
<path>C:\Virtual Machines\</path>
</e>
</LocalDatastores>
<NasVolumes>
<_length>0</_length>
<_type>hostd.host.NasDatastoreEntry[]</_type>
</NasVolumes>
</ConfigRoot>
Comments