Extend disk with snapshots – How to fix the error

By | October 29, 2009

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… Read More »

Powershell – Add host to Cluster and license it.

By | June 13, 2010

This PowerShell script adds a host to a Cluster and licenses it. Add-PSSnapin VMware.VimAutomation.Core Connect-VIServer “VC_server_name” -User “Administrator” -Password “password” add-vmhost “esxhost” -location (get-datacenter -name ‘Datacenter’ | get-folder -name ‘Folder’ | get-cluster -name ‘Cluster’) -user “root” -password “password” -force: $true $targethostMoRef = (get-VMHost $strHost  | get-view).MoRef $si = Get-View ServiceInstance $LicManRef=$si.Content.LicenseManager $LicManView=Get-View $LicManRef $licassman =… Read More »

32-bit ODBC DSN required for vSphere running on 64-bit OS and MSSQL

By | September 29, 2009

Last week I upgraded a Virtual Center server from Win2003 & MSSQL 2000 (32-bit) to Win2008 & MSSQL 2005 (64-bit). During the installation of vCenter it asked for a 32-bit ODBC even though all the new systems was running 64-bit. After a some time on Google i found that Windows 64-bit also includes a 32-bit… Read More »

Partitioning you ESX host (vSphere)

By | October 6, 2009

Duncan Epping has released a great post on how to partition your ESX 4.0 (vSphere) using scripting and the grafical installer http://www.yellow-bricks.com/2009/05/27/partitioning-your-esx-host-part-ii/ You cannot define the sizes of the /boot, vmkcore, and /vmfs partitions when you use the graphical or text installation modes. You can define these partition sizes when you do a scripted installation.… Read More »

Ever wondered it you ESX servers are hardened enough

By | September 17, 2009

Have you ever needed to document how secure your ESX servers are. If the answer is yes then take a look at these free fools (Compliance Checkers) from ConfigureSoft.com. http://www.configuresoft.com/compliance-checker.aspx If the answer is no I would sugest you took a look at the tools anyway…… Compliance Checker for VMware ESX, checks the compliance of… Read More »

A must have for anyone using PowerShell to control VMware

By | September 17, 2009

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… Read More »

Scripts to document your vSphere enviroment

By | September 17, 2009

http://communities.vmware.com/message/1286580#1286580 http://www.ivobeerens.nl/?p=256 http://www.configuresoft.com/esx-compliance-checker.aspx http://www.vmware.com/support/developer/vima/ http://www.run-virtual.com/?p=233 (VMware CPU Host Info) http://teckinfo.blogspot.com/2009/01/vdiagram-document-your-vi-with-one.html (vDiagram)