Well, today I once again had the case where a virtual machine (in my case a Virtual Machine Template) was kinda stuck. You couldn’t remove the template (as in the entries for “Remove from inventory” was grayed out) and you couldn’t re-add the Virtual Machine’s VMX from the datastore browser either.
Though, a simple putting the host into maintenance mode and rebooting helped that problem. Maybe there is a simpler solution for this, I just don’t know about it.
Thanks to Sven in #1, I now know that simple solution for my problem!
1 2 3 4 5 6 7 |
[root@esxi root]# /etc/init.d/mgmt-vmware restart Stopping VMware ESX Server Management services: VMware ESX Server Host Agent Watchdog [ OK ] VMware ESX Server Host Agent [ OK ] Starting VMware ESX Server Management services: VMware ESX Server Host Agent (background) [ OK ] Availability report startup (background) [ OK ] |
Half a minute, and a heart-stopping moment later (all VM’s on that host turn grey after the first update) the VM’s are accessible again. Thanks again to Sven!
Hi Christian,
“/etc/init.d/mgmt-vmware restart” also helps 😉 There’s no need to restart the whole machine…
greets
Sven (a normaly “read-only” User of your Blog)
Hrm, nice one Sven .. Thanks a lot 😀 vCenter takes about half a minute to reload the inventory from the ESX in question, but then shows what I wanted.