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.
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







