vi无法启动,service无法启动

早上来收到vccheck的报告出现错误,The Connect-VISERVER Cmdlet did not work, please check you VI Server.。立刻崩溃。。。。。

登陆上vc后发现服务停止了,启动后短时间可以登陆,但一会又不行。。没办法,检查系统日志发现又以下错误:

Could not allocate space for object 'dbo.VPX_HOST_VM_CONFIG_OPTION'.'PK_VPX_HOST_VM_CONFIG_OPTION' in database 'VIM_VCDB' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.

 

大致意思就是说filegroup满了。解决方法如下:

1:下载安装sql server management studio express,连接到vc:  LINKZKSVCSRV\SQLEXP_VIM.

2:在task中有个shrink,进行压缩

3:然后在SQLEXP_VIM> Programmability > Stored Procedures > Right-Click dbo.cleanup_events_tasks_proc and click execute,自动执行清除日志动作。

然后就ok了。其实建议大家在装vi的时候使用sql server不要使用express,有4G限制,另外在vSphere Client, click Administration > vCenter Server Settings > Database Retention Policy.设置相关日志保留周期,这样防止数据库一直增加。

 

你可能感兴趣的:(职场,休闲,vi无法启动,service无法启动)