黑马王子就是我! 技术认证:系统分析师,网络规划设计师,网络工程师,信息系统监理师,系统集成项目管理师,初级程序员,MCSE,MCDBA,CCNA 目前主攻虚拟化技术,VPN,系统架构,集群和高可用性等。
全部博文(515)
分类: 虚拟化
2016-03-28 14:10:57
If you have your VMs on an cheap iSCSI storage, chances are you’ve seen this error before in VMware vCenter:
Unable to connect to MKS: Virtual machine config file does not exist
When this happens, you cannot shutdown/stop or start the VM but VM IP address still remains pingable. Even if you to browse the datastore on which the VM resides, you would not be able to see anything in that datastore.
If you are monitoring that VM by ping, I would switch to monitoring the services running on that as pinging an IP which is online but services are offline could lead to issues and a lot of false-positives from your monitoring software.
Anyway, here is how to fix that problem and get the virtual machine up and running again. This does not require that you reboot ESXi host server or vCenter server or even your storage appliance. Connect keyboard and monitor to ESXi server which has the downed VM and login as root and restart the management agents. Here is list of complete steps.
I wonder if one can restart Management agents on remote ESXi server using vMA?
If you have questions or comments, please be sure to post on our .