here is a script i put together to loop through the RVTools result and mount all the suspect VMDKs
Category: VMWare
Troubleshooting tools on a VCSA
Here is a list of tools/commands I use on a VMWare VCSA (6.7 and 7.0) I can never remember them so I’ll document them here. This list will grow. 1, Trace Route If you are used to using tracert on on windows you will be pleased to know that there is a trace route command…
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…
NetApp SFP FC troubleshooting
I was recently in a situation where a number of customer VM suddenly became unusable. When investigating the VMs in vCenter we could see that the disk latency was in the seconds. The back end storage was a NetApp AFF connected to the hosts using Fiber Channel. So looking at the AFF event logs I…
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….
VCSA Cert checking script
Over the past year I have seen quite a few STS certs expire in production environments. I have been meaning to write something to scan a VCSA and report back the expiry dates of all the certs. This has posed a problem because I have to use SSH and one command needs to follow another….
ESXi host config backup
If you look after ESXi hosts that are installed to SD cards then you will know the constant pain of replacing failed cards. You may know the pain of losing both cards in this process and having to reinstall from scratch. ESXi hosts are not the hardest thing to rebuild but for me. its a…
vCenter/VCSA Cert checking
If you look after a vCenter or VCSA at some point you are going to have the certificates expire on you. And if you look after a lot of vCenter servers then expiring Certs are a constant headache that pops up just at the time that is most inconvenient. VMWare detail that only in some…
Very fast orphan finder
Some thing every VMWare admin will end up doing at some point is orpahen file hunting. That fun task of hunting down unused VM disks hopefully before your datastore is out of space. Working for a cloud provider, wasted space is always a problem and RVTools has been my tool of choice for years. RVTools…
VCSA restore from backup
In this post I will detail the steps required to restore a VCSA from a file level backup. Hopefully this will be a post no one will ever need. But if you do find your self in a situation that requires a restore from backup, then I hope this post helps. This is a list…