remington_young 发表于 2018-6-6 09:10:48

VMware TroubleShooting

  vmware esxi
  

  No.1
  Challenge
  登陆虚拟机打开控制台出现:unable to connect to the mks virtual machine config file does not exist
  然后发现这台主机的全部虚机都是这样,存储变成斜体字(认不到),但是能看到存储中的东西,应用能ping通,能使用。
  

  Solution
  http://www.virtualization.net/1513-unable-to-connect-to-mks-virtual-machine-config-file-does-not-exist
  根据这个Restart Management Agents,直接服务断了,存储找不到了,赶紧在存储中找到vmdk,加载到别的主机上(怕有锁无法加载)
  然后重启整个主机,一切都好。。。
  

  More Information
  http://www.virtualization.net/1513-unable-to-connect-to-mks-virtual-machine-config-file-does-not-exist
  

  

  

  No.2
  Challenge
  无法部署vcops
  http://www.it165.net/admin/html/201404/2878.html
  

  Solution
  导入完vcops后启动vapp时,遇到了“无法初始化属性vami.netmask0.vm_1”的问题。
  在部署vcops之前,登录web client在网络中定义vcops所处网络“网络协议配置文件”,定义一个IP地址池,这个IP地址池中不包含vcops所使用的IP地址。
  最好用sso账户,要不弄完没权限解除关联。。。
  

  

  

  No.3
  Challenge
  web版的vcsa 啥都没有的解决办法找到了 包括不能同步。。。
  

  Solution
  解决方法如下:
  1, /var/log/vmware下面有 ssovpxvsphere-client等日志 在vpx下有 vmware-vpxd.log inventoryservice_registered等
  发现其中报ssl 认证错误 无法取数。。。重启后这个log没有了貌似,然后就就有了如下动作。。。
  2, /var/vmware/vpxd/inventoryservice_registered 删除 重启
  会在自动生成的。。。
  然后什么都好了 也不报 inventory 错误了 所以信息都有 包括硬件信息inventory 信息自动生成了一份吧
  

  More Information
  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
  

  

  

  No.4
  Challenge
  无法连接到 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暂时没找到。。。
  

  Solution
  解决方法找到了。。。
  http://vninja.net/vmware-2/purging-vcenter-operations-manager-5-x-database/
  因为B vcenter 原来在A vcenter 的 vcops上面注册过 里面的东西没有清空,所以
  出现以上报错 需要在vcops UI 上执行下面命令。。。
  

  More Information
  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
  

  

  

  No.5
  Challenge
  文件被锁定,无法访问
  

  Solution
  http://bbs.vmsky.com/thread-36712-1-1.html
  http://bbs.vmsky.com/forum.php?mod=viewthread&tid=46514
  

  

  

  No.6
  Challenge
  unable to connect to the MKS:Internal error.问题
  

  Solution
  http://blog.chinaunix.net/uid-25712614-id-1754305.html
  reboot
  

  

  

  No.7
  Challenge
  为什么给虚拟机分配了静态地址192.158.2.233,可是因为某种情况会有169.x。x。x地址,
  这就无法远程了,169是无法自动获取才有的,为什么会有169的地址,什么情况导致
  是什么原因导致vm既有静态地址 又有无法获取而出现的169地址。。。
  

  Solution
  问题解决,谢谢大家。。。。。。
  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
  

  

  

  No.8
  Challenge
  msg.snapshot.error-failed突然发起磁盘整合 ,因为快照制作失败,vmdk有问题 所以vmware自动发起的
  

  Solution
  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
  

  

  

  No.9
  Challenge
  Customization operation timed out
  

  Solution
  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
  

  

  

  

  No.10
  Challenge
  对 vSphere Client 中的虚拟机控制台和 MKS 问题进行故障排除 (2075206)
  

  Solution
  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
  

  

  

  No.11
  Challenge
  “Insufficient resources to satisfy configured failover level for HA”
  VMware CPU and Memory Reservations: Fixing Insufficient resources to satisfy configured failover level for HA
  

  Solution
  http://geekswing.com/geek/vmware-cpu-and-ram-reservations-fixing-insufficient-resources-to-satisfy-configured-failover-level-for-ha/
  Host IPMI System Event Log Status
  http://jackiechen.org/2013/11/22/host-ipmi-system-event-log-status/
  https://communities.vmware.com/message/2401312
  https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033725
  

  

  

  No.12
  Challenge
  converter
  Unable to connect to the network share 'x.x.x.x\ADMIN$'.
  

  Solution
  https://communities.vmware.com/message/1608094
  http://blog.163.com/gyploveraul7@126/blog/static/12290193920097311411974/
  cmd--》net share admin$ /unlimited
  

  More Information
  converter 转换如何开启共享admin
  http://blog.163.com/gyploveraul7@126/blog/static/12290193920097311411974/
  cmd
  NET   SHARE   ADMIN$
  NET   SHARE   IPC$
  

  

  

  No.13
  Challenge
  Resetting the vCenter SSO administrator password (2034608)
  

  Solution
  https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2034608
  

  More Information
  esxi6.0u1 update to esxi6.0u2
  esxcli software vib install -d="/vmfs/volumes/datastore1/update-from-esxi6.0-6.0_update02.zip"
  

  

  

  No.14
  Challenge
  Cannot open the disk ‘C:\VM-machines\Windows XP-001\Windows XP Professional-000001.vmdk’ or one of the snapshot disks it depends on. Reason: Failed to lock the file.
  http://renzhiyuan.blog.51cto.com/10433137/1835506
  

  Solution
  解决办法一:
  1、在VMware该虚拟机路径下的所有.lck文件和文件夹下删除或迁移至其它目录,一般就可以解决了。
  2、如果再次启动VMware的Windows Vista系统失败,尝试右键虚拟机出错的系统->Settings->Hardware->Hard Disk->Utilities->Map->映射虚拟硬盘到Z:\
  3、断开虚拟硬盘,重新加载,启动。系统就可以正常启动了。我使用的就是这种解决办法,可以正常启动虚拟机。
  解决办法二:
  使用记事本打开*.VMX文件上加上一行代码disk.locking = "FALSE",重新启动该虚拟机。这种方法我并没有测试过,在此做一记录以备后用。
  

  

  

  No.14
  Challenge
  VMware vSphere Client连接vCenter server报错 ServiceInstance.RetrieveContent调用失败
  

  Solution
  http://www.jianshu.com/p/1f7ce8462dd5
  在此总结下在网上找到想过方法:
  1. DNS问题,就是在windows系统里面找到host文件查看是否有不正常的信息
  2. 如果是windows 2003系统安装vCenter server5.1 以上这个是版本的问题
  3. 如果以上问题都无法解决,可以重新安装vCenter server 重新添加EXSi和虚拟机清单,但是需要在知道EXSi用户名密码和ip地址时候。(如果重启无效,我已经准备如此操作)
  

  

