VCSA服务重启命令
Sphere Web Client界面的服务分别是:
vmware-mbcs
vmware-netdumper
vmware-rbd-watchdog
分别执行命令确认,首先执行命令:
service-control --status vmware-mbcs
service-control --status vmware-netdumper
service-control --status vmware-rbd-watchdog
可以看到服务处于Stopped状态。
看到上述几个服务都处于停止状态,那么,接下来尝试手动启动它们,命令如下:
service-control --start vmware-rbd-watchdog vmware-netdumper vmware-mbcs
VMware vCenter Server Appliance 6.5.0.14000
Type: vCenter Server with an embedded Platform Services Controller
Connected to service
* List APIs: "help api list"
* List Plugins: "help pi list"
* Launch BASH: "shell"
// 使用shell进行连接
Command> shell
Shell access is granted to root
// 查看VMware services帮助
root@photon-machine [ ~ ]# service-control --help
// 列出所有可控VMware服务
root@photon-machine [ ~ ]# service-control --list-services
// 查看VMware services运行状态
root@photon-machine [ ~ ]# service-control --status vsphere-client
Stopped:
vsphere-client
root@photon-machine [ ~ ]# service-control --stop vsphere-client
// 启动
vsphere-client
root@photon-machine [ ~ ]# service-control --start vsphere-client
Perform start operation. vmon_profile=None, svc_names=['vsphere-client'],
include_coreossvcs=False, include_leafossvcs=False
2018-03-17T16:19:28.015Z
Service vsphere-client state STOPPED
Successfully started service
vsphere-client
root@photon-machine [ ~ ]# service-control --status vsphere-client
Running:
vsphere-client