ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VMware VCSA – How to check running services?

By Vladan SEGET | Last Updated: April 26, 2016

Shares

We have covered 3 ways to activate SSH in VMware vCenter Server Appliance (VCSA) in our previous post – VMware VCSA – 3 Ways to Activate SSH. Today's post we will check for the services running on the VCSA and we will see what to do if we don't have an access via GUI. Usually, the reason that GUI won't work is that one of the services is not running and needs to be started. But how to do when there is no easy access to start those services?

VMware VCSA has the same set of features than Windows based vCenter, but for most admins it's not easy to manage as more Linux skills are necessary. VMware VCSA on Linux It's kind of a “black box” to them. I had witnessed this situation few times on client's sites. The fact that it runs on Linux might save you one Windows server license, after all. Having a VCSA in your environment does not mean that you can't use vSphere client (Windows based). I'm writing that because I had a question from a user which wasn't aware of that… So the VCSA is a very viable alternative now, and it will be a privileged alternative to Windows based vCenter in the future.

But for very small shops the benefit is obvious. The fact that it runs on Linux might save you one Windows server license, after all. Some admins were even surprised when I told them that they can use vSphere Client (not web client, but “old” C# Windows client) to manage vSphere environment which has vCenter running on Linux (a VCSA). Having a VCSA in your environment does not mean that you can't use vSphere client (Windows based)…. So the VCSA is a very viable alternative, and it will be a privileged alternative to Windows based vCenter in the future.

Let's have a look at the options we have to start/stop or restart vCenter or PSC (platform services controller) services on the VCSA appliance. I assume that it's all-in-one deployment and vCenter and PSC runs on the same appliance in this particular case. (the other supported option is to have vCenter and PSC on separate VMs).

First option – GUI works

If you can access the web-based GUI, then the thing are simple. You can Log in to the vSphere Web Client with a vCenter Single Sign-on administrator account. The go to Administration > Deployment > System Configuration.
Click Nodes > select the vCenter Server Appliance node and click the Related Objects tab.

There you select a service and from the Actions menu you can chose start, stop or settings. The same look and feel as on Windows Server in services.msc console, right?

VMware VCSA - Check and Restart Services

SSH to the rescue!

What if you can't get there and you don't have a possibility to login into the web-based UI, to check for the services status? Then you need SSH console. Log in as root through an SSH or console session on the vCenter Server Appliance (the nice blue one).

You can then run this command to enable the shell:

shell.set –enabled true

Then run this command to launch the shell:

shell

And also, you can navigate as in any other Linux system. For example you can change directory to /bin:

cd /bin

The commands for enabling the shell access and starting the shell are also after you login into the SSH session. Usefull…

VMware VCSA - How to check running services via SSH

Run this command to list the vCenter Server Appliance services:

service-control –list

VMware VCSA - check services via SSH session

To view the current status of the vCenter Server Appliance services, type the command:

service-control –status

You'll get a long detailed list of services with at the end, some services which are not running. Note that not all system services are active by default, for example, AutoDeploy service or VMware dump collector, are not running. And it's normal behavior. But if you see that for example Service vsphere-client status is stopped this should be something you should definitely check out as without this service you no way have access to the web-based UI!

How to start a service?

The general syntax looks like this:

service-control –start servicename

so basically you need to know the name of the service in order to start it. That's why the first screenshot we posted with the command service-control –list is very useful. So let's pick a service, let's pick the vsphere-client service as we started with this one.

service-control –stop vsphere-client

and

service-control –start vsphere-client

Easy…

VMware VCSA - restart services via SSh

Note that there is also a possibility to restart All Services

service-control –stop –all

and

service-control –start –all

It takes longer to stop and start all services for an obvious reason – there is quite a few of them to stop/start.

As you can see, starting, restarting or stopping services within VCSA isn't that difficult. It's just question of habit. Whether you're currently running Windows based vCenter server, you can usually deploy VCSA next to it, just to train yourself for different management tasks etc. If you have enough capacity, you can even create few nested ESXi hosts which you can hook into VCSA based vCenter and have a cluster-in-a-box which can be used for training your administrators or your team while not touching production based vCenter.

We'll try to think for another post like that, which could be useful to learn some basic administration skills on VCSA. If you have an idea for a follow-up, just let me know through comments or through Twitter or e-mail (contact at vladan.fr). Stay tuned for more.

VMware VCSA:

  • How-to Install VMware VCSA
  • VMware VCSA – 3 Ways to Activate SSH
  • VMware VCSA – How to check running services? – (This post)
  • VMware VCSA – How to Join Domain
  • VMware VCSA – IP Address Change
  • VMware VCSA – Configure NTP

vSphere links:

  • vSphere 6 Page (vSphere 6.0 and releated, regularly updated page).
  • vSphere 6 Features – New Config Maximums, Long Distance vMotion and FT for 4vCPUs
  • vSphere 6 Features – vCenter Server 6 Details, (VCSA and Windows)
  • ESXi 6.0 Security and Password Complexity Changes
Shares
4.5/5 - (2 votes)

| Filed Under: How To Tagged With: VMware VCSA - How to check running services

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in