No.16
ESXi 添加datastore出错 ESXi5.1调用对象”ha-datastoresystem”出错及处理
VMware vSphere Client连接vCenter server报错 ServiceInstance.RetrieveContent调用失败


Solution
  http://blog.sina.com.cn/s/blog_666e9239010149ju.html
  http://aba.qzu.cn/archives/531.html
  

  dd if=/dev/zero of=/vmfs/devices/disks/naa.600507680c80010f1000000000000023 bs=512 count=34 conv=notrunc
  

   fdisk -l
  fdisk: device has more than 2^32 sectors, can't use all of them
  Disk /dev/disks/naa.600507680c80010f1000000000000023: 2199.0 GB, 2199023255040 bytes
  64 heads, 32 sectors/track, 2097151 cylinders
  Units = cylinders of 2048 * 512 = 1048576 bytes
  Disk /dev/disks/naa.600507680c80010f1000000000000023 doesn't contain a valid partition table###dd后无gpt 等格式信息需要分区表
  

  

No.16
Challenge
VMware vSphere Client连接vCenter server报错 ServiceInstance.RetrieveContent调用失败


Solution
  

  

  vmware horizon
  

  No.1
  Challenge
  安装viewcomposer错误1920
  

  Solution
  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
  

  

No.2
Challenge
  chrome不能打开hoirzon7的web控制台?
  打开xx.domain点击html 一直转圈
  打开xx.domain/admin 是个屏幕中间的小框框
  火狐和ie可以


Solution
  http://bbs.vmsky.com/thread-56572-1-1.html
  正好前几天遇到相同的问题 找到网上的解决方法 可以尝试一下
  http://www.binhonghua.com/2016/05/17/view7-browser/
  1.在C:\Program Files\VMware\VMware View\Server\sslgateway\conf下新建一个locked.properties的文件
  2.写入以下内容 注意大小写 checkOrigin=false
  3.重启服务或者connection服务器
  
页: [1]
查看完整版本: VMware TroubleShooting