VMware 排错 自留备用
TroubleShooting 1:
故障描述:
登陆虚拟机打开控制台出现:unable to connect to the mks virtual machine config file does not exist
然后发现这台主机的全部虚机都是这样,存储变成斜体字(认不到),但是能看到存储中的东西,应用能ping通,能使用。
解决方法:http://www.virtualization.net/1513-unable-to-connect-to-mks-virtual-machine-config-file-does-not-exist
根据这个Restart Management Agents,直接服务断了,存储找不到了,赶紧在存储中找到vmdk,加载到别的主机上(怕有锁无法加载)
然后重启整个主机,一切都好。。。
无法部署vcops
http://www.it165.net/admin/html/201404/2878.html
导入完vcops后启动vapp时,遇到了“无法初始化属性vami.netmask0.vm_1”的问题。
在部署vcops之前,登录web client在网络中定义vcops所处网络“网络协议配置文件”,定义一个IP地址池,这个IP地址池中不包含vcops所使用的IP地址。
最好用sso账户,要不弄完没权限解除关联。。。
web版的vcsa 啥都没有的解决办法找到了 包括不能同步。。。
解决方法如下:
我师父查看了日志
1, /var/log/vmware 下面有 sso vpx vsphere-client等日志 在vpx下有 vmware-vpxd.log inventoryservice_registered等
发现其中报ssl 认证错误 无法取数。。。重启后这个log没有了貌似,然后就就有了如下动作。。。
2, /var/vmware/vpxd/inventoryservice_registered 删除 重启
会在自动生成的。。。
然后什么都好了 也不报 inventory 错误了 所以信息都有 包括硬件信息 inventory 信息自动生成了一份吧
分析原因:
SSL certificates for https://x.x.x.x:7444/lookupservice/sdk 那一串SSL不对 所以无法取数,导致inventory问题 清单有问题 什么都没有 因此无法读取清单的数据库。。。
但是,因为以前出现过 SSL 不正确导致无法登陆web vcenter 所以每次新建vcenter 都在https://x.x.x.x:5480---》admin---》certificate regeneration enable---》yes
都已经自动更新SSL 为什么还会出现这种问题,难道 这不是一回事???
http://bbs.vmsky.com/thread-45885-1-1.html
无法连接到 vCenter Server。详细信息: UUID is not available for a registered vCenter A (https://A的ip/sdk). This problem can occur if you added B的vcenter from the custom UI instead of admin UI. Contact Support to fix the problem and then register a new vCenter
vcops在 Avcenter上, 想把B也注册到vcops上,好管理 结果出了这个问题?请教各位大大 这个怎么解决
百度根本没有 google暂时没找到。。。
解决方法找到了。。。
[url]http://vninja.net/vmware-2/purging-vcenter-operations-manager-5-x-database/[/url]
因为B vcenter 原来在A vcenter 的 vcops上面注册过 里面的东西没有清空,所以
出现以上报错 需要在vcops UI 上执行下面命令。。。
vcops-admin purge “B的vcenter” ###清空后重新再vcops中添加即可。。。。
参考链接:
http://vninja.net/vmware-2/purging-vcenter-operations-manager-5-x-database/
http://rafaelcamison.wordpress.com/2013/05/23/registering-vcenter-server-on-vcenter-operations-manager-fails-with-the-error-unable-to-connect-to-vcenter-server-details-connecting-to-vc-at-httpssdk-failed/
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2072321
https://communities.vmware.com/thread/421981
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2020091
文件被锁定,无法访问
http://bbs.vmsky.com/thread-36712-1-1.html
http://bbs.vmsky.com/forum.php?mod=viewthread&tid=46514
http://blog.chinaunix.net/uid-25712614-id-1754305.html
reboot
安装view composer 错误1920
http://bbs.vmsky.com/thread-40135-1-1.html
http://bbs.51cto.com/thread-1115805-1.html
http://bbs.51cto.com/thread-1120563-1-1.html
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2081888
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1009293&sliceId=2&docTypeID=DT_KB_1_1&dialogID=739898310&stateId=1
为什么给虚拟机分配了静态地址192.158.2.233,可是因为某种情况会有169.x。x。x地址,
这就无法远程了,169是无法自动获取才有的,为什么会有169的地址,什么情况导致
是什么原因导致vm既有静态地址 又有无法获取而出现的169地址。。。
问题解决,谢谢大家。。。。。。
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2012646
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1028373
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1028373
msg.snapshot.error-failed 突然发起磁盘整合 ,因为快照制作失败,vmdk有问题 所以vmware自动发起的
http://forums.veeam.com/vmware-vsphere-f24/esx-5-5-an-error-occurred-while-consolidating-disks-t20532.html
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=msg.snapshot.error-failed
https://communities.vmware.com/message/1987226
http://community.spiceworks.com/topic/235882-vmware-view-customization-operation-timed-out-intermittenly
https://communities.vmware.com/message/2316895
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007319
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2075206&sliceId=1&docTypeID=DT_KB_1_1&dialogID=726543897&stateId=0%200%20726557545
“Insufficient resources to satisfy configured failover level for HA”
VMware CPU and Memory Reservations: Fixing Insufficient resources to satisfy configured failover level for HA
http://geekswing.com/geek/vmware-cpu-and-ram-reservations-fixing-insufficient-resources-to-satisfy-configured-failover-level-for-ha/