虚拟化

vCenter Server启动停止服务

· 246 字 · 约 1 分钟
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
List vCenter Server Appliance services:
Using the vCenter Server Appliance Management Interface (VAMI):
Log into the vCenter Appliance Management Interface (VAMI) as root: https://<vCenter_FQDN_or_IP_ADDRESS>:5480
Go to Services
Using the command-line:
SSH as root or access console session to the vCenter server

Via service-control command:
List the vCenter Server Appliance services:

# service-control --list

View the current status of the vCenter Server Appliance services:

# service-control --status --all

Via vmon-cli command:
List the vCenter Server Appliance services:

# service-control --list

View the current status of the vCenter Server Appliance services:

# service-control --status ALL

Stop, Start and Restart vCenter Appliance services:

Using the vCenter Server Appliance Management Interface (VAMI):
Log into the vCenter Appliance Management Interface (VAMI) as root: https://<vCenter_FQDN_or_IP_ADDRESS>:5480

Go to Services
Select the service and click Start, Stop or Restart
Using the command-line:
SSH as root or access console session to the vCenter server

Via service-control command:
Start, stop, or a specific service:

# service-control --start <servicename>
# service-control --stop <servicename>

Start or stop all services using the following commands:

service-control --start --all
service-control --stop --all

Note: To restart all services, first stop then start all the services:

# service-control --stop --all && service-control --start --all