Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3288658
  • 博文数量: 515
  • 博客积分: 5116
  • 博客等级: 大校
  • 技术积分: 4137
  • 用 户 组: 普通用户
  • 注册时间: 2006-09-30 11:24
个人简介

黑马王子就是我! 技术认证:系统分析师,网络规划设计师,网络工程师,信息系统监理师,系统集成项目管理师,初级程序员,MCSE,MCDBA,CCNA 目前主攻虚拟化技术,VPN,系统架构,集群和高可用性等。

文章分类

全部博文(515)

文章存档

2023年(11)

2022年(17)

2021年(19)

2020年(28)

2019年(42)

2018年(53)

2017年(41)

2016年(33)

2015年(43)

2014年(25)

2013年(13)

2011年(6)

2010年(28)

2009年(47)

2008年(55)

2007年(26)

2006年(28)

分类: 虚拟化

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.

To restart the management agents on ESXi:

  1. Connect to the console of your ESXi Server using Keyboard and a monitor
  2. Press F2 to customize the system.
  3. Login as root.
  4. Using the Up/Down arrows navigate to Restart Management Agents. (If you have upgraded to ESXi 4.1, this option is under the Troubleshooting Options.
  5. Press Enter.
  6. Press F11 to restart the services, it takes a few seconds.
  7. When the service has been restarted, press Enter.
  8. Press Esc to logout of the system.
  9. If starting or stopping the management agent fails try restarting it a second time. If the services still fail, its probably time to call VMware support.
  10. Log back into your vCenter and start the affected VM.

Here is a video of the steps above


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 .

阅读(3017) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~