您还会遇到以下症状:
在 NSX Manager 控制台上运行show log命令时,您会看到类似以下内容的条目:
- 在 NSX for vSphere 6.2.x 中
INFO DCNPool-4 VdnHostInstallationServiceImpl:691 - Host host-75 has 0 vmknics
INFO DCNPool-4 VdnHostInstallationServiceImpl:699 - vmknic vmk2 does not appear in the host host-75, remove it from database
INFO TaskFrameworkExecutor-28 VdnHostInstallationServiceImpl:359 - Host host-75 found (new or vmknic missing).Initializing preparation
INFO TaskFrameworkExecutor-6 PrepareVdsHostTask:212 - Creating vmknic on host host-75 pg dvportgroup-179 ipaddress xxx.xxx.xxx.xxx
- 在 NSX for vSphere 6.1.x 及更高版本中:
ERROR ViInventoryThread ViManagedHostSystemObject:358 - no hostNetInfo
注意:此问题不会出现在 vCenter Server 5.5 环境中,因为 vCenter Server 5.5 在数据库中缓存主机配置。
在极少数情况下,vCenter Server 可能会以不受控的方式重新启动。例如,在出现 vCenter Server 计算机崩溃、磁盘空间不足等情况时,它可能无法在 vCenter Server 服务重新启动之前停止 NSX Manager 服务。如果这种情况令人担忧,可以将 vCenter Server 服务及其从属服务设置为不随操作系统引导而自动启动。
可以在 Windows 中的服务下或使用 vCSA 上的 chkconfig 进行配置。
禁用 vCenter Server 服务的自动启动:
- chkconfig -s vmware-eam off --level 0123456
- chkconfig -s vmware-perfcharts off --level 0123456
- chkconfig -s vmware-sps off --level 0123456
- chkconfig -s vmware-vdcs off --level 0123456
- chkconfig -s vmware-vpx-workflow off --level 0123456
- chkconfig -s vmware-vsm off --level 0123456
- chkconfig -s vsphere-client off --level 0123456
- chkconfig -s vmware-vsan-health off --level 0123456
- chkconfig -s vmware-vpxd off --level 0123456
重新引导后手动启动服务:
- service-control --start vmware-vpxd
- service-control --start vmware-eam
- service-control --start vmware-perfcharts
- service-control --start vmware-sps
- service-control --start vmware-vdcs
- service-control --start vmware-vpx-workflow
- service-control --start vmware-vsm
- service-control --start vsphere-client
- service-control --start vmware-vsan-health
重新启用 vCenter 服务的自动启动:
- chkconfig -s vmware-vpxd on --level 35
- chkconfig -s vmware-eam on --level 35
- chkconfig -s vmware-perfcharts on --level 35
- chkconfig -s vmware-sps on --level 35
- chkconfig -s vmware-vdcs on --level 35
- chkconfig -s vmware-vpx-workflow on --level 35
- chkconfig -s vmware-vsm on --level 35
- chkconfig -s vsphere-client on --level 35
- chkconfig -s vmware-vsan-health on --level 35
Duplicate VTEPs in ESXi hosts after rebooting vCenter Server