This PowerCLI GUI script I have written to audit VMware ESXi clusters high availability (HA) inside vCenter Server. This script validates below ideal configuration is defined on the cluster and tells me whether configuration is correct with green tick and non-compliant with red cross.
This is second script article wrote on same topic 'How to Renew and Refresh an ESXi Certificate with a PowerCLI script'. In the earlier post I gave simple PowerCLI script, very easy to execute. In this article I have written the same script but added a Graphical User Interface for more easiness. Bel…
By renewing VMware ESXi server certificate through vCenter Server you can safeguards adherence to security best practices. You renew ESXi certificate to continue securing connection for your vSphere environment, avert trust issues with vCenter Server, and guarantee compatibility for upgrades, as exp…
This PowerShell script uses VMware vCenter Server Rest API and shows VCSA (vCenter Server Appliance) version through the command line. Keeping track of your vCenter Server Appliance (VCSA) version is crucial for effective management and update. Simply provide your vCenter credentials, and the script…
While testing the newly released VMware ESXi 9 in my lab environment, I was seeing the following error during the installation process. This issue popped up right after the system scan and was not letting me do the complete deployment. In this article, I’ll walk you through the cause of the error an…
Handling vCenter Server updates across multiple sites with limited internet access creates operational annoyances. Downloading ISO files for each instance, manually transferring them, and repeating the process for every vCenter consumes valuable time and resources for really big environments.
Automating ESXi installations eliminates manual configuration errors and accelerates data center scaling. By embedding a Kickstart (KS.CFG) file into your ISO, you achieve:
Zero-touch deployments: Install ESXi with preconfigured network settings, …
Upgrading your VMware vCenter Server is a crucial part of maintaining a secure and efficient virtualization environment. In this guide, we’ll walk through the process of upgrading a vCenter Server using VMware Lifecycle Manager (vLCM), highlighting each key step with screenshots and best practices…
I had a requirement to provide a solution for monitoring ESXi servers' CPU, memory, and datastore usage to non-IT or developer users without giving them direct access to vCenter or ESXi servers. The solution needed to avoid using any additional applications or tools. Previously, I had set up a syste…
I faced a scenario where I needed to automate the execution of a shell script on VMware (Broadcom) ESXi servers, version 7. The task involved renaming /etc/rc.local.d/local.sh to a .bak extension and restarting all services using /sbin/services.sh restart, which was necessary to resolve VM disconnec…
There may be requirement in RedHat Ansible when you write custom module when you don't fine tasks module for certain objects, that time you will need to write your own custom python module. In this given example I was using community VMware vSphere module with ansible and wanted to list all ESXi ser…
This is improvised Terraform configuration scripts to clone Windows and Linux Template from VMware vCenter server. I have made few improvements in the configuration adding dynamic content block in the modules for network and disks. Another change is use variables, New VM information from csv file to…
I was cleaning up some datastore data due to storage space low. I found there were few old long snapshots exist on VMs. After deleting those old snapshots from VMware Virtual Machines I was seeing warning and information message on summary page Virtual machine disks consolidation is needed status
This is a step by step procedure to update offline bundle zip on standalone ESXi host using command line without vCenter. I was updating few of my VMware ESXi servers in my home Lab environment. There were few ESXi hosts in the lab were standalone and not connected to any vCenter server. On the stan…
It is best practice to keep you ESXi server up to date to keep server out of vulnerabilities and issue. Patching helps to resolve new upcoming CVE's and keep server compliant in security team's report. In this article I will update entire cluster using VMware Lifecycle Manager in vCenter server 8…
In this article I will show how use VMware Image Builder to customize and create ESXi ISO images.
VMware Image Builder is a powerful functionality within vCenter Server that enables the packaging, validation, and distribution of ESXi OS ISO/Zip software images across various platforms within an…
I was building nested VMware vSphere lab for POCs. While configuration I was facing strange issue after installing nested ESXi server as virtual machine on Physical ESXi Server, I created Few VMs and VMKernel ports on nested ESXi VM. But when I was trying to connect VMs or new VMKernel port it was f…