Category: vSphere

Posts related to VMware vSphere

Adding the host to Distributed switch and Mapping the VMs [V1]

Hello 2020 and my fist technical post of  the year. Use case: You have built a new vCenter from scratch and would like to move host from an existing vCenter server to this one. As a preparation for this migration you performed following steps 1 Created Network mapping of all VMs in the source vCenter server 2 Exported the Distributed switch configuration from the source vCenter server 3 Imported the Distributed switch configuration to the

Continue reading

Mass lunreset

Introduction: The organization’s data center suffered a power loss impacting multiple components and systems. Post the power restoration you are observing issues with in your SDDC platform like but not limited to below ESXi hosts keep dropping out of vCenter server Multiple VMFS datastores are inaccessible or facing performance issues   Host reboots have been attempted The scale of the environment is making it difficult to isolate the hosts that need a reboot Solution: A quick

Continue reading

Find VMs with unwanted devices

Introduction: As an administrator for a vSphere environment you may come across situation where you have a lot of  VMs configured with unnecessary hardware like USB device, Floppy disk or a serial  device. The presence of such devices can impact the efficiency of DRS leading to the imbalanced cluster. In a large-scale environment, it can be difficult to find and fix such VMs. The code below provides an ability to create a csv report for

Continue reading

Provision a limited access Domain user on an ESXi

Introduction: While working with ESXi 6.5 & 6.7 I noticed that there is no UI option available to provision  a domain user. The PowerCLI cmdlet New-VIPermission also fails to query and add permission for domain user. The only option to achieve this is using SSH session to the host. The command that can be used on the SSH console to achieve this is Syntax: Sample command: This can be a night mare for a large-scale

Continue reading

vSphere HA Slots Policy Demystified

Introduction: When you choose Slot policy, the failover capacity is ensured using a Slot based approach. In vSphere release 6.5 and above  you may choose a fixed slot size as well  What is a Slot and Slot Size ? If we assume an ESXi to be a car parking lot, A Slot is a space where a VM (VM is the car here) can parked and Slot Size is the dimension of individual parking spot.  

Continue reading