Experimenting with Hyper-V without an infrastructure en

By HyperBart on Friday 13 January 2012 15:00 - Comments (13)
Category: Tech, Views: 1.770

So... Even though personally I am a VMware fan and certainly believe VMware's vSphere is the market leader in server virtualisation, I do believe Hyper-V is a worthy alternative in Belgium or The Netherlands where the environments are mainly small enough to justify at least a doubt in the advantage for Hyper-V.

Some IT personnel might not have the hardware available to work and experiment with these things, for those (including me), Microsoft came up with the Virtual Labs (I know they existed for a while, but just want to point it out to you guys).

Here's is a short list, but I'm sure you can find more with your day-to-day Google-skills ;) :

Every Virtual Lab regarding the System Center Stack (Hyper-V)

The links below are not specifically pointed towards Hyper-V, but can certainly be of great aid in testing some things if time is scarce to set up an own virtual environment...

TechNet Virtual Labs

MSDN Virtual Labs

Happy experimenting!

* HyperBart out!

Installing VSA on a ghetto-lab en

By HyperBart on Tuesday 20 December 2011 14:00 - Comments (3)
Category: Tech, Views: 1.721

Introduction


As some of you already might know I'm virtualizing a couple of machines at home with a low power consuming ESXi-host based on an i3 CPU with 16GB of RAM. For me it is sufficient to run my day to day needed VM's like a DC, PPTP VPN target, an XP Management machine, and most importantly my Ubuntu-machine which runs Sick Beard, Couch Potato and Sabnzbd...

Nevertheless, as a training and hopefully once being a v-Expert (whether it is with Hyper-V or vSphere) it's important to have your own lab... Since I'm just a young guy with a passion for V I thought a real server would come in handy... So via via I bought a very cheap server based on 2 Xeon' 5670 with 6 cores, running with HT that equals 24 "cores" according to ESXi along with 24GB's of RAM combined with an Intel SSD and for connectivity 6 NIC's... Enough with the bragging now...

This server suits itself perfectly to run my ghetto-lab... For those of you who are not familiar with this term: it is a lab-environment, not running according to best practices but with some concessions to enable people like me to test functionality or experiment with it to improve their knowledge... In my case it wil be my server running the following machines:
  • vCenter5 on Windows 2008 R2
  • vESXi 1
  • vESXi 2
  • vESXi 3
The Ghetto-lab


That's right, you're reading it well... VMware's vSphere is able to run it's own hypervisor virtually... The fun thing about this is, that you can give as many virtual devices as you want to your vESXi's... You're only limited to RAM and diskspace on your underlying pESXi (physical ESXi). So with this setup, you have to look at all my VM's stated above, and think of them as physical... Don't think about the underlying server (the "iron" or in my terminology the "pESXi"), think of all those machines as physical...

So, starting with this, you can test almost everything you want as a training IT professional, and my first journey with this lab was one with VSA...

But, before testing the VSA, we need to prepare some VM's so ESXi can be ran virtually, I followed these clear steps (look for "Creating vESXi 5.0 Instance using Hardware Version 8") and hey presto, in about an hour I had 3 running vESXi's. Don't forget to add enough NIC's to your vESXi's (but hey, since they are V, you can add as many as you want, right ;) )

On with the VSA Installation now!

VSA or "VMware Storage Appliance" is a software appliance provided by VMware and targeted for the SMB which can't or don't want to afford a physical SAN. In a nutshell, what it does is: it transforms your local storage of each ESXi host to a datastore which is replicated and accessible by the other ESXi-hosts... Doing so enables SMB's to virtualise and profit of the features like vMotion and HA which are provided with the more advanced licenses of vSphere 5...

During the last two months I tried setting up a VSA cluster... First I tried to do it with two physical machines (the dual Xeon and a i5-based machine which I had to build for my brother in law) due to the fact my brother in law needed the PC and I ran into some troubles trying to set it up, I didn't have enough time to build my VSA-cluster correctly...

Nevertheless, I started again, and I want to share my troubles and the solutions for installing a VSA cluster on a lab environment...

First of all: this is the thread which helped me a lot at finding the problem which was preventing me from installing VSA: http://communities.vmware.com/message/1830834#1830834

As you can see, I got a couple of error messages which prevented me from starting the VSA Manager plugin...

http://communities.vmware.com/servlet/JiveServlet/download/1869688-76429/vsa%20cluster%20error.PNG

http://communities.vmware.com/servlet/JiveServlet/download/1869688-76430/reconfigure%20network.PNG


The installation itself


First of all:
  • Make sure your installation of Windows 2008 R2 is completely "greenfield", which means: NO ROLES installed, only your Windows Updates of that day...
  • Make sure you install your vCenter with standard port-parametres, using VSA fails if vCenter is not running on port 80 and 443 (my Achilles-heel of my setup)
