第一范文网 - 专业文章范例文档资料分享平台

Vmware vSphere常见问题汇总 - 图文

来源:用户分享 时间:2025/8/17 7:51:30 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

“C:Userswpvb1AppDataLocalTemp2,1FBCB62E-6178-455F-ADE2-07957D81A7D4}VM4273.tmp”Testing DB connection from C:Userswpvb1AppDataLocalTemp2{1FBCB62E-6178-455F-ADE2-07957D81A7D4}VM4273.tmp: [2012-07-26 11:12:50 INFO] Config name=dummy INFO] Property file=null

INFO] Loaded url from props= INFO] Overrides= INFO] prop:dbtype INFO] prop:url

INFO] prop:password

INFO] prop:password.encrypted INFO] prop:driver INFO] prop:username

Error: The TCP/IP connection to the host VMhost, port 1433 has failed. Error: “Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.”. [2012-07-26 11:13:05 SEVERE] Error in invocation of testdbprops

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host VMhost, port 1433 has failed. Error: “Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.”. at

com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:170) at

com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1049) at

com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:833) at

com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:716)

at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:841) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:185) at

com.vmware.vim.common.vdb.VdbDataSource.getConnection(VdbDataSource.java:84) at

com.vmware.vim.vimtool.dbprops.TestDbProperties.testConnection(TestDbProperties.java:70)

at

com.vmware.vim.vimtool.dbprops.TestDbProperties.invoke(TestDbProperties.java:53) at com.vmware.vim.vimtool.VimTool.invokeTool(VimTool.java:156) at com.vmware.vim.vimtool.VimTool.main(VimTool.java:94)

Error in invocation of testdbprops: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host VMhost, port 1433 has failed. Error: “Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.”. 故障分析

主要发生在SQL服务器的缺省端口不是1443导致的; 解决方案

安装vCenter Server的过程中会生成和验证JDBC URL,由于缺省走的是1443端口,当变更了端口之后,安装时,就可以输入正确的JDBC地址,例如: jdbc:sqlserver://xxxx:port;databaseName=vcdb

如果选用的是Local Express版本的DB时,则采用如下配置:

jdbc:sqlserver://localhost\\SQLEXP_VIM;databaseName=VIM_VCDB;integratedSecurity=true

87、 启动RHEL Linux虚拟机提示:Cannot setup NMI watchdog on CPU 故障状态

启动RHEL的Linux虚拟机时,Console提示如下信息: Cannot setup NMI watchdog on CPU 0 Cannot setup NMI watchdog on CPU 1 Cannot setup NMI watchdog on CPU 2 Cannot setup NMI watchdog on CPU 3 故障分析

主要时部分Linux操作系统却升级活了支持Non Maskable Interrupt(NMI),而它会依赖硬件watchdog服务来监控系统是否由于硬件故障导致的异常;

不是所有硬件都支持NMI的,因此,当虚拟机选择最新的8和7这个虚拟机硬件版本时,容易出现这个问题; 解决方案

关闭掉这个Non Maskable Interrupt(NMI)功能,步骤如下: 1、进入到这台Linux虚拟机的命令行界面,然后运行如下命令: #vi /boot/grub/menu.lst

2、在打开的文件里,更改nmi_watchdog的值,从1改为0,例如: t itle Red Hat Enterprise Linux Server (2.6.18-128.el5) root (hd0,0)

kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/sda nmi_watchdog=0 initrd /initrd-2.6.18-128.el5.img

3、保存退出后重启虚拟机再观察是否正常。

88、vCenter升级到5.0后只剩Real time的Performance数据可用 故障状态

1、升级到vCenter Server 5.0后,Performance数据不再能收集并存存放了; 2、在vCenter Server的Real Time performance里面只能看到实时数据; 3、过去的一些统计数据依然可以在Overview和Advanced Charts里看到; 4、在vCenter Server的vpxd日志文件里,有类似如下错误信息:

Hint ‘noexpand’ on object ‘VPXV_counter_device’ is invalid.failed to execute process_temptable[0-2] 故障分析

这个问题是由于VPXV_DEVICE_COUNTER这种数据表的索引信息丢失导致,验证这些Index是否有问题,可以通过如下步骤来完成:1、利用SQL Management Studio打开vCenter Server的数据库表; 2、找到对应的表后,找到VPXV_DEVICE_COUNTER然后可以看到类似如下的索引信息:

