YAMS – Yet Another Migration Script

I was asked if I could write a script that could be used for moving VMs to another data center location. Sounds easy right? Well, there were some specific requirements that made it a bit more challenging… Downtime for the VMs should be kept to a minimum. Some clusters re-use…

Migrating ESXi Hosts to Another vCenter Server

As part of a migration project, ESXi hosts needed to be migrated to a new vCenter appliance. The Cisco 1000v distributed virtual switch was stripped out and converted to standard switches. So basically it was a matter of disconnecting, and removing the hosts from the old vCenter and adding them…

Find a datastore or RDM by LUN ID

Sometimes the storage team wants to clean up their LUNs but they only know the LUN ID. And they ask you, the ESXi admin, where that LUN is used… Not an easy question if you don’t have an administration of your LUNs. You can use the UI and do some…