PowerCLI script to list datastore space utilization

Here is a PowerCLI script that lists the datastore space utilization: Connect to vCenter server Connect-VIServer -Server -User -Password Get all the datastores in vCenter $datastores = Get-Datastore Loop through each datastore foreach ($datastore in $datastores) {# Get the capacity and free space of the datastore$capacity = $datastore.CapacityGB$freeSpace = $datastore.FreeSpaceGB # Calculate the used space … Continue reading PowerCLI script to list datastore space utilization

Uncovering virtual networking Part-9: IOChain Framework

The IOChain is a group of functions that provides connectivity between virtual ports and the virtual switch. It also provides the capability to insert functions into the network data-path regardless of the switch type used i.e. Standard Switch (vSS) or Distributed Switch (vDS). A virtual port has two IOChains based on the direction i.e. to … Continue reading Uncovering virtual networking Part-9: IOChain Framework

vSphere 6.7 U2 & later CPU Scheduler modes: Default, SCA v1 and SCA v2

https://youtu.be/ZxUVk0haIKA This post will be focussing specifically on working of CPU scheduler in Default, SCA v1 and SCA v2 modes in 6.7 U2 and later. VMware vSphere 6.7 U2 added new scheduler options (SCA v2) which provides security for L1TF vulnerability, while retaining as much performance as possible.  Note: SCA is the abbreviation for Side … Continue reading vSphere 6.7 U2 & later CPU Scheduler modes: Default, SCA v1 and SCA v2

How to optimize Virtual machine vNIC transmit (Tx) performance?

In this post, we will discuss about using single or multiple vNICS on a VM and vmkernel networking CPU threads to optimize transmission rate of VM traffic. We can create a VM with single vNIC or multiple vNICs depending upon operational requirements. Using multiple vNICS on a VM could be for different types of traffic … Continue reading How to optimize Virtual machine vNIC transmit (Tx) performance?

Uncovering virtual networking Part-8: Load balancing Algorithms

In previous post on Network failure detection, we started with the Teaming and Failover policies. We are going to explore load balancing algorithms in virtual networking in this post. This one is going to be the longest post I have written until now I guess 🙂 We have two types of switches, standard (vSS) and … Continue reading Uncovering virtual networking Part-8: Load balancing Algorithms