My notes and ramblings, normally about automation.
Connect with me:
ESXi
PowerCLI - Quick Stats Not Up To Date ErrorRecently rebooted one of my vCenters and came across an error on my ESXi hosts stating “Quick stats on *vmhost* is not up-to-date”. A couple seconds worth of googling brought me to VMware KB2061008 which helped to resolve the issue.Nov 9, 2015
-
1 min read
PowerCLI - Removing and Re-creating Unknown and/or Orphaned VMsRan into an issue lately where I found a host had lost its storage. For whatever reason HA didn’t kick in to bring all the VMs back to life and there was a need to recreate ~75 VMs whom were in an unknown and/or orphaned state.Jul 14, 2014
-
1 min read
PowerCLI - Reset NTP settings on VMHosts per ClusterAs daylight savings time is almost upon us, there are always questions revolving around what hosts use what NTP sources for time synchronization. To address this issue, I created a script to go through and remove the current NTP sources, add the desired NTP sources and then restart the NTP service on all of the hosts in the environment.Oct 29, 2013
-
2 min read
PowerCLI - Rescan HBAs for a Cluster on a Host by Host BasisAfter having some bad luck with rescanning HBAs for entire clusters or datacenters all at the same time (Cliff’s Notes: the LUNs ended up looking like array based snapshots and therefore unusable), it was decided that any rescans should be done on an individual host basis.May 23, 2013
-
1 min read
PowerCLI - Analyze a Cluster to Move VMs to a Resource PoolAfter someone deployed a bunch of VMs, we let them know about the Resource Pool they were supposed to be deployed to. Oops. To correct this, and to avoid a couple hours of dragging and dropping VMs into a resource pool, I was able to create a script that detects if a VM is outside of a Resource Pool and then move it to the specified Resource Pool.May 22, 2013
-
1 min read
Playing with ESXi and Synology in the home lab...So I finally bit the bullet and bought a NAS for my home lab. Ended up with a Synology DS411 due to some good timing from a NewEgg sale.
I went with Synology for two reasons:May 25, 2012
-
2 min read
Generating RSA Key & CSR for use with VMware Solutions...Ever received a Security Warning while logging into either you ESX/i host and/or vCenter?
That’s due to the SSL certificate being untrusted with your machine. You can always click the “Ignore” button or check the “Install this certificate…” box and then “Ignore” and move on, however you can improve the security by replacing the certificates with certificates signed by a commercial certificate authority (CA).Nov 29, 2011
-
2 min read
PowerCLI - Configuring Multipathing iSCSI NetworksI’ve been playing in the development hosts quite a bit lately which occasionally leave me having to reset the system back to defaults and it’s no fun to go back through and setup Multipathing for 4 connections everytime.Aug 23, 2011
-
4 min read