Author Topic: VMware ESXi 5.1 - fixing "inaccessible" VMs  (Read 26384 times)

netfreak

  • Administrator
  • Sr. Member

  • Offline
  • *****
  • 299
    • View Profile
    • Higher Intellect
VMware ESXi 5.1 - fixing "inaccessible" VMs
« on: December 10, 2012, 04:51:14 pm »
Something I encountered recently was after my SAN storage system was disconnected and then reconnected, VMs which had their config files stored on it were listing as "inaccessible" through the vSphere client. As the datastore was confirmed reconnected and other VMs with secondary disks on it worked fine, the solution was to restart the management on the host. Usually this can be done easily on the console, but my host is not local so this had to be done using remote SSH.

1) Enable SSH on the host through vSphere client under Configuration -> Security Profile
2) SSH into the host
3) Run "/etc/init.d/hostd restart"

This will drop your vSphere client session, but once you re-login your VMs should be listed correctly.