请考虑以下 VMware 集群环境:
1 个 Cisco UCS 5108 刀片服务器机箱
6 个思科 UCS B200 M3(vSphere 6.5 Enterprise Plus)
1 个 VMware vCenter 标准版 6.5
我们的一台服务器出现了问题,可能是由于存储 HBA 故障造成的。不幸的是,在事件发生时,vCenter VM 托管在故障服务器上。我们费尽周折将所有 VM 手动移动到其他服务器,最后,除了 vCenter VM 之外,一切都正常。我们怀疑它上面的某些东西损坏了,因为我们无法运行某些服务,尤其是 vmware-sps 服务,这导致 Veeam 备份和其他功能出现一些问题。当尝试手动启动 vmware-sps 服务时,我们得到了以下信息:
Command> service-control --all --status
Running:
applmgmt lwsmd pschealth vmafdd vmcad vmcam vmdird vmdnsd vmonapi vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-mbcs vmware-perfcharts vmware-psc-client vmware-rhttpproxy vmware-sca vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-updatemgr vmware-vapi-endpoint vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-client vsphere-ui
Stopped:
vmware-imagebuilder vmware-netdumper vmware-rbd-watchdog vmware-sps vmware-vcha
Command> service-control --start vmware-sps
Perform start operation. vmon_profile=None, svc_names=['vmware-sps'], include_coreossvcs=False, include_leafossvcs=False
2024-08-07T12:21:32.331Z Service sps state STOPPED
Error executing start on service sps. Details {
"resolution": null,
"detail": [
{
"args": [
"sps"
],
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'sps'",
"translatable": "An error occurred while starting service '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
Service-control failed. Error {
"resolution": null,
"detail": [
{
"args": [
"sps"
],
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'sps'",
"translatable": "An error occurred while starting service '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
/var/log/vmware/vmware-sps/sps.log
2024-08-07T09:21:36.969-03:00 [main] ERROR opId=sps-Main-33292-112 com.vmware.sps.StorageMain - Exception when running SPS service
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'httpServerEndpoint' defined in class path resource [../conf/pbm-spring-config.xml]: Could not resolve placeholder 'pbm.http.port' in value "${pbm.http.port}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'pbm.http.port' in value "${pbm.http.port}"
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:223)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:222)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:281)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:161)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
at com.vmware.vim.storage.common.app.CommonSpringService.createSpringAppContext(CommonSpringService.java:38)
at com.vmware.pbm.app.PbmLocalService.initialize(PbmLocalService.java:135)
at com.vmware.pbm.app.PbmLocalService.<init>(PbmLocalService.java:117)
at com.vmware.pbm.app.PbmLocalService.initInstance(PbmLocalService.java:195)
at com.vmware.sps.StorageMain.loadPbmService(StorageMain.java:169)
at com.vmware.sps.StorageMain.main(StorageMain.java:38)
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'pbm.http.port' in value "${pbm.http.port}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:258)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitGenericArgumentValues(BeanDefinitionVisitor.java:159)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85)
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:220)
... 14 more
我们在 Google 和官方文档中搜索均未成功。我们没有有效的 VMware 支持合同(我知道,我知道,但这不是我的错……)。有人知道如何排除故障并修复此问题吗?提前致谢!