在克隆或恢复VCSA后,需要进入5480端口重新配置VCSA,否则Photon OS起来后无法启动相关的vCenter服务,报“Service vmware-vmon startup type is not automatic. Skip”的错误。
root@photon-machine [ ~ ]# service-control --status
Running:
vmware-pod
Stopped:
applmgmt lwsmd vmafdd vmcam vmonapi vmware-analytics vmware-cm vmware-content-library vmware-eam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-perfcharts vmware-postgres-archiver vmware-rbd-watchdog vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-updatemgr vmware-vapi-endpoint vmware-vcha vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsan-dps vsphere-client vsphere-ui
root@photon-machine [ ~ ]#
root@photon-machine [ ~ ]#
root@photon-machine [ ~ ]# service-control --start
Operation not cancellable. Please wait for it to finish...
Performing start operation on profile: ALL...
Service vmware-vmon startup type is not automatic. Skip
Service-control failed. Error: Failed to start services in profile ALL. RC=11, stderr=Connect error. ErrCode: 111
因此,每次做完克隆或恢复VCSA,在启动虚拟机后,首先进入VCSA的5480界面,按照提示进行配置,完成后即可正常登录vCenter界面。
来源:
vCenter services not starting automatically after a restore from an image based backup. (78042)