设为首页 收藏本站
查看: 917|回复: 0

[经验分享] VMware VirtualCenter服务开机不能自动启动问题解决

[复制链接]

尚未签到

发表于 2016-1-6 11:26:48 | 显示全部楼层 |阅读模式
解决:VMware VirtualCenter服务开机不能自动启动方法
  转自:http://symcafee.blog.163.com/blog/static/37662047201057115744349/
  
  最近Windows2003 server + VI4 update1 环境突然工作不正常, VC4开机后无法连接,经检查是VC的计算机出现故障。由于VC server 启动依赖SQL 2005,而本机的SQL 服务貌似启动较慢,查实VMware解决方法如下:

VMware 官方原文:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007669

照着下面提示将SQLserver与VCserver 建立依赖关系,验证成功。
VMware VirtualCenter service does not start automatically after reboot
  
Symptoms
  

  • VirtualCenter service does not start after reboot
  • VMware Infrastructure (VI) Client cannot connect to VirtualCenter
  • You are using Microsoft SQL Server or SQL Express
  • VirtualCenter Server service can be started manually with no problems

Purpose
In some cases a race condition can occur and VirtualCenter starts before the SQL database it depends on.
 
This article provides steps to prevent the race condition from occurring.

Resolution
Thisissue may occur if the VirtualCenter Server service starts before one of the services it depends on. The VirtualCenter Server service is dependent on the following services:
  

  • SQL Services
  • ADAM Services (when using linked mode in vCenter Server 4.0)

Toresolve this issue, add a dependency to the VirtualCenter service so that it only starts after the necessary services have started.


Note: This solution assumes that the database server and the SQL server reside on the same machine. If the SQL server is on a different physicalmachine, you must ensure that the SQL server is functioning before attempting to start the VirtualCenter service.
 
To create a service dependency:
  

  • Click Start> Run.
  • Type services.mscand press Enter.
  • Locate any services that VirtualCenter requires. For example, SQLEXP_VIM or ADAM_VCMSDS.
  • Open the service properties and note the Service Name. For example, MSSQL$SQLEXP_VIM.
  • In the Run dialog, type Regedit.exeand press Enter. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpxd.
  • Double-click the DependOnServicekey and add the Service name using the name identified in step 4.
  • Close Regedit.
  • Go back to the Services window and open the service properties for the service identified in step 3.
  • On the Dependenciestab, verify the VMware VirtualCenter service is listed as depending on the service.
  • Repeat steps 3 to 9 for any services that VirtualCenter requires.

  PS:此文章为转帖。此方法适用于3.5或4.0的vCenter Server服务无法自动问题。
  1.  此问题主要原因是数据库相关服务启动较慢,导致VC Server服务无法启动
  2.  解决就是建立相关服务依赖,通过注册表建立,注意数据库服务名字别写错了,要看数据库服务属性里的“服务名称”。

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-160917-1-1.html 上篇帖子: VMware安装RedHat Linux 9.0上网详细设置 下篇帖子: 在VMWare WorkStation上安装64位操作系统
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表