Search Results
32 results found with an empty search
- How to: Bundle Cleanup from SDDC Manager
Sometime you are required to remove the old upgrade and installed bundles to free up space on your SDDC Manager. In this blog post, we will see the instructions for removing old upgrade and installed bundles. Supported Environment: VMware Cloud Foundation 3.x VMware Cloud Foundation 4.x Procedure: UI login to SDDC Manager. Go to Lifecycle Management > Bundle Management > Download History. Take a note of Bundle ID that needs to be deleted/cleanedup. Create a snapshot of the SDDC Manager VM. SSH to SDDC Manager, and switch to root user. From the command line, issue the following command using Bundle ID you wanted to clean up (collected in step 3). # python /opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py Broadcom KB for reference if you would like: https://knowledge.broadcom.com/external/article?legacyId=75050 !Good luck!
- VCF SDDC Manager: Depot Connection Issues Check
Sometimes VMware's depot is just down or facing depot connection issue. First off, verify the "VMware Customer Connect Depot" connection status from SDDC UI. Administration > Online Depot Start off with a simple ping to verify SDDC network connection with Depot. SSH into your SDDC Manager as vcf and su to root. # ping depot.broadcom.com Can you can ping from the SDDC Manager? If you can, most likely you aren't having a connection issue. SSH into your SDDC Manager as vcf and su to root. Checking your depot status using below command line. # curl -v http://localhost/lcm/depot/statuses| json_pp If you want more detail, you can try below curl command to get more. # curl -v https://depot.broadcom.com If you are having issues with one particular bundle, you can remove that and try to download it again. Follow this blog post https://www.faizcloudtech.com/post/how-to-bundle-cleanup-from-sddc-manager to remove bundle. Hope this help, Good luck!
- Automate "ISO" File Retrieval from VMware vCenter Datastores Using PowerShell
If you've ever needed to manage a multitude of ISO files across multiple datastores in a VMware vCenter environment, you know how time-consuming and error-prone it can be to manually search for these files. That's where PowerShell comes in handy! By leveraging PowerShell scripts, you can automate the process of retrieving information about all ISO files from datastores, saving you time and reducing the risk of human error. Why PowerShell? PowerShell is a powerful scripting language that allows system administrators to automate tasks and manage systems efficiently. Its integration with VMware PowerCLI enables us to interact with VMware vSphere environments seamlessly. Prerequisites: Make sure you have the VMware.PowerCLI module installed before running the script. # Install-Module -Name VMware.PowerCLI -Scope CurrentUser Now, here's the script: The script below connects to a vCenter server, searches all datastores for .iso files (you can modify it to search for anyother files as well). Procedure: Connect to you vCenter Server. # Connect-VIServer -Server $vcenterServer -User $vcUser -Password $vcPassword The script below connects to a vCenter server, searches all datastores for .iso files. Please note, it may take some time based on number of datastores to search through and show the result. # Get all datastores $datastores = Get-Datastore # Write the header once Write-Host "Datastore | FilePath | FileName" foreach ($datastore in $datastores) { # Get all .iso files in the datastore $isoFiles = Get-ChildItem -Path $datastore.DatastoreBrowserPath -Recurse -Include *.iso foreach ($isoFile in $isoFiles) { $isoFileDetail = @{ "Datastore" = $ datastore.Name "FilePath" = $isoFile.FullName "FileName" = $ isoFile.Name } # Output the file details under the header Write-Host "$($datastore.Name) | $($isoFile.FullName) | $($isoFile.Name)" } } With this script, you can automate the tedious task of managing ISO files, allowing you to focus on more critical aspects of your VMware environment. Below are The Screenshots For Your Reference: Situation: Here, I have multiple ISO files across multiple datastores in my vCenter. Connected to vCenter, using above command line. Now, since I have PowerShell script with me, I can automate to retrieve the same details/results. Below is the output result after running the above script. !Happy Scripting! Further Reference: Automate ISO File Deletion from VMware vCenter Datastores Using PowerShell
- Deploy a VI WLD in SDDC VCF 3.11
Deploying/creating a new VI Workload Domain using the SDDC Manager UI. In this blog post we'll explore how to use VI Configuration wizard in the SDDC Manager UI to deploy a new VI Workload Domain . Please note, there are some prerequisites & requirements before we proceed with VI workload deployment. Please refer to the below link for more details/information about the same. Table of Contents: Pre-requisites for a new VI WLD deployment/creation. Procedure/steps for a new VI WLD deployment/creation. 1. Pre-requisites: Commission the required number of hosts to SDDC. Make sure all the hardware, networking requirements and all the required configurations are met as per VI WLD requirements. Refer to this link below for more. Prerequisites for a Workload Domain ( vmware.com ) 2. Procedure/steps: Once you have met with all the pre-requisites, you're good to proceed with VI WLD deployment/creation. Please find all the steps below & also the screenshots as I followed and deployed the VI Workload doamin in VCF instance 3.11. Login to SDDC UI . Go to Inventory . Go to Workload Domains Right side top, click on + Workload Domain , then VI - Virtual Infrastructure . Now, navigate through the wizards for all the required details to be provided. Select the Principle storage type. Here I've selected vSAN . Now, specify the required details as VI WLD Name , Compute , Networking , vSAN storge , Host selection, License and review , then click on Finish to start the VI WLD deployment. Here, I provided details for VI workload domain vCenter, screenshot below. Here, I wanted to deploy NSX-v, hence chose and provided details for the same. Here, you review and verify before your final click to start the VI Workload domain deployment. Once the deployment kicks off, you can see the task status in Pending, however can click on the Task Name to view the subtasks/subsequent tasks progress status. Please find the screenshots below. Once you start the deployment, it takes 3 to 4 hours, you may refer to SDDC tasks & subsequent progress for the update on VI workload creation.
- VCF 5.1 Environment Readiness & Deployment
Before you start the automated deployment of the management domain using VMware Cloud Builder, your environment must meet target prerequisites and be in a specific starting state. There are several steps involved in your environment readiness for deploying VCF first domain. Prepare the platform by deploying and configuring the necessary infrastructure components, which we will cover in this blog. Table of Contents: 1. Deploy VMware Cloud Builder appliance. 2. Prepare ESXi Hosts for VCF deployment. 3. Deploy the Management Domain using VMware Cloud Builder. 1. Deploy VMware Cloud Builder appliance: VMware Cloud Builder is a virtual appliance that is used to deploy and configure the first cluster of the management domain and transfer inventory and control to SDDC Manager. During the deployment process, the VMware Cloud Builder appliance validates network information you provide in the deployment parameter workbook such as DNS, network (VLANS, IPs, MTUs), and credentials. You must deploy the VMware Cloud Builder appliance on a suitable platform. This can be on a laptop running VMware Workstation or VMware Fusion, or on an ESXi host. The VMware Cloud Builder appliance must have network access to all hosts on the management network. It must also be able to access all required external services, such as DNS and NTP. Here, we've used VMware builder appliance directly to an ESXi host. Prerequisites: Kindly refer to below link for additional prerequisites information: Deploy VMware Cloud Builder Appliance Procedure: 1) In a web browser, log in to the ESXi host using the VMware Host Client. 2) In the navigation pane, select Host , and click Create/Register VM . 3) On the Select creation type dialog box, select Deploy a virtual machine from an OVF or OVA file and click Next . 4) On the Select OVF and VMDK files page, enter a name for the virtual machine, select the VMware Cloud Builder.ova file, and click Next . 5) On the Select Storage page, select a datastore and click Next . 6) On the License agreements dialog box, click I agree and then click Next . 7) On the Select networks dialog box, enter the following values and click Next . Setting Value Network mappings your_portgroup Disk provisioning Thin Power on automatically Selected 8) On the Additional settings dialog box, expand Application, enter the following values, and click Next . Setting Details Admin Username Accept the default admin user name, admin. Admin Password/Admin Password confirm The admin password must be a minimum of 8 characters and include at least one uppercase, one lowercase, one digit, and one special character. Supported special characters: @ ! # $ % ? ^ Root password/Root password confirm The root password must be a minimum of 8 characters and include at least one uppercase, one lowercase, one digit, and one special character. Supported special characters: @ ! # $ % ? ^ Hostname Enter the hostname for the VMware Cloud Builder appliance. Network 1 IP Address Enter the IP address for the VMware Cloud Builder appliance. Network 1 Subnet Mask Enter the subnet mask for the VMware Cloud Builder appliance. Default Gateway Enter the default gateway for the VMware Cloud Builder appliance. DNS Servers Enter the IP address of the primary and secondary DNS servers (comma separated). Do not specify more than two servers. DNS Domain Name Enter the DNS domain name. For example, vsphere.local. DNS Domain Search Paths Enter the DNS domain search path(s). Use a comma if entering multiple search paths. For example vsphere.local, sfo.vsphere.local. NTP Servers Enter the NTP server(s). Use a comma if entering multiple NTP servers. NTP servers can be entered using FQDNs or IP addresses. 9) On the Ready to complete page, review the virtual machine configuration and click Finish. 10) After the VMware Cloud Builder appliance is deployed, SSH in to the VM with the admin credentials provided in step 9. 11) Ensure that you can ping the ESXi hosts. 12) Verify that the VMware Cloud Builder appliance has access to the required external services, such as DNS and NTP by performing forward and reverse DNS lookups for each host and the specified NTP servers. Below is the screenshot from my lab, performed above test to make sure deployed "Cloudbuilder" is reachable & ready as per above prerequisites: 2. Prepare ESXi Hosts for VCF deployment: You must prepare the ESXi host, that will be used to form the management domain. Preparing the ESXi hosts involves installing the correct version of ESXi as per BOM (Bill of materials) and performing some basic configuration tasks, kindly refer the details below. 1) Creating a Custom ISO Image for ESXi or Install ESXi interactively, and configure hosts for VCF deployment. 2) Regenerate the Self-Signed certificate on all hosts or configure ESXi hosts with External Signed certificates. Prerequisites: The management domain requires a minimum of four ESXi hosts. vSAN ESA: To use vSAN express storage architecture your hosts must be ESA-compartible. 1) Creating a Custom ISO Image for ESXi or Install ESXi interactively, and configure hosts for VCF deployment: When your environment requires a custom ISO file for ESXi, you can create one using VMware PowerCLI or vSphere Lifecycle Manager . Here, in my lab I've used vSphere Lifecycle Manager to create the ESXi ISO image. If you would like to create Custom ESXi ISO Image Using VMware PowerCLI, please refer to the below link. Prerequisites: VMware PowerCLI 12.0 or later. Procedure: Kindly refer to the below link for creating a customer ESXi ISO using powerCLI: Create a Custom ESXi ISO Image Using VMware PowerCLI Create a Custom ESXi ISO Image Using vSphere Lifecycle Manager: If you have an existing vCenter Server already, you can use vSphere Lifecycle Manager to create and export a custom ISO. Please refer to the below steps/procedures & screenshots captured from my lab. Prerequisites: Import the ESXi patch and vendor add-on (if applicable) zip files to the vSphere Lifecycle Manager depot. See the below link. Import Updates to the vSphere Lifecycle Manager Depot ( vmware.com ) Procedure: 1) Log in to vCenter Server using the vSphere Client. 2) Create a new temporary cluster, selecting the Manage all hosts in the cluster with a single image check box. 3) Select the ESXi version and vendor add-on (optional) and click OK. 4) Export the vSphere Lifecycle Manager image as an ISO. 5) You can delete the temporary cluster now. Install ESXi Interactively and Configure Hosts for VMware Cloud Foundation: You can interactively install ESXi on all the hosts that will form the first cluster in the management domain, then you configure the management network, DNS, and NTP services. Install ESXi on all hosts in the first cluster in the management domain interactively. You can use the same process to install ESXi on additional hosts for the management domain, or on hosts for a VI workload domain. Repeat this procedure for all hosts in the first cluster in the management domain. Procedure: 1) Mount the ESXi ISO on the host and restart the machine. 2) Set the BIOS or UEFI to boot from the mounted ISO. 3) If your system has supported DPUs, select the DPU on which you want to install ESXi and press Enter . In the DPU Details screen, you see all properties of the DPU device. 4) On the Select a Disk to Install or Upgrade screen, select the drive on which to install ESXi on and press Enter . 5) Select the keyboard type for the host. You can change the keyboard type after installation in the direct console. 6) Enter the root password for the host. 7) Press F11 to start the installation. 8) On the Installation Complete screen, press Enter to reboot the host. 9) Set the first boot device to be the drive on which you installed ESXi. 10) Repeat this procedure for all remaining hosts. Here is the link for your further reference: Interactively install on ESXi: Install ESXi Interactively and Configure Hosts for VMware Cloud Foundation Configure the Network on VCF Hosts: After the initial boot, use the ESXi Direct Console User Interface (DCUI) for host network configuration and administrative access. Perform the below tasks. Configure the network adapter (vmk0) and VLAN ID for the Management Network. Configure the IP address, subnet mask, gateway, DNS server, and FQDN for the ESXi host. Repeat this procedure for all hosts that you are adding to the first cluster of the management domain. Procedure: 1) Open the DCUI of the ESXi host. Open a console window to the host. Press F2 to enter the DCUI. Log in by using the esxi_root_user_password . 2) Configure the network. Select Configure Management Network and press Enter. Select VLAN (Optional) and press Enter. Enter the VLAN ID for the Management Network and press Enter. Select IPv4 Configuration and press Enter. Select Set static IPv4 address and network configuration and press the Space bar. Enter the IPv4 Address, Subnet Mask and Default Gateway and press Enter. Select DNS Configuration and press Enter. Select Use the following DNS Server address and hostname and press the Space bar. Enter the Primary DNS Server, Alternate DNS Server and Hostname (FQDN) and press Enter. Select Custom DNS Suffixes and press Enter. Ensure that there are no suffixes listed and press Enter. 3) Press Escape to exit and press Y to confirm the changes. 4) Repeat this procedure for all remaining hosts. Below are the screenshots from lab: Configure the Virtual Machine Network Port Group on VMware Cloud Foundation Hosts: Perform configuration of the Virtual Machine Network port group for each ESXi host by using the VMware Host Client. This configuration provides connectivity to the Management network to allow communication to the vCenter Server Appliance during the automated deployment. Repeat this procedure for all hosts in the first cluster of the management domain. Procedure: 1) In a web browser, log in to the ESXi host using the VMware Host Client. 2) Click OK to join the Customer Experience Improvement Program. 3) Configure a VLAN for the VM Network port group. In the navigation pane, click Networking . Click the Port groups tab, select the VM network port group, and click Edit Settings . On the Edit port group - VM network page, enter the Management Network VLAN ID, and click Save . 4) Repeat this procedure for all remaining hosts. Configure NTP on VMware Cloud Foundation Hosts: Complete the configuration of all ESXi hosts by configuring the NTP service to avoid time synchronization issues in the SDDC. Repeat this procedure for all hosts in the first cluster of the management domain. Procedure: 1) In a web browser, log in to the ESXi host using the VMware Host Client. 2) Configure and start the NTP service. In the navigation pane, click Manage , and click the System tab. Click Time & date and click Edit NTP Settings . On the Edit NTP Settings page, select the Use Network Time Protocol (enable NTP client) radio button, and change the NTP service startup policy to Start and stop with host . In the NTP servers text box, enter the NTP Server FQDN or IP Address, and click Save . To start the service, click Actions , select NTP service , and click Start . 3) Repeat this procedure for all remaining hosts. Regenerate the Self-Signed certificate on all hosts or configure ESXi hosts with External Signed certificates: You either use VMCA singed or External Signed certificate for VCF hosts, based on your organization's requirement. Regenerate the Self-Signed Certificate on All Hosts: Once you have configured the ESXi hosts' identity by providing a hostname you must regenerate the self-signed certificate to ensure the correct common name is defined using FQDN. It validates the identify when making a connection by comparing the common name of the certificate against the FQDN provided within the VMware Cloud Builder configuration file. Procedure: 1) In a web browser, log in to the ESXi host using the VMware Host Client. 2) In the navigation pane, click Manage and click the Services tab. 3) Select the TSM- SSH service and click Start if not started. 4) Log in to the ESXi host using an SSH client such as Putty. 5) Regenerate the self-signed certificate by executing the following command. # /sbin/generate-certificates 6) Restart the hostd and vpxa services by executing the following command. # /etc/init.d/hostd restart && /etc/init.d/vpxa restart 7) In the VMware Host Client, select the TSM- SSH service for the ESXi host and click Start . 8) Repeat this procedure for all remaining hosts. Example: screenshot attached below from my lab: Configure ESXi Hosts with Signed Certificates: If corporate policy requires that you use external CA-signed certificates instead of VMCA-signed certificates for ESXi hosts, you can manually add external certificates to the hosts. When you use external certificates during bring-up, they are not replaced by VMCA-signed certificates. Once you perform bring-up with external certificates for ESXi hosts, all future hosts added to VMware Cloud Foundation must also use external certificates. Prerequisites: External CA-signed certificate and key are available Procedure: 1) In a web browser, log in to the ESXi host using the VMware Host Client. 2) In the navigation pane, click Manage and click the Services tab. 3) Select the TSM- SSH service and click Start if not started. 4) Log in to the ESXi Shell for the first host, either directly from the DCUI or from an SSH client, as a user with administrator privileges. # mv rui.crt orig.rui.crt # mv rui.key orig.rui.key 5) In the directory /etc/vmware/ssl, rename the existing certificates using the following commands. 6) Copy the external certificate and key that you want to use to /etc/vmware/ssl. 7) Rename the external certificate and key to rui.crt and rui.key . 8) Restart the host management agents by running the following commands. # /etc/init.d/hostd restart # /etc/init.d/vpxa restart 9) In the VMware Host Client, select the TSM-SSH service for the ESXi host and click Stop. 10) Repeat for all the ESXi hosts that you are adding to VMware Cloud Foundation. 3. Deploy the Management Domain using VMware cloud builder: You specify deployment information specific to your environment such as networks, hosts, license keys, and other information in the deployment parameter workbook and upload the file to the VMware Cloud Builder appliance to initiate bring-up of the management domain. During bring-up, the management domain is created on the ESXi hosts specified in the deployment parameter workbook. The VMware Cloud Foundation software components are automatically deployed, configured, and licensed using the information provided. Procedure: 1) In a web browser, log in to the VMware Cloud Builder appliance administration interface: https://Cloud_Builder_VM_FQDN . 2) Enter the admin credentials you provided when you deployed the VMware Cloud Builder appliance and then click Log In. 3) On the End-User License Agreement page, select the I Agree to the End User License Agreement check box and click Next . 4) Select VMware Cloud Foundation and click Next . 5) Review and acknowledge the prerequisties and click Next . If there are any gaps, ensure they are fixed before proceeding to avoid issues during the bring-up process. You can download or print the prerequisite list for reference. 6) Download the deployment parameter workbook from VMware Customer Connect/Cloud builder and fill it in with the required information. 7) Click Select File , browse to the completed workbook, and click Open to upload the workbook. 8) Click Next to begin validation of the uploaded file. To access the bring-up log file, SSH to the VMware Cloud Builder appliance as admin and open the /opt/vmware/bringup/logs/vcf-bringup-debug.log file. If there is an error during the validation and the Next button is grayed out, you can either make corrections to the environment or edit the deployment parameter workbook and upload it again. Then click Retry to perform the validation again. If any warnings are displayed and you want to proceed, click Acknowledge and then click Next . 9) Click Deploy SDDC . During the bring-up process, the vCenter Server, NSX, and SDDC Manager appliances are deployed and the management domain is created. The status of the bring-up tasks is displayed in the UI. After bring-up is completed, a green bar is displayed indicating that bring-up was successful. A link to the SDDC Manager UI is also displayed. 10) Click Download to download a detailed deployment report. This report includes information on assigned IP addresses and networks that were configured in your environment. 11) After bring-up is completed, click Finish . 12) Click Launch SDDC Manager to login. 13) Power off the VMware Cloud Builder appliance. Now, you have deployed the VCF management domain, can launch SDDC Manager to validate & use. Refer to this for more information: Deploy the Management Domain Using VMware Cloud Builder The VMware Cloud Builder appliance includes the VMware Imaging Appliance service, which you can use to install ESXi on additional servers after bring-up is complete. You can delete the VMware Cloud Builder appliance to reclaim its resources or keep it available for future server imaging.
- Automated Health Reporting for VMware Cloud Foundation Using PowerShell
As IT environments grow increasingly complex, ensuring the health of your VMware Cloud Foundation (VCF) environment is more critical than ever. Regular monitoring through health and system alert reports enables proactive issue detection and remediation, safeguarding your infrastructure against potential disruptions. The PowerShell Module for VMware Cloud Foundation Reporting provides an efficient way to generate HTML-based daily reports for VCF. These reports help administrators stay informed about the current state of their environment and address issues as part of routine operational practices. Key Reports for VCF Health Monitoring: Health Report - Provides an overview of the health status of all components in the VCF environment. System Alert Report - Highlights system-level alerts requiring immediate attention to ensure smooth operations. Upgrade Precheck Report - Validates the readiness of your environment for upgrades, ensuring compatibility and compliance. What’s Covered in This Blog Post? In this blog, we will discuss end-to-end steps to generate an HTML-based Health Report using the PowerShell module. Pre-requisites: PowerShell 7.2 or later installed. Install the PowerShell Module for VMware Cloud Foundation. # Install-Module -Name PowerVCF -RequiredVersion 2.4.0.1011 Procedure: Prepare the PowerShell script, make sure REPLACE the values with your values before run the commnand. You can save it locally on your Jump/virtual machine. $sddcManagerFqdn = " sddc-l-01a.xxx.xxx " $sddcManagerUser = "administrator@vsphere.local" $sddcManagerPass = "Password" $sddcManagerLocalUser = "vcf" $sddcManagerLocalPass = "Password" $reportPath = "F:\vcf_health_report" Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -sddcManagerLocalUser $sddcManagerLocalUser -sddcManagerLocalPass $sddcManagerLocalPass -reportPath $reportPath -allDomains -failureOnly Invoke-VcfAlertReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -reportPath $reportPath -allDomains Invoke-VcfUpgradePrecheck -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -reportPath $reportPath -workloadDomain $workloadDomain I prepared & saved the script "vcf_health_report.ps1" to F drive. I started to run the script. Once, script started It would take 10 to 20 minutes, based on the size of VCF environment. For me, it took 6 to 8 minutes, as was an small environment. Upon completion, it generated the "html" and "JSON" health report, as can see in below screenshot. The HTML report is now ready for your review. Conclusion: We've successfully generated the VCF Env report, that can be pretty handy and used for review for daily operational management, pre-checks and alerts. This comprehensive guide will empower you to automate health monitoring in your VCF setup, saving time and reducing manual effort.
- Automate ISO File Deletion from VMware vCenter Datastores Using PowerShell
In a VMware vCenter environment, managing ISO files across multiple datastores can be a cumbersome task. If you have numerous ISO files that need to be deleted, doing it manually is time-consuming and prone to errors. Thankfully, PowerShell, combined with VMware PowerCLI, can automate this process efficiently. Prerequisites: Before running the script, ensure you have "VMware PowerCLI" installed, if not then below is the command line to install it. # Install-Module -Name VMware.PowerCLI -Scope CurrentUser A Quick Screenshots of Existing ISO Files Across Datastores: As you can see in below screenshot, I have five ISO files across two datastores for deletion. On, how to retrieve ISO files info, please refere to this blog post. Automate "ISO" File Retrieval from VMware vCenter Datastores Using PowerShell PowerShell Script & Procedure: The script below connects to your vCenter server, searches through all datastores for .iso files, and deletes them. Please note, the -WhatIf and -Confirm parameters can be used based on your wish/requirement to preview actions and get confirmation before proceeding. Connect to you vCenter Server. # Connect-VIServer -Server $vcenterServer -User $vcUser -Password $vcPassword The script below connects to your vCenter server, searches through all datastores for .iso files, and deletes them (Please note, as stated above the -WhatIf and -Confirm parameters can be used to preview the action before proceeding). In this below script I've used -Confirm switch. # Get all datastores $datastores = Get-Datastore foreach ($datastore in $datastores) { # Get all ISO files in the datastore $isoFiles = Get-ChildItem -Path $datastore.DatastoreBrowserPath -Recurse -Include *.iso foreach ($isoFile in $isoFiles) { # Delete the ISO file Remove-Item -Path $isoFile.FullName -Confirm:$true } } Disconnect-VIServer -Server vc-l-01a.corp.local -Confirm:$false Run the above PowerShell script now to perform all the ISO files deletion from the vCenter now. I've selected A (Yes to All), you can pick the option based on your situation and need. Note - Please be patient, as it needs to check through all the datastores & perform deletion so it may take some time. Now, you can verify the deletion tasks from the vCenter Recent tasks view as well. !Happy Scripting! Further Reference: Automate "ISO" File Retrieval from VMware vCenter Datastores Using PowerShell
- How to Collect SDDC Manager Logs for Troubleshooting and Diagnostics
Situation: This blog post provides a detailed, step-by-step guide on how to collect SDDC Manager logs, which can be essential for troubleshooting issues or conducting diagnostics within a VMware Cloud Foundation (VCF) environment. Procedure: SSH to SDDC Manager, switch to "root". Run the following command to begin collecting the SDDC Manager logs. # /opt/vmware/sddc-support/sos --sddc-manager-logs --zip Note: If you need to collect logs for a specific domain or the NSX Manager, you can use the following command. Additionally, you can specify any folder within SDDC Manager to store the logs. For demonstration purposes, I’ve chosen to dump the logs to the /tmp/ folder. # /opt/vmware/sddc-support/sos --nsx-log --log-dir /tmp Once the log is generated, use SCP or copy the log bundle from the SDDC Manager. The log is now ready to be uploaded to the support request for further diagnosis. Good luck! Here is a Broadcom KB article for further reference if required: How to collect SDDC Manager logs







