Podcast
Questions and Answers
Which command would you use to run a password health check using SOS?
Which command would you use to run a password health check using SOS?
- systemctl restart domainmanager
- /opt/vmware/sddc-support/sos --domain-name MGMT
- sudo /opt/vmware/sddc-support/sos --api-logs
- /opt/vmware/sddc-support/sos --password-health (correct)
You can run SOS commands while workflows are in progress in SDDC Manager.
You can run SOS commands while workflows are in progress in SDDC Manager.
False (B)
What is the purpose of the SOS tool?
What is the purpose of the SOS tool?
To perform checks and collect logs for VCF components.
To collect logs for all components in a specific domain, you would run 'Sudo /opt/vmware/sddc-support/sos --__________ MGMT'.
To collect logs for all components in a specific domain, you would run 'Sudo /opt/vmware/sddc-support/sos --__________ MGMT'.
Match the following SOS health check options with their descriptions:
Match the following SOS health check options with their descriptions:
What is the first step in best practices when opening a Service Request (SR) for VCF?
What is the first step in best practices when opening a Service Request (SR) for VCF?
The command to restart the SDDC Manager is 'systemctl reboot sddc-manager'.
The command to restart the SDDC Manager is 'systemctl reboot sddc-manager'.
What command can be used to restart an individual service?
What command can be used to restart an individual service?
Key log files can be found in the __________ directory in SDDC Manager.
Key log files can be found in the __________ directory in SDDC Manager.
Match the following log files with their components:
Match the following log files with their components:
What command would you use to collect logs specifically for NSX components in SDDC Manager?
What command would you use to collect logs specifically for NSX components in SDDC Manager?
You can accidentally run SOS commands while workflows are in progress in SDDC Manager.
You can accidentally run SOS commands while workflows are in progress in SDDC Manager.
What is the purpose of the command 'sudo /opt/vmware/sddc-support/sos --get-inventory-info'?
What is the purpose of the command 'sudo /opt/vmware/sddc-support/sos --get-inventory-info'?
To perform health checks, you should invoke the SOS tool from the SDDC Manager after __________.
To perform health checks, you should invoke the SOS tool from the SDDC Manager after __________.
Match the following log file paths with their respective components:
Match the following log file paths with their respective components:
Which of the following is NOT a health check option available with the SOS tool?
Which of the following is NOT a health check option available with the SOS tool?
It is recommended to open a Service Request (SR) after collecting logs for VCF.
It is recommended to open a Service Request (SR) after collecting logs for VCF.
What is the initial command to reboot the SDDC Manager?
What is the initial command to reboot the SDDC Manager?
Key log files for VCF can be found in the __________ directory.
Key log files for VCF can be found in the __________ directory.
Which user account is used to access the SDDC Manager for running SOS commands?
Which user account is used to access the SDDC Manager for running SOS commands?
Which command helps in collecting logs for specific components in SDDC Manager?
Which command helps in collecting logs for specific components in SDDC Manager?
You must have administrative access to run SOS commands in SDDC Manager.
You must have administrative access to run SOS commands in SDDC Manager.
What is the command to run a connectivity health check using the SOS tool?
What is the command to run a connectivity health check using the SOS tool?
To collect logs for VCF components under a specific domain, use the command 'Sudo /opt/vmware/sddc-support/sos --__________ MGMT'.
To collect logs for VCF components under a specific domain, use the command 'Sudo /opt/vmware/sddc-support/sos --__________ MGMT'.
Match the SOS health check options with their descriptions:
Match the SOS health check options with their descriptions:
Which of the following actions is recommended before opening a Service Request (SR) for VCF?
Which of the following actions is recommended before opening a Service Request (SR) for VCF?
You should always open SRs with the VCF product name.
You should always open SRs with the VCF product name.
Which script can be used to reboot the SDDC Manager?
Which script can be used to reboot the SDDC Manager?
Key log files for VCF can be found in the '/var/log/__________' folder in SDDC Manager.
Key log files for VCF can be found in the '/var/log/__________' folder in SDDC Manager.
Flashcards
SOS Tool
SOS Tool
A command-line Python tool used to perform health checks and create log bundles for VCF components.
SOS command invocation
SOS command invocation
To execute SOS commands, SSH into SDDC Manager using a VCF user account, access root with sudo and execute the command from /opt/vmware/sddc-support/ directory. Enter password when prompted.
Health Checks (SOS)
Health Checks (SOS)
Example SOS commands that check the connected components health including connectivity, services, NTP, DNS, certificate, and password health.
Password Validity Check (SOS)
Password Validity Check (SOS)
Signup and view all the flashcards
Collecting Logs (SOS)
Collecting Logs (SOS)
Signup and view all the flashcards
SDDC Manager Log Files
SDDC Manager Log Files
Signup and view all the flashcards
Opening SR (Support Request)
Opening SR (Support Request)
Signup and view all the flashcards
SDDC Manager Services
SDDC Manager Services
Signup and view all the flashcards
Common Log File Locations
Common Log File Locations
Signup and view all the flashcards
SSH Access to SDDC Manager
SSH Access to SDDC Manager
Signup and view all the flashcards
What does SOS stand for?
What does SOS stand for?
Signup and view all the flashcards
How do I run SOS?
How do I run SOS?
Signup and view all the flashcards
SOS command: --health-check
SOS command: --health-check
Signup and view all the flashcards
What types of health checks does SOS provide?
What types of health checks does SOS provide?
Signup and view all the flashcards
How to gather logs for specific components?
How to gather logs for specific components?
Signup and view all the flashcards
What's the key log file directory for VCF?
What's the key log file directory for VCF?
Signup and view all the flashcards
What's the best practice when opening a Support Request (SR)?
What's the best practice when opening a Support Request (SR)?
Signup and view all the flashcards
How to restart SDDC Manager services?
How to restart SDDC Manager services?
Signup and view all the flashcards
VCF log subdirectories
VCF log subdirectories
Signup and view all the flashcards
Why is collecting logs before opening a ticket a good practice?
Why is collecting logs before opening a ticket a good practice?
Signup and view all the flashcards
SOS Command Execution
SOS Command Execution
Signup and view all the flashcards
SDDC Manager Log File Location
SDDC Manager Log File Location
Signup and view all the flashcards
Opening a Support Request (SR)
Opening a Support Request (SR)
Signup and view all the flashcards
SDDC Manager Services Restart
SDDC Manager Services Restart
Signup and view all the flashcards
Importance of Collecting Logs
Importance of Collecting Logs
Signup and view all the flashcards
Study Notes
VCF Troubleshooting
- SOS Tool (Supportability and Serviceability Tool) is a command-line Python tool that can be invoked via API.
- It performs checks and creates log bundles for VCF components.
- Health checks are performed.
- Logs are collected for VCF components.
- SOS commands cannot be run when workflows are in progress in SDDC Manager.
- SSH to SDDC Manager using a vcf user account and sudo access for root.
- Access root using the command
sudo /opt/vmware/sddc-support/sos
. - Enter password.
Health Checks
--connectivity-health
--services-health
--ntp-health
--dns-health
--certificate-health
--password-health
--get-inventory-info
--health-check
Password Validity Example
/opt/vmware/sddc-support/sos -password-health -skip-known-host-check
- Component services user, changed date, expiry date, expiry in days, etc.
Collecting Log Files
- Logs are collected for all components within a specific domain.
- For specific components, use options like
--api-logs
- Use the command
sudo /opt/vmware/sddc-support/sos -domain-name MGMT
for collecting all logs fromMGMT
domain.
VCF Services and Log Files
- Open a SR (Service Request) for best practices.
- Open SRs with VCF product Name.
- Begin collecting logs before opening a ticket.
- Use the relevant component.
- Reboot SDDC Manager.
Key Log Files
-
sddcmanager_restart_services.sh
script. -
Systemctl to restart individual services.
-
/var/log/vmware/vcf/
folder in SDDC Manager -
/commonsvcs
-
/domainmanager
Troubleshooting Recommended Steps
- Expand the workflow tasks in SDDC manager and identify failed subtasks.
- Note errors described in SDDC manager UI.
- Record the reference token ID in the relevant log.
- Search for the reference token ID in the relevant log.
- Use the opID in the log to view the full workflow, if necessary.
- Restart the task after the root cause is resolved.
SDDC Manager
- Lifecycle Manager, Domain Manager, Operations Manager are core services.
- Tanzu and NSX Domain Manager are not core services.
Summary - Generate Log Bundle Command Example
/opt/vmware/sddc-support/sos –esx-logs -domain-name sa-wld01 -log-dir /tmp
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz focuses on troubleshooting VCF (VMware Cloud Foundation) using the SOS Tool. It covers health checks, log collection methods, and best practices for command execution in the SDDC Manager. Test your knowledge of command-line operations and the validation of service components.