VCSA服务重启命令

Sphere Web Client界面的服务分别是:shell

vmware-mbcsapi

vmware-netdumperorm

vmware-rbd-watchdogit

分别执行命令确认,首先执行命令:io

service-control --status vmware-mbcsform

service-control --status vmware-netdumperclass

service-control --status vmware-rbd-watchdogcli

能够看到服务处于Stopped状态。List

看到上述几个服务都处于中止状态,那么,接下来尝试手动启动它们,命令以下:file

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

相关文章
相关标签/搜索