In the past, I have documented start order of services in VMware vCenter Server Appliance 6.0 U2.
In the past, I simply stopped all services in VCSA, started them again and document the order.
Commands to do that are
service-control --stop --all
service-control --start --all
I did the same in vCenter Server Appliance 6.5 U1, and below are documented services started in the following order ...
References
In the past, I simply stopped all services in VCSA, started them again and document the order.
Commands to do that are
service-control --stop --all
service-control --start --all
I did the same in vCenter Server Appliance 6.5 U1, and below are documented services started in the following order ...
- lwsmd (Likewise Service Manager)
- vmafdd (VMware Authentication Framework)
- vmdird (VMware Directory Service)
- vmcad (VMware Certificate Service)
- vmware-sts-idmd (VMware Identity Management Service)
- vmware-stsd (VMware Security Token Service)
- vmdnsd (VMware Domain Name Service)
- vmware-psc-client (VMware Platform Services Controller Client)
- vmon (VMware Service Lifecycle Manager)
I was very surprised that there are no other services like vmware-vpostgres, vpxd, etc. I have found out that the rest of VCSA services are started by vmon service. To understand the start order we have to stop these servcies and start it again
/usr/lib/vmware-vmon/vmon-cli --batchstop ALL
/usr/lib/vmware-vmon/vmon-cli --batchstart ALL
vmon-cli do not report anything to standard output but it is very verbose to log file located at /var/log/vmware/vmon/vmon-syslog.log so grep of the log can help to understand the start order of vmon controlled services.
root@vc01 [ /var/log/vmware/vmon ]# grep "Executing op START on service" vmon-sys
17-12-12T09:44:23.639142+00:00 notice vmon Executing op START on service eam...
17-12-12T09:44:23.643113+00:00 notice vmon Executing op START on service cis-license...
17-12-12T09:44:23.643619+00:00 notice vmon Executing op START on service rhttpproxy...
17-12-12T09:44:23.644161+00:00 notice vmon Executing op START on service vmonapi...
17-12-12T09:44:23.644704+00:00 notice vmon Executing op START on service statsmonitor...
17-12-12T09:44:23.645413+00:00 notice vmon Executing op START on service applmgmt...
17-12-12T09:44:26.076456+00:00 notice vmon Executing op START on service sca...
17-12-12T09:44:26.139508+00:00 notice vmon Executing op START on service vsphere-client...
17-12-12T09:44:26.199049+00:00 notice vmon Executing op START on service cm...
17-12-12T09:44:26.199579+00:00 notice vmon Executing op START on service vsphere-ui...
17-12-12T09:44:26.200095+00:00 notice vmon Executing op START on service vmware-vpostgres...
17-12-12T09:45:33.427357+00:00 notice vmon Executing op START on service vpxd-svcs...
17-12-12T09:45:33.431203+00:00 notice vmon Executing op START on service vapi-endpoint...
17-12-12T09:46:54.874107+00:00 notice vmon Executing op START on service vpxd...
17-12-12T09:47:28.148275+00:00 notice vmon Executing op START on service sps...
17-12-12T09:47:28.169502+00:00 notice vmon Executing op START on service content-library...
17-12-12T09:47:28.176130+00:00 notice vmon Executing op START on service vsm...
17-12-12T09:47:28.195833+00:00 notice vmon Executing op START on service updatemgr...
17-12-12T09:47:28.206981+00:00 notice vmon Executing op START on service pschealth...
17-12-12T09:47:28.220975+00:00 notice vmon Executing op START on service vsan-health...
- eam (VMware ESX Agent Manager)
- cis-license (VMware License Service)
- rhttpproxy (VMware HTTP Reverse Proxy)
- vmonapi
- statsmonitor
- applmgmt
- sca (VMware Service Control Agent)
- vsphere-client
- cm (Component Manager / Content Library Service)
- vsphere-ui
- vmware-vpostgres (VMware Postgres)
- vpxd-svcs
- vapi-endpoint
- vpxd (VMware vCenter Server)
- sps (VMware vSphere Profile-Driven Storage Service)
- content-library
- vsm
- updatemgr
- pschealth
- vsan-health
References
- Brian Graf : Restarting vCenter Services in vSphere 6.5
3 comments:
Can you help me how did you figured out the start order apart looking at vmware logs?
Did you analyse the scripts to find out the order or just observed the services that are started after running start all command?
Please help me with your understanding . I am trying to figure the start order by looking at scripts and need help with it ..
Contact email : psaikrishna@vmware.com
Just observed the services that are started after running start all command.
Do you have some further findings or a better way to analyze it? Please, share. Thanks.
I agree with David.
Post a Comment