This is a part of a script I have been using for about 2 years to pull basic data out of the Zerto analytic portal. I have really only just scratched the surface of what I can get. When I first wrote this all I needed was the number of green/yellow/red VPGs but there is…
Tag: VM
Mapping VMs to Aggregates
Recently I was in a situation where an aggregate in a multi HA pair cluster was low on space. While working to avert the impending disaster I was asked by an incident manager what VMs are on the aggregate that is low on space. Now there where alot of volumes/LUNs on that aggregate. Stopping to…
VM disk info script
Recently I was trouble shooting a Zerto issue that occurred due to a storage “blip”. Some Zerto Z-VRAHs had lost disks and many VPGs where in an error state. One of the shadow Z-VRAs had lost its 4 “OS” disks. These disks are copied from the ZVM and are device 0 on SCSI busses 0-3….
FreeNas build and setup
This series of posts will detail the build and configuration of a FreeNAS (TrueNas core) server version 11.3u1 in a homelab environment. For this series I am building a virtual FreeNAS server in ESXi. I have a physical FreeNAS server built out of an old mini tower with desktop hardware. This is certainly not an…
vCloud, Create vApp
This post will detail how to deploy a vApp from a template. There are several ways to deploy vApps but this is my preferred method as I can deploy a vApp with a custom number of VMs. I currently have no vApps configured in my Virtual Data Center.Select NEW VAPP and the deploy new vApp…
Report VM reconfigurations
One this that has always bugged me with vCenter UIs is seeing a reconfigure VM task but not being able to tell what was changed. Some times in an investigation this can be very important. While looking at Event objects one day I discovered an attribute called configchanges on a reconfigured event object. In there…
Find VMs restarted by HA
Administer VMWare long enough and you will eventually lose a host. If you are using HA you may not notice until the phones start ringing some time later. At this point all the VMs are back on line on different hosts. When Problem management/bosses get involved you will normally be asked “what VMs restarted?”here is…
VM disk audit script
This script scans all VMs in a vCenter and reports the location of each hard drive. The information collected for each drive is as follows: VM, Thick/Thin, file path, datastore, capacity, size on disk, Number of snapshots, total size of snapshots.