web访问服务器,错误:
503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::LocalServiceSpec:0000000001BBBE10] _serverNamespace = /vsphere-client _isRedirect = false _port = 9090)
控制指令,查看服务状态:
C:\Program Files\VMware\vCenter Server\bin>service-control --status --all
INFO:root:Service: vmware-cis-config, Action: status
Service: vmware-cis-config, Action: status
2022-10-18T15:03:17.952Z State for service vmware-cis-config: RUNNING
INFO:root:Service: VMWareAfdService, Action: status
Service: VMWareAfdService, Action: status
2022-10-18T15:03:17.954Z State for service VMWareAfdService: RUNNING
INFO:root:Service: rhttpproxy, Action: status
Service: rhttpproxy, Action: status
2022-10-18T15:03:17.956Z State for service rhttpproxy: RUNNING
INFO:root:Service: VMWareDirectoryService, Action: status
Service: VMWareDirectoryService, Action: status
2022-10-18T15:03:17.957Z State for service VMWareDirectoryService: RUNNING
INFO:root:Service: VMWareCertificateService, Action: status
Service: VMWareCertificateService, Action: status
2022-10-18T15:03:17.959Z State for service VMWareCertificateService: RUNNING
INFO:root:Service: VMwareIdentityMgmtService, Action: status
Service: VMwareIdentityMgmtService, Action: status
2022-10-18T15:03:17.961Z State for service VMwareIdentityMgmtService: RUNNING
INFO:root:Service: VMwareSTS, Action: status
Service: VMwareSTS, Action: status
2022-10-18T15:03:17.963Z State for service VMwareSTS: RUNNING
INFO:root:Service: VMwareComponentManager, Action: status
Service: VMwareComponentManager, Action: status
2022-10-18T15:03:17.965Z State for service VMwareComponentManager: START_PENDI
NG
INFO:root:Service: vmware-license, Action: status
Service: vmware-license, Action: status
2022-10-18T15:03:17.967Z State for service vmware-license: STOPPED
INFO:root:Service: VMWareNetworkCoredumpWebserver, Action: status
Service: VMWareNetworkCoredumpWebserver, Action: status
2022-10-18T15:03:17.969Z State for service VMWareNetworkCoredumpWebserver: STO
PPED
INFO:root:Service: vmware-psc-client, Action: status
Service: vmware-psc-client, Action: status
2022-10-18T15:03:17.971Z State for service vmware-psc-client: STOPPED
INFO:root:Service: vmwareServiceControlAgent, Action: status
Service: vmwareServiceControlAgent, Action: status
2022-10-18T15:03:17.973Z State for service vmwareServiceControlAgent: STOPPED
INFO:root:Service: vmware-network-coredump, Action: status
Service: vmware-network-coredump, Action: status
2022-10-18T15:03:17.974Z State for service vmware-network-coredump: STOPPED
INFO:root:Service: vapiEndpoint, Action: status
Service: vapiEndpoint, Action: status
2022-10-18T15:03:17.976Z State for service vapiEndpoint: STOPPED
INFO:root:Service: invsvc, Action: status
Service: invsvc, Action: status
2022-10-18T15:03:17.977Z State for service invsvc: STOPPED
INFO:root:Service: mbcs, Action: status
Service: mbcs, Action: status
2022-10-18T15:03:17.979Z State for service mbcs: STOPPED
INFO:root:Service: vpxd, Action: status
Service: vpxd, Action: status
2022-10-18T15:03:17.998Z State for service vpxd: STOPPED
INFO:root:Service: EsxAgentManager, Action: status
Service: EsxAgentManager, Action: status
2022-10-18T15:03:18.000Z State for service EsxAgentManager: STOPPED
INFO:root:Service: vmware-autodeploy-waiter, Action: status
Service: vmware-autodeploy-waiter, Action: status
2022-10-18T15:03:18.001Z State for service vmware-autodeploy-waiter: STOPPED
INFO:root:Service: vimPBSM, Action: status
Service: vimPBSM, Action: status
2022-10-18T15:03:18.003Z State for service vimPBSM: STOPPED
INFO:root:Service: vdcs, Action: status
Service: vdcs, Action: status
2022-10-18T15:03:18.004Z State for service vdcs: STOPPED
INFO:root:Service: vmsyslogcollector, Action: status
Service: vmsyslogcollector, Action: status
2022-10-18T15:03:18.006Z State for service vmsyslogcollector: STOPPED
INFO:root:Service: vmware-vpx-workflow, Action: status
Service: vmware-vpx-workflow, Action: status
2022-10-18T15:03:18.008Z State for service vmware-vpx-workflow: STOPPED
INFO:root:Service: vsan-health, Action: status
Service: vsan-health, Action: status
2022-10-18T15:03:18.009Z State for service vsan-health: STOPPED
INFO:root:Service: VServiceManager, Action: status
Service: VServiceManager, Action: status
2022-10-18T15:03:18.011Z State for service VServiceManager: STOPPED
INFO:root:Service: vspherewebclientsvc, Action: status
Service: vspherewebclientsvc, Action: status
2022-10-18T15:03:18.013Z State for service vspherewebclientsvc: STOPPED
INFO:root:Service: vmware-perfcharts, Action: status
Service: vmware-perfcharts, Action: status
2022-10-18T15:03:18.014Z State for service vmware-perfcharts: STOPPED
INFO:root:Service: vmwarevws, Action: status
Service: vmwarevws, Action: status
2022-10-18T15:03:18.016Z State for service vmwarevws: STOPPED
INFO:root:StartPending:
VMwareComponentManager 服务意志无法正常启动,
Connect-
VIServer -Protocol https -User ‘xxxxx@vsphere.local’ -Password ‘xxxxx
’ -Server 10.X.X.244
警告: There were one or more problems with the server certificate for the
server 10.X.X.244:443:
* The X509 chain could not be built up to the root certificate.
* The X509 chain is not valid due to an invalid time value, such as a value
that indicates an expired certificate.
* The certificate's CN name does not match the passed value.
Certificate: [Subject]
OU=VMware, O=VMware, L=Palo Alto, S=California, C=US, CN=VC.xxx.edu.cn
[Issuer]
OU=VMware, O=VC, S=California, C=US, DC=local, DC=vsphere, CN=VC.xxx.edu.cn
[Serial Number]
xxxxxx
[Not Before]
2020/10/13 16:31:02
[Not After]
2022/10/13 16:31:02
折腾了很久,找了几个资深用户,并原来的vmware管理员,最后找了vmware开了case,因为版本6已经不提供支持了,但是还是帮忙处理了,最后发现时证书过期了,帮忙配置了新的证书。
这里要给DELL点个赞,虽然远程的时候对方工程师的通话质量非常差,但是没有因为版本不提供支持,还是帮忙处理了。
最终操作:
$VCInstallHome = [System.Environment]::Expanh ($STORE in & "$VCInstallHome\vmafdd\vecs-cli" store list){Write-host
entry list --store $STORE --text | findstr /C:"Alias" /C:"Not After"}
查看当前证书状态
给了一个checksts.py文件
执行
通过generate all certificates 重新创建了证书
在Vmware Horizon view administrator页面
view配置---服务器---vCenter Server---vc.xxx.edu.cn中 编辑,配置,
激活虚拟机磁盘空间回收以及置备服务。
没有这两项服务,虚拟虚拟桌面操作系统丢失,系统提示磁盘空间不足。