The first steps in troubleshooting my failed installation was that when I ran a

netstat -ano


I got a list back which stated that something with PID 4 (which is NT Kernel according to Task Manager) was occupying port 80 (HTTP)... So after some Google'ing around I found that on some servers there is a service running called "WindowsRM" which is responsible for some kind of web-interfaced management channel which occupies port 80... After disabling this service I still got an error, but now stating that IIS was still installed. Very surprised about this, I checked if the IIS-role was installed and it was... Removing it, rebooting the server to be sure and I could go on with my installation of vCenter 5 running on default ports and without errors or warnings...

Grab the latest VSA-binaries and install the .exe (you can find it in the ISO-image which you can download from VMware.com) on your vCenter machine, since you're doing this install with the exe, you can do the complete install manually so you'll learn more about it than if you were just running the autorun-scripts on the ISO...

Because you are running a ghetto-lab, and VSA is checking for EVC, you'll have to disable this check... You can do this very easily by going to:


code:
1
c:\Program Files\VMware\Infrastructure\tomcat\webapps\VSAManager\WEB-INF\classes


and look for the file: "dev.properties", in this file you might find this line:
"evc.config=true", change this to "evc.config=false" or create this line if it isn't present...
As a finishing touch, first (!) restart the VSA service and afterwards the vCenter-service in the services.msc panel to make them both aware of the new hack...

Now, open a vSphere Client session to your vCenter, create a datacenter and add your hosts to this DC...

Secondly, open a new vSphere Client and connect to your pESXi, open the properties of the switch which is connected to your vESXi's and make sure to set the exception policies as shown in the following image (I don't know which are needed, so I enabled all 3 of them and suddenly I could proceed with the installation procedure)...

vSwitch Exception Policies

Normally now you can start the installation on the vSphere client to your ghetto-lab...

Enjoy it... If something isn't clear, let me know trough DM or a comment below and I'll try to elaborate or clarify!

Zuinig virtualiseren met ESXi

Door HyperBart op dinsdag 26 april 2011 11:00 - Reacties (20)
Categorieën: Tech, Vrije-tijdsbesteding, Views: 5.562

Inleiding
Zelf ben ik al een paar maandjes werkzaam bij een bedrijf dat virtualisatie sterk aanbiedt en dan vooral met VMware... Privé ook een grote interesse naar virtualisatie en tijdens mijn opleiding dan ook wat geëxperimenteerd met ESXi met een whitebox van een vriend.

