VCF On VxRail – SOS Utility Health Check

The SDDC Manager inbuilt Python tool referred to as Supportability and Serviceability utility (SOS) is a very useful method for performing system checks on your VCF environment and help to identify any issues.

Begin by connecting via SSH to SDDC Manager and login as the administrative user ‘vcf’

vcfsoshealth1

To perform a full health check run the following command :

sudo /opt/vmware/sddc-support/sos --health-check 

Or su to root user, cd to /opt/vmware/sddc-support/ and execute ./sos --health-check 

The following is a list of the health checks performed as part of --health-check

[VSAN-CHECK, PASSWORD-CHECK, CONNECTIVITY-CHECK, DNS-CHECK, VCF-SUMMARY, NTP-CHECK, COMPUTE-CHECK, ALARM-CHECK, GENERAL-CHECK, GET-SERVER-DETAILS, CERTIFICATE-CHECK, SERVICES-CHECK]

This slideshow requires JavaScript.

Legend:

GREEN – No attention required, health status is NORMAL
YELLOW – May require attention, health status is WARNING
RED – Requires immediate attention, health status is CRITICAL

It is also possible to run these checks individually:

sudo /opt/vmware/sddc-support/sos --certificate-health
sudo /opt/vmware/sddc-support/sos --connectivity-health
sudo /opt/vmware/sddc-support/sos --ntp-health
sudo /opt/vmware/sddc-support/sos --network-health
sudo /opt/vmware/sddc-support/sos --db-health
sudo /opt/vmware/sddc-support/sos --compute-health
sudo /opt/vmware/sddc-support/sos --get-host-ips
sudo /opt/vmware/sddc-support/sos --services-health
sudo /opt/vmware/sddc-support/sos --password-health
sudo /opt/vmware/sddc-support/sos --dns-health
sudo /opt/vmware/sddc-support/sos --storage-health

The health check logs are located here:
/var/log/vmware/vcf/sddc-support/

List the last 20 generated logs:
sudo /opt/vmware/sddc-support/sos --history

Other useful VCF summary commands:

sudo /opt/vmware/sddc-support/sos --get-vcf-summary
sudo /opt/vmware/sddc-support/sos --get-vcf-tasks-summary
sudo /opt/vmware/sddc-support/sos --get-vcf-services-summary

Help –List all available sos switches:
sudo /opt/vmware/sddc-support/sos --help

Reference
Supportability and Serviceability (SoS) Utility

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s