A customer contacted me the other day asking for a way to verify if the ESXi host TSM-SSH (SSH) service is running, and if so: Turn off the TSM-SSH service. Send an e-mail report including all ESXi hosts where the TSM-SSH service was stopped. The customer’s vSphere administrators sometimes enable the ESXi host TSM-SSH service …
Category Archive: PowerCLI
ESXi host advanced configuration using PowerCLI – parameter Net.BlockGuestBPDU
I was recently asked by one customer to verify the existing Bridge Protocol Data Unit (BPDU) Filter configuration for their 75+ ESXi hosts and if needed (not activated) change the default configuration from the value “0” to the value “1” to activate the feature. This blog post will focus on the PowerCLI configuration and not explaining …
vCloud Director Management cluster disaster recovery
A while ago i needed to perform a vCloud Director (vCD) management cluster disaster recovery. There are four main sections in the blog post: Infrastructure – describes the infrastructure used by the vCloud Director Management cluster environment. Rollback reasons – describes why the HP LeftHand P4300 storage volume rollback was carried out. Rollback preparation – describes …
Change ESXi license using PowerCLI
A few days ago a new customer asked me to review the PowerCLI script used for the initial ESXi host configuration. The ESXi hosts are factory installed and the most recent batch of ESXi hosts were all configured with the “VMware vSphere Hypervisor 5 License” license. This means the initial ESXi host automatic PowerCLI configuration …
VM per datastore PowerCLI e-mail report
I have been asked to create a monitoring script to calculate the number of virtual machines per datastore. I know there are a lot of examples in the community doing the exact same thing. This particular case includes one requirement which i have not seen in the communities examples. My customer wants one e-mail to …
ESXi host disk.terminateVMOnPDLDefault configuration using PowerCLI
This section is updated since vSphere 5.5 was GA during VMworld 2013. From now on the configuration option has changed regarding two things: Name – It is now called VMkernel.Boot.terminateVMOnPDL and not Disk.terminateVMOnPDLDefault Configuration – It is now an advanced ESXi configuration parameter and not a text string in the ESXi host file /etc/vmware/settings Continue reading if …
vSphere cluster resource pool configuration script
This blog will include the technical aspect (the script) which i mentioned in the blog post vCloud Director implementation for small businesses Input parameters: 4 vSphere cluster resource pools exists at the vSphere cluster root level SLA-Gold with priority value 10 SLA-Silver with priority value 5 SLA-Bronze with priority value 3 SLA-vCloud with priority value …

