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

Tuesday, September 29, 2009

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

Filed under: Errors,Microsoft,Troubleshooting,Virtual Center — Tags: , , , , , , — A. Mikkelsen @ 10:33 am

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 version of the ODBC.

To set up a 32-bit DSN launch the 32-bit version of the Data Source Administrator. It is located at:

Also se

Monday, September 28, 2009

Partitioning you ESX host (vSphere)

Filed under: vSphere (ESX),White Papers — Tags: , , , , — A. Mikkelsen @ 10:09 am

Duncan Epping has released a great post on how to partition your ESX 4.0 (vSphere) using scripting and the grafical installer


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.

The ESX boot disk requires 1.25GB of free space and includes the /boot and vmkcore partitions. The /boot partition alone requires 1100MB.

The vmcore is created automatically by the installer

/     - 5120MB
Swap  - 1600MB
Extended Partition:
/var  - 4096MB
/home - 2048MB
/opt  - 2048MB
/tmp  - 2048MB

Friday, September 25, 2009

Quick guide for upgrading VirtualCenter database from MSSQL2000 to MSSQL2005

Filed under: ESX Migrate/Upgrade,Tools,Virtual Center,White Papers — Tags: , , , , — A. Mikkelsen @ 21:29 pm

Today when I needed to upgrade my VC database from MSSQL2000 to MSSQL 2005 i came upon these quick guides.



Wednesday, September 23, 2009

Howto add webages in vCenter

Filed under: Tools,Virtual Center — Tags: , , — A. Mikkelsen @ 15:00 pm

If you want to add a website tab to your vCenter, then here is a quick way to do it.


Thanks to Ricky over at virtualizeplanet.com

Thursday, September 17, 2009

Ever wondered it you ESX servers are hardened enough

Filed under: Security,Tools,vSphere (ESX) — A. Mikkelsen @ 14:03 pm

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.

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 VMware ESX hosts against VMware hardening guidelines and Center for Internet Security (CIS) benchmarks.

Compliance Checker for PCI DSS, checks the compliance of servers and desktops against PCI DSS v1.2 requirements as specified by PCI Security Standards Council.

A must have for anyone using PowerShell to control VMware

Filed under: ESXi,PowerShell,Scripting,Tools,Virtual Center,vSphere (ESX) — Tags: , , , , , , , , — A. Mikkelsen @ 12:12 pm

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 the Public…….. 🙁

Read more on rtfm-ed.co.uk.

Or read more on the “get-scripting podcast” blog

Wednesday, September 16, 2009

Scripts to document your vSphere enviroment

Filed under: ESX HealthCheck,PowerShell — Tags: , , — A. Mikkelsen @ 15:13 pm





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)

VCP vSphere (VCP410) practice exam

Filed under: VCP — Tags: , , , , , — A. Mikkelsen @ 12:57 pm

Simon Long has posted a great test exam for the VCP410 exam.
I used it to study for mine.

Also take a look at Somins study notes.

Another great and very usefull help is to use and memorize the vReference Card.

Thanks to VCP for the below study sites

And not to forget Scott Vessey who created a great collection of resources for studying

Passed VCP410

Filed under: VCP — A. Mikkelsen @ 12:52 pm

Yesterday I passed the VCP401 exam with 375 points.

I feel that the exam was harder than the old exam (VCP310).
Think VMware has realized this and dropped the target for VCI from 400 to 350 points.

Thursday, September 10, 2009

Black screen in a Windows VM or an a physical server

Filed under: Errors,Microsoft,Troubleshooting,White Papers — Tags: , , , , , — A. Mikkelsen @ 11:31 am

Over the past few months we have seen a few Windows servers with a black screen.

  • You can’t see the logon promt
  • You get a black screen when you connect with RDP

We found that the problem was caused by a change in the Windows color scheme.

The solution is to copy the color scheme from a simular Windows servers registry and add it the VM/server that has the problem using registry to connect to a remote server.

  1. On a simular windows server locate “[HKEY_USERS\.DEFAULT\Control Panel\Colors]” and export it to a file.
  2. Using the same Registry Editor connect to the remote server.
  3. Import the registry file just created or change the color scheme manually.
  4. Reboote the affected server to change the color scheme.

Default color scheme for a Windows 2003 server.
Default color scheme for a Windows XP.
Default color scheme for a Windows 2000 server.
Default color scheme for a Windows 2008 server.

Powered by WordPress