Powercli script to get VM’s disk Latency.

If you want to quickly check the virtual machine's Average and Max latency , here is the script for this : Get-VM -Name VmName | ? {$_.PowerState -eq "PoweredOn"} | Select Name, @{n="AVG Max Latency (ms)";e={(get-stat -Entity $_ -Stat Disk.MaxTotalLatency.Latest -Start (Get-Date).AddDays(-1) | Measure Value -Average ).Average }},@{n="Max Latency (ms)";e={(get-stat -Entity $_ -Stat Disk.MaxTotalLatency.Latest -Start … Continue reading Powercli script to get VM’s disk Latency.

Installing iSCSI Adapter and Configuring iSCSI Port Binding – Step by Step.

Before working with iSCSI Adapter, i would suggest to go thorough the following VMware KB Considerations for iSCSI . https://kb.vmware.com/s/article/2038869 Assuming iSCSI storage already in place , in my case i have configured iSCSI storage on Windows 10 machine with Solarwind iSCSI target software, it's free with limited functionality and it works fine for home LAB, … Continue reading Installing iSCSI Adapter and Configuring iSCSI Port Binding – Step by Step.

Interview Topics for VMware L3- Part-1

1- Snapshot hidden files The Snapshot Manager shows no snapshots but there are delta files present. #vim-cmd vmsvc/getallvms  -- Get VM ID #vim-cmd vmsvc/snapshot.get [VMID]                  Check Snapshot for Virtual Machine using VMID #vim-cmd vmsvc/snapshot.create [VmId] [snapshotName] [snapshotDescription] [includeMemory] [quiesced] #vim-cmd vmsvc/snapshot.create 3 snapshot1 snapshot 0 0 #vim-cmd vmsvc/snapshot.removeall [VMID] 2- Quiesced snapshots are when your … Continue reading Interview Topics for VMware L3- Part-1

Prerequisites for SIOC,DRS, HA, Fault Tolerance NIOC.

Prerequisites for below vcenter services before enabling them. SIOC- So how does it work? At a basic level SIOC is monitoring the end to end latency of a data store. When there is congestion (the latency is higher than the configured value) SIOC reduces the latency by throttling back VM’s who are using excessive I/O. … Continue reading Prerequisites for SIOC,DRS, HA, Fault Tolerance NIOC.

VMware Horizon Components

Instant Virtual Machine Instant clones share the same base image and use less storage space than full virtual machines.Instant clones are created using vmFork technology.Instant clones always stay powered on and get recreated from the current published image after logoff. View Composer linked clones View Composer linked clones share the same base image and use … Continue reading VMware Horizon Components