A. Mikkelsen

VMware ESX scripts, commands, tools and other nice to know things that will make your virtualization days easier!!!!

Browsing Posts in ESXi

If you ever need to clear the list of ignored SSL certificates (hosts or vCenters) that you use from the VIclient. Open the “Registry Editor” Locate the key named “HKEY_CURRENT_USER\Software\VMware\Virtual Infrastructure Client\Preferences\UI\SSLIgnore” Delete all certificates needed.  

When connecting some storage systems to vSphere, vSphere sometime doesn’t select the most optimal multipathing policy. I came across the above problem when adding an EMC VPLEX storage system to a  large vSphere 4.1 installation. vSphere selected the Fixed path multipathing policy. In smaller environments this isn’t normally a problem , but when a Fixed policy is selected in […]

Time keeping in a virtual environment can be a challenge to setup. To help you, VMware has maintained a KB on the subject. http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1318 The KB presents best practices for achieving accurate timekeeping in Windows Guest operating systems. These recommendations include a suggested configuration for timesynchronization in the guest and on the host. A more […]

If you are looking for a easy and simple guide for setting up iSCSI on vSphere (ESX 4.x) you might want to take a look at this guide from www.techhead.co.uk http://www.techhead.co.uk/vmware-esxi-4-0-vsphere-connecting-to-an-iscsi-storage-target

Yesterday I by mistake extended a disk on a VM that had snapshots. Using vmkfstools. Kind of like this thread (http://communities.vmware.com/thread/238035). This resulted in the following PowerOn error: Failed to power on Servername on Host in Cluster: Cannot open the disk ‘/vmfs/volumes/LUN/Folder/VM.vmdk’ Reason: The parent virtual machine disk has been modified since the child was […]

VMware have released a demo on YouTube that shows a “must have” for PowerShell users who automate and manage vSphere and vCenter through PowerShell. The project is named “Onyx” and works like a middelware between the vCenter Client and the vCenter Server. Onyx is unfortunately still in a private beta and therefore not acceble to […]

Have you ever needed to verify the security or hardened state of you ESX hosts? If yes, then these tools from ConfigureSoft.com or TripWire.com will help you make the process easier. If no, take a look at the tools anyway – it’s always nice to know if your “babies” are safe ;-). http://www.configuresoft.com/compliance-checker.aspx Compliance Checker […]

2 years ago a VMUG user in Denmark created a Ubuntu VM that could graficily could show the develeoment of the amount of VM’s in a Cluster. Unfurtionally someone stole my labtop and the VM :-). So I had to create a new. And of cause it’s based on PowerShell ;-). The webpages shows the […]

Today I had to upgrade all our Jumphost VM’s from 256MB to 512MB of memory (more than 200 VM’s). There are two ways accomplice this. 1. Do it manually (Very time consuming) 2. Script it with PowerShell As the lazy person I am I decided that scripting was the way forward. The script I came […]