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

Tuesday, November 10, 2009

Running the vSphere client on Windows 7

Filed under: Microsoft,Tools,Virtual Center,vSphere (ESX) — Tags: , , , — A. Mikkelsen @ 11:21 am

Many admins have upgraded to Windows 7 and gotten into problems when trying to install the vSphere Client.

I have found a few guides to do a workaround, but the best guide is found at techhead.co.uk.
http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7

Thanks to Kiwi Si.

Thursday, October 29, 2009

Extend disk with snapshots – How to fix the error

Filed under: Errors,ESXi,Troubleshooting,vSphere (ESX),White Papers — Tags: , , , , — A. Mikkelsen @ 8:55 am

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 created

The server was a database server so I had no choice than to fix it.

I tried the following with no luck:

  • Reverting to snapshot didn’t help – (Don’t try this if you don’t have a good backup)
  • Shrinking the vmdk again using vmkfstools – (This has not been possible since ESX 3.0)

Then I tried to use VMware Converter to do a V2V and in the first try (all defaults) that didn’t help the VM started with a BSOD.I tried again using the Converter but this time I changed one default parameter.In the “View/Edit Options” tap, remove the check mark in “Reconfigure destination virtual machine” and click YES to the warning.Removing the reconfigure option saved my day.
The VM started and I was able to restore the latest files from backup.


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:
%systemdrive%\Windows\SysWoW64\Odbcad32.exe

Also se
http://www.vmwarewolf.com/32-bit-odbc-dsn-for-vsphere/

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

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.

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

Primary:
/     - 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.

http://blog.core-it.com.au/?p=27

http://spininfo.homelinux.com/news/VirtualCenter/2008/01/06/Howto_Move_Migrate_Design_VC_DB_from_SQL2000_to_SQL2005__

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.

http://www.ntpro.nl/blog/archives/1270-vSphere-Plugin-Wizard-Released.html

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.
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 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.
http://www.rtfm-ed.co.uk/?p=1643

Or read more on the “get-scripting podcast” blog
http://get-scripting.blogspot.com/2009/08/get-scripting-podcast-episode-12-carter.html

Wednesday, September 16, 2009

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.
http://www.simonlong.co.uk/blog/vcp-vsphere-4-practice-exam/

Also take a look at Somins study notes.
http://www.simonlong.co.uk/blog/vcdx-study-notes/

Another great and very usefull help is to use and memorize the vReference Card.
http://www.vreference.com/

Thanks to VCP for the below study sites
http://www.passguide.com/vcp-410.html
http://www.vcp-410.com

And not to forget Scott Vessey who created a great collection of resources for studying
http://vmwaretraining.blogspot.com/2009/09/studying-for-vcp-on-vsphere-4.html

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.

« Newer PostsOlder Posts »

Powered by WordPress