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

相關文章
相關標籤/搜索