Thuis heb ik altijd een klein servertje gedraait (op dit moment een oud bakje op basis van een AMD Athlon XP 2000+, maar in mijn ogen was het rendement van het verbruik te weinig (ik had te weinig mogelijkheden in verhouding tot de stroomconsumptie).

Maar wat is ESXi nu eigenlijk en voor wat dient het?
ESXi is een virtualisatieproduct van VMware, een zogenaamde "bare metal hypervisor". Simpel gezegd is een bare metal hypervisor een soort van "verkeersregelaar" die bepaalt welke VM (=Virtual Machine of Virtuele Machine) toegang krijgt to welke hardware en voor hoelang. Het zorgt er dus voor dat je meerdere besturingssystemen (ook gemengd! Windows/Linux) langs mekaar op dezelfde hardware gelijktijdig kan draaien.
In het bedrijfsleven heeft dit als voordeel dat waar een bedrijf vroeger om een scheiding in zijn machines en de taken te houden verschillende fysieke machines moest aankopen, nu één zwaardere machine kan kopen (met vooral veel meer geheugen) en alle VM's hardware-onafhankelijk op die machine kan draaien. Als je meerdere ESXi-machines in een cluster groepeert kan je zelfs VM's migreren van de ene naar de andere host zonder dat de gebruiker er iets van merkt... Dat is de kracht van virtualisatie en omwille van het feit dat ik meerdere VM's kan draaien op één bakje wou ik er ook eentje thuis.


De Hardware
Dus: tijd voor een nieuw bakje, en wel eentje dat ESXi ondersteunt en bovendien relatief zuinig is (zeker als je kijkt naar het aantal (virtuele) machines dat je kan draaien). Na een tijdje rondgehangen te hebben in Nieuwe Zuinige Server (discussie) toch besloten om de volgende hardware aan te kopen:

#ProductPrijsSubtotaal
1Antec New Solution VSK-2000-EC¤ 38,57¤ 38,57
1Intel Core i3 540¤ 86,70¤ 86,70
1be quiet! Pure Power L7 300W¤ 34,30¤ 34,30
1GeIL Value PLUS GVP38GB1333C9DC¤ 59,90¤ 59,90
1MSI H55M-E33¤ 63,50¤ 63,50
Bekijk collectie
Importeer producten
Totaal¤ 282,97


Ter zijner tijd (enkele weken terug) kostte het bakje net geen 300 EUR en ik had nog een HDD en een compatibele Intel NIC liggen (die nodig is voor de installatie, aangezien de onboard NIC standaard niet ondersteund wordt tijdens het installatieproces...)

De Installatie
Alles ingebouwd en het boeltje opgestart met een CD'tje van ESXi 4.1 Update 1...

Verdorie :( hij wilt niet installeren! Toch maar even wat gaan opzoeken en contact opgenomen met een Tweaker die het wel werkend had (iNSaNe-oNe), na wat heen en weer gestuur te weten gekomen hoe ESXi te installeren en bovendien de onboard NIC werkend te krijgen:

Stap 1: assembleer alle hardware (duh :+ ) maar vergeet geen compatibele NIC te plaatsen... In mijn geval was dat een Intel 1000 MT Desktop Adapter, en daardoor heeft ie tijdens de installatie geen problemen. Zonder die NIC ben ik niet bekend wat de gevolgen zijn van een installatie

Stap 2: gebruik de image van ESXi 4.0 U1 (staat bij de lijst van ESXi's bij de downloads genoteerd als: "ESXi 4.0 Update 1 Installable (CD ISO)"), brand deze naar een CD, boot hier van en installeer op de normale wijze ESXi

(in principe heb je nu al een werkende installatie van ESXi zonder problemen op je bakje staan, weliswaar zonder je onboard NIC werkend, maar je hebt al ESXi...)

Stap 2a: deze stap is optioneel, maar geeft je wel toegang tot de Host Update Utility die je misschien makkelijker vindt om je ESXi te updaten, persoonlijk vond ik de commandline veel makkelijker (je bent Tweaker of niet...) en ik vond het veel "cleaner". Surf naar het IP-adres van je ESXi-bak en download op die pagina de vSphere client, installeer deze en vergeet tijdens het installatieproces het vinkje "Install host update utility" niet aan te duiden...

Stap 3: installeer de vCLI (http://www.vmware.com/support/developer/vcli/)

Stap 4: stel via de console een wachtwoord in (denk aan de juiste toetsenbord-instellingen)

Stap 5: connecteer met behulp van de vSphere Client naar je ESXi-machine en plaats deze in maintenance-mode

Stap 6: update ESXi 4.0 U1 naar ESXi 4.1 U1, dit doe je op basis van het ZIP-pakketje dat je kan downloaden op dezelfde pagina waar je je ISO hebt gedownload, dit ZIP-bestandje staat daar bij het kopje: "ESXi 4.1 Update 1 (upgrade ZIP from ESXi 4.1)". Ik heb mijn ZIP-pakketje in mijn C:\ geplaatst en met de vCLI de update gedaan en dat gaat als volgt:

C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl --server 192.168.X.X --install --bundle c:\upgrade-from-esxi4.0-to-4.1-update01-348481.zip
Enter username: root
Enter password:
Please wait patch installation is in progress ...
Maintenance mode is not enabled or could not be determined.The following VIBs re
quire this host to be in maintenance mode: deb_vmware-esx-firmware_4.1.0-1.4.348
481, cross_oem-vmware-esx-drivers-scsi-3w-9xxx_400.2.26.08.036vm40-1OEM, cross_o
em-vmware-esx-drivers-net-vxge_400.2.0.28.21239-1OEM.  Please put the host in ma
intenance mode to proceed.

Tadaaa :) ik was vergeten maintenance mode te enablen... Snel even gedaan, en wat krijgen we dan:

C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl --server 192.168.X.X --install --bundle c:\upgrade-from-esxi4.0-to-4.1-update01-348481.zip
Enter username: root
Enter password:
Please wait patch installation is in progress ...
The update completed successfully, but the system needs to be rebooted for the changes to be effective.


Stap 7: reboot je ESXi-machine

Stap 8: enable Remote Tech Support Mode (remote TSM) via de vSphere client (http://www.virtual-blog.c...support-mode-on-esxi-4-1/ , wij connecteren ipv naar een vCenter naar de ESXi rechtstreeks, voor de rest is alles bijna hetzelfde)

Stap 9: Check Whitebox HCL op VM-Help.com en kijk even bij nummer 1 bij Realtek 8111, in de TS van die thread vind je een attachment (RTL8111_8168_P55_integr_SATA_Ctrl.(AHCI).oem.tgz [187.13 KiB] ), download dit en sla het op als "oem.tgz"

Stap 10: download WinSCP of eender welk ander SCP-capabel programma en maak verbinding via SCP naar het IP-adres van je ESXi-host, browse naar "/bootbank". Hier vind je een bestandje genaamd "oem.tgz", hernoem dit naar "oem.tgz.bak" (dit is gewoon als failsafe om een backupbestandje te hebben). Upload vervolgens het oem.tgz bestand wat je gedownload hebt naar deze "/bootbank"-directory.

Stap 11: reboot je server

Ziezo, nu heb je in principe een heel zuinige ESXi-server die bovendien gebruik kan maken van de onboard NIC. Nu kan je volgens de normale procedures VM's gaan aanmaken.

Happy virtualising :)

* HyperBart out!


PS: voor de geïnteresseerden omtrent het v-verhaal, een blogger op http://www.vladan.fr/esx-virtualization-contest/ doet nu een wedstrijd... Als je een aantal dingen doet die beschreven staan op zijn blog maak je kans op:
1st Price – Veeam Backup and Replication v. 6.0 ! – Full 365 days NFR license
2nd Price – vSpere 5 DVD Training Course by David Davis and Elias Khnaser !
3rd Price – Mastering VMware vSphere 5 !

Toffe prijzen voor weinig dus!

Waze - Social GPS and traffic information based on the wisdom of the crowd

Door HyperBart op woensdag 06 april 2011 18:10 - Reacties (6)
Categorieën: Internetsprokkels, Tech, Views: 1.921

Waze, what's in the box?

Ik was deze naam toevallig opgekomen omdat een mede-tweaker met Waze via FB een mededeling plaatste op zijn profiel dat er ergens file was... Toch maar even gekeken naar wat ze te bieden hebben....

Waze Logo


Het principe is simpel. Je installeert Waze (gratis) op je smartphone (voorlopig alleen op iOS en Android, maar geef nu toe, zijn er andere degelijke en populaire OS'en :+ ;) ) en je begint te rijden...

Als je files of verkeersproblemen tegenkomt, dan meld je ze met een druk (mag je dat tegenwoordig nog zeggen met touchscreen-phones?) op de knop, je voegt wat info toe of zelfs een fotootje, de app upload het naar de servers van Waze en vanaf dat moment houdt de app bij andere Waze-gebruikers rekening met de verkeersproblemen...

Je kan makkelijk gevaarlijke zones, verkeersproblemen en in beperkte mate wat voor soort ongeval er gebeurd is aangeven via de app. Tevens steunt het ook een beetje op zijn community om fouten uit maps te halen. Je kan een soort van "draw as you drive" modus activeren, waarbij je eigenlijk door te rijden een weg uittekent die je daarna kan verbeteren/aanpassen/invoeren via de PC.

Uiteraard (en dat blijf ik bij zo een apps ook altijd een nadeel vinden) staat of valt het hele principe met het aantal gebruikers van de app. Het zou natuurlijk ongelooflijk utopisch zijn moesten we alle gegevens van Tom Tom Live!, Avertinoo, Coyote, BMW Teleservices enz... kunnen bundelen in een systeem... Dan had je pas een userbase _/-\o_ . Anyway, het gaat mij niet tegenhouden om de app te gebruiken. Ik hoop binnenkort heel wat Nederlanders en Belgen te mogen verwelkomen!

Have fun!

Oh ja, volgende keer een blogje over apps voor het verkeer die ik vaak gebruik en bijna onmisbaar vind als je vaak op de weg bent...

* HyperBart out!

Je kan zeggen wat je wil...

Door HyperBart op vrijdag 19 november 2010 18:30 - Reacties (7)
Categorie: Internetsprokkels, Views: 2.996

Maar tussen alle heisa van Youp vind ik dat T-Mobile toch leuke reclame/virals kan opzetten, althans de T-Mobile van de UK.

T-Mobile had al eens een viral opgezet, de T-Mobile dance in Liverpool train station



En nu hebben ze (sinds ze al een tijdje met die viral in de Top 100 van virals stonden) om dit nog eens te proberen, deze keer in Heathrow Airport:



En nu eigenlijk het punt waar ik een beetje toe wil komen, door deze reclame krijg ik toch (als buitenstaander, in België hebben we geen T-Mobile) toch een beetje het gevoel van "Hey, die jongens zijn toch wel ferm bezig en een tof bedrijf". Ik bedoel, ik moet zelf niet veel zeggen met mijn ervaring met Dommel, maar toch krijg ik als onwetende (vanuit eigen ervaringen) door deze virals toch een leuk gevoel bij T-Mobile.

Zo zie je maar wat de gevolgen van marketing en reclame zijn!

Bron: http://blog.searchenginewatch.com/101031-194309

* HyperBart groet jullie vanuit zijn luie zetel met een synthetische gips! Hockey-ongevalletje ;)