VPXI_DEVICE_COUNTER_ENTITY VPXI_DEVICE_COUNTER_INDEX VPXI_DEVICE_COUNTER_NAME VPXI_DEVICE_STAT_ID_IDX

3、如果有,则表示正常,如果没有则需要按照如下方式解决; 解决方案

如果没有上述几个索引信息,则按照如下步骤处理:

1、连接到vCenter Server之后进入到如下目录:C:Program FilesVMwareInfrastructureVirtualCenter Server,找到VCDB_mssql.sql这个安装脚本,利用文本打开,创建缺失的索引:

/*==============================================================*/ /* Index: VPXI_DEVICE_COUNTER_INDEX */

/*==============================================================*/ create uOUNTER_NAME_IDX on VPXV_DEVICE_COUNTER(device_name) ;

/*==============================================================*/ /* Index: VPXI_DEVICE_STAT_ID_IDX */

/*==============================================================*/ CREATE INDEX VPXI_DEVICE_STAT_ID_IDX on VPXV_DEVICE_COUNTER(stat_id) ;

2、利用SQL Management Studio打开vCenter Server的数据库,然后执行第二步中的那个VCDB_mssql.sql脚本,点击Execute,然后在VPXV_DEVICE_COUNTER验证是否索引正常。

89、重定向VUM的日志到Syslog服务器后扫描ESXi 5.0失败 故障状态 1、将VMware Update Manager日志重定向到Syslog服务器后扫描ESXi 5.0失败; 2、系统提示如下错误信息:VMware vSphere Update Manager had an unknow error 3、在VMware Update Manager的日志信息里包含类似如下错误信息: [2012-02-27 16:07:48:406 ‘scanHost20’ 3348 ERROR+ *hostUpdateBase, 695+ Platform Configuration Error: /usr/sbin/esxupdate returned no results, exit status: 1 [2012-02-27 16:07:48:469 ‘VcTaskMonitor’ 3348 DEBUG+ *vcTaskMonitor, 60+ VcTaskMonitor destroyed for session[522d9d1d-5e88-7f2b-d7fa-5f3d650e1f9a]5237c999-7888-49dd-f065-0191254e9fbb [2012-02-27 16:07:48:469 ‘SingleHostScanTask.SingleHostScanTask,9-’ 3348 ERROR+ [singleHostScanTask, 399] SingleHostScan caught exception: Platform Configuration Error: /usr/sbin/esxupdate returned no results, exit status: 1 with code: -1 [2012-02-27 16:07:48:484 ‘SingleHostScanTask.SingleHostScanTask,9-’ 3348 ERROR+ [vciTaskBase, 564] Task execution has failed: Platform Configuration Error: /usr/sbin/esxupdate returned no results, exit status: 1 故障分析 这个问题一般都是由于vmsyslogd服务没有正常运行导致; 解决方案 确认vmsyslog服务正常运行,步骤如下: 1、执行如下命令确认vmsyslogd服务是否正常运行: #ps | grep vmsyslogd 备注:如果没有任何输出信息,则表示服务没有运行; 2、如果没有运行,则执行如下命令启动这个服务: 3、可以执行如下命令重新载入vmsyslogd服务: #esxcli system reload 4、再次验证vmsyslogd服务的运行状态是否正常: #ps | grep vmsyslogd 90、 查看ESXi主机的管理服务的运行状态方式 1、打开DUCI的Local ESXi Shell,然后Alt+F1进入到命令界面; 2、执行如下命令查看hostd服务是否正常运行: /etc/init.d/hostd status 输出类似如下结果: hostd is running 3、如果ESXi主机有连接到vCenter Server则还可以查看vCenter Server位于ESXi主机上的Agent是否正常: /etc/init.d/vpxa status 输出类似如下结果: vpxa is running 91、 vCenter Server 5.0 Update1的Service Status页标签显示License Services警报 故障状态 1、vCenter Service Status页标签显示License Services警报; 2、系统提示如下错误警报: Threshold Usage Tracking service Alert Cannot obtain user-defined license thresholds Asset properties History service Alert Cannot store hosts’ MAC addresses in the vCenter Server database Assignments Feeding service Alert Cannot obtain license assignments for VRAM usage

搜索更多关于: Vmware vSphere常见问题汇总 - 图文 的文档
Vmware vSphere常见问题汇总 - 图文.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c2o1r42gmsf1x2cw44eao_8.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top