Generating Health Reports¶
The Invoke-VcfHealthReport
cmdlet generates a health report. This report combines the SoS Utility health checks with additional health checks not presently available in the SoS Utility. The report contains detailed information about the health of the VMware Cloud Foundation system and its components.
Only Issues¶
VMware Cloud Foundation Instance¶
-
Start PowerShell (Run as Administrator).
-
Replace the values in the sample code with values for the instance of VMware Cloud Foundation to generate a health report for SDDC Manager instance and run the commands in the PowerShell console.
Example:
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "admin@local" $sddcManagerPass = "VMw@re1!VMw@re1!" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "VMw@re1!" $reportPath = "F:\Reporting"
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "admin@local" $sddcManagerPass = "VMw@re1!VMw@re1!" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "VMw@re1!" $reportPath = "/home/vmware/reporting"
-
Generate the report which only displays issues by running the command in the PowerShell console.
Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -sddcManagerLocalUser $sddcManagerLocalUser -sddcManagerLocalPass $sddcManagerLocalPass -reportPath $reportPath -allDomains -failureOnly
-
Review the generated HTML report and perform remediation of any identified issues.
Workload Domain¶
-
Start PowerShell (Run as Administrator).
-
Replace the values in the sample code with values for the instance of VMware Cloud Foundation to generate a health report for SDDC Manager instance and run the commands in the PowerShell console.
Example:
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "admin@local" $sddcManagerPass = "VMw@re1!VMw@re1!" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "VMw@re1!" $workloadDomain = "sfo-w01" $reportPath = "F:\Reporting"
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "admin@local" $sddcManagerPass = "VMw@re1!VMw@re1!" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "VMw@re1!" $workloadDomain = "sfo-w01" $reportPath = "/home/vmware/reporting"
-
Generate the report which only displays issues by running the command in the PowerShell console.
Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -sddcManagerLocalUser $sddcManagerLocalUser -sddcManagerLocalPass $sddcManagerLocalPass -reportPath $reportPath -workloadDomain $workloadDomain -failureOnly
-
Review the generated HTML report and perform remediation of any identified issues.
All Results¶
VMware Cloud Foundation Instance¶
-
Start PowerShell (Run as Administrator).
-
Replace the values in the sample code with values for the instance of VMware Cloud Foundation to generate a health report for SDDC Manager instance and run the commands in the PowerShell console.
Example:
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "admin@local" $sddcManagerPass = "VMw@re1!VMw@re1!" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "VMw@re1!" $reportPath = "F:\Reporting"
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "admin@local" $sddcManagerPass = "VMw@re1!VMw@re1!" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "VMw@re1!" $reportPath = "/home/vmware/reporting"
-
Generate the report by running the command in the PowerShell console.
Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -sddcManagerLocalUser $sddcManagerLocalUser -sddcManagerLocalPass $sddcManagerLocalPass -reportPath $reportPath -allDomains
-
Review the generated HTML report and perform remediation of any identified issues.
Workload Domain¶
-
Start PowerShell (Run as Administrator).
-
Replace the values in the sample code with values for the instance of VMware Cloud Foundation to generate a health report for SDDC Manager instance and run the commands in the PowerShell console.
Example:
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "admin@local" $sddcManagerPass = "VMw@re1!VMw@re1!" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "VMw@re1!" $workloadDomain = "sfo-w01" $reportPath = "F:\Reporting"
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "admin@local" $sddcManagerPass = "VMw@re1!VMw@re1!" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "VMw@re1!" $workloadDomain = "sfo-w01" $reportPath = "/home/vmware/reporting"
-
Generate the report by running the command in the PowerShell console.
Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -sddcManagerLocalUser $sddcManagerLocalUser -sddcManagerLocalPass $sddcManagerLocalPass -reportPath $reportPath -workloadDomain $workloadDomain
-
Review the generated HTML report and perform remediation of any identified issues.