Archives

VMware

VMware related material

Vdisk alignment cont….

Ok back in march I created a blog post around vdisk alignment and how to achieve it using a FREE tool called gparted. Since then the dev team behind gparted have included some new tricks and made the process easier. So I decided to reload this post but with some cool how to videos. Ok so when you watch this learning material by clicking on the play button below you’ll notice that I sound a little wooden, but is down to me coming out of a dose of the old flu (possibly swine) and I was reading from a script. But never the less I think you will like it.

Press Play

How to realign a vdisk

ESX to Diskless ESXi

This week I decided that I’d take a leap of faith and switch from using full fat ESX 4.1 on my home lab systems to using ESXi 4.1 running from USB keys thus allowing me to remove the otherwise hot SATA disks from my hosts. I also used this opportunity to upgrade my home SAN to 2Gb Fibre Channel. That’s right you heard it “home SAN”. Don’t be fooled though, I use a Datacore software SAN to which I have an NFR (for testing purposes of course) to allow me to convert a standard desktop systems into a storage array. Datacore gets some hard press and that is usually from the guys who don’t understand it or don’t know it, I love it though. Enterprise functionality without the tie in. I do have FC switches but I don’t use them (to loud and hot), instead I go point to point with my fabric.

The first thing I did was prepared some ESXi 4.1 USB keys and I followed this thread on vladan’s site >HERE< for the easiest and fastest way of achieving that:

ESXi 4.1 USB keys

Then opened up my 2 main lab servers, ripped out the SATA disks leaving them diskless. Then replaced my 1Gb FC cards for 2Gb FC cards. The spec of my 2 mains systems are:

Quad Core / 8GB Ram / Intel 1000Pro / Qlogic 2Gb FC

 Next boot up ESXi and made the necessary configuration changes to bring back my cluster. The things I did notice was: Whilst my 2 mains systems are almost Identical the motherboards are different. And no matter what I did in the bois system#1 would boot ESXi from the USB key much slower than system#2. Even though I knew the USB keys were USB2.0 the bios would only recognise it as USB1.0.

The main aim of this exercise was to reduce some of the heat generated by my lab, in the summer its unbearable as my lab/office is in the loft.

I do have 2 other systems which are my test&dev systems that I’m selling off so I can have a blow out on some new kit:

If you are interested in purchasing them and live in the UK give me a shout on ricky@virtualizeplanet.com . The Spec of these systems are:

Dual Core / 4GB Ram / Dual Intel 1000Pro/ 160GB SATA

Scheduled DPM

I wanted to reduce the heat generated by my home lab as its in the Loft/Office and wanted to automate any procedure. Decided to enable DPM for the very first time and the task I faced was controlling when DPM was enabled or disabled. If you’re not familiar with DPM its VMware’s vSphere technology that automates ESX hosts placed into standby power mode when overall utilisation is low. My home lab is used for demo and in working hours I didn’t want to have to wait for DPM to power on a standby host mid-demo. So I needed a way of controlling DPM off/on peak. At first I was going to create an API app similar to My Resource Pool Scheduler but then decided this would make a great PowerCLI lesson. I went about finding out how to control DPM using PowerCLI as described >here<. I then used the windows scheduler to activate a DPM-ON script and a DPM-OFF script. It was as simple as that. So 7am DPM is switched off and all standby hosts are powered on. 7pm DPM is switched on allowing for hosts to be placed into standby mode.