Skip to main content

SDDC Manager Command line overview-part 2

Welcome back. Hope you all doing great.

In the previous blog  we discussed about how to access sddc manager, what are the different logs in sddc manager. In this blog we will discuss about SOS tool.

There is a tool called SOS (Supportability and serviceability utility) tool in sddc manager 

It is available in this location /opt/vmware/sddc-support


To run sos tool you need to change as root or run with sudo 
When you run sos tool with -h (--help) option it will show tool usage

./sos --help



Sos tool is useful to do multiple tasks, we will look into following examples to understand SOS and its usage.

  • Health checks 
  • Log collection
  • Enable disable ssh for esxi nodes or vcenter servers
  • Get host IP address details 

-- Running health check for a specific workload domain, if you didn’t specify the domain-name option then health check will run on all the available workload domains.

./sos --health-check --domain-name nameofthedomain


























Once the health check completes, it will show the final result and what are the checks completed/failed
And a detailed report will be saved in /var/log/vmware/vcf/sddc-support/healthcheck-data-timestamp/report.json

And health-check option by default will do all different types of health checks (network, dns, ntp, vsan, version , certificate check, password check, vcf services check etc)

-- If you want to do a specific type of health check 

./sos --dns-check --domain-name nameofthedomain

























-- Enabling SSH

./sos --enable-ssh-esxi --domain-name nameofthedomain






And every time when we ran the sos command, we can see that it is generating sos task log and it is showing the log location 
You can check this log to see more details.





-- Checking password expiry

./sos --password-health --domain-name nameofthedomain





Popular posts from this blog

SDDC Manager Command line overview-part 1

In this blog, we will discuss about sddc manager and what are the command line options we have what we can do in command line. Sddc manager is the core component in VCF environment. It is responsible for doing many different tasks related to your VCF inventory configuration, life cycle management, security etc. Commission/decommission the hosts Deploying new workload domains  Expanding the clusters or adding new clusters to workload domain Configure network pools for host networks (Management, Storage(VSAN/NFS etc) Deploying vRealize suite of products Certificate and password management  Life cycle Management NSX-T Edge/AVNs deployment Usually all these tasks can be carried out from GUI, VCF admins rarely login sddc manager mostly when the VMware GSS is involved. SDDC Manager command line provides different use cases for example: monitoring the logs  looking up for passwords collecting logs do command line health checks etc How to access sddc manager CLI? There are two us...