Technology, Infrastructure and Cloud Focused.

Father of 3 lovely children, geek, infrastructure expert, technical architect and all round technologist.

Archives for December 2011

When venter 4.1.0 fails to startup after install

Hello all, before I start ranting about my problems over the weekend trying to recover my Microsoft Small Business Server 2008 and Active Directory, I will tell you about a small problem with my vCenter installation.

If (like me) you know about VMWare but a newbie to vCenter you may not know why after you restart your vCenter server why you cannot connect to vCenter with the VSphere client. After some digging around in the VMWare fourms I came across this post:-

http://communities.vmware.com/thread/89855;jsessionid=20C841686151B792D2561F3587950AAC

Which explains the problem as vCenter services trying to start before your SQL server / service instance starts (or in my case SQL Express). So a quick fix would be to go into Services and change the dependency of the service, otherwise follow these instructions as per my screenshot:-

Click start – run, then type in regedit

Click enter

Navigate to

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesvpxd

Name: DependOnService (REG_MULTI_SZ)

Value:

ProtectedStorage

lanmanworkstation

Check your SQL service instance name within the services.msc console, default and on my server it was the below. then add this into the Reg key, click OK, close regedit and reboot the service

MSSQL$SQLEXP_VIM

A screenshot below shows the relevant information:

Vcentre image

Our new VMware lab layout

OK so for those of you who know me, I have a home lab setup of 3 servers (at present) running about 10 virtual machines at the moment, which is planning to expand once I have built my new SharePoint 2010, SQL 2008 environments.

Now on the electric front I have worked out last year I used over 7,000 kWh is this normal for what i am using it for – umm…..

My VM Layout

Hyper-V Management with Windows 7

OK, so as I start to upgrade / rebuild all my laptops and desktops to Windows 7 (good job Microsoft I love this O/S – I can not actually remember the day when I said that, arr Windows 2000 / XP). So when it comes to installing all those apps that forgot you needed, or could not find the media I keep saying to myself that I will create a database of all the issues or support fixes I come across – well you know how it goes.

So I have 2 x Hyper-V servers, 1 running Hyper-V server (i.e. free download, core type of setup) and 1 running Windows 2008 with the Hyper-V role. All managed through the nice, easy to use interface that is Hyper-V Manager. But of course I keep getting the good old permissions errors and can never remember how to fix the issue, so lets blog it:

So thanks to John Howard over @ Microsoft who wrote the HVRemote to script the whole process, further detals can be found here – http://code.msdn.microsoft.com/HVRemote

My Windows Home Server (WHS) and being nackered

Here is a question for everyone, where is it after a whole weekend of work, playing with the kids and then trying to fit in some computer time do you get nackered. For the people out there that don’t know me, I am always told that I run a mini data centre at home – visio diagram will be posted at some time, but here is a run down of what I have:

1) Dell Poweredge T105 (purchased from the Dell Outlet a little over a year ago, when the outlet was actually selling some decent servers), 8GB and an AMD (something) Quad 2.3Ghz. This baby was kitted out with 4 x 1T drives a SAS 6i RAID card. I installed VMWare ESXi 3.5 running 5 VM’s at present – nice, however issue updating to vSphere – any help???

2) Dell desktop, quad core running Hyper-V R2, as i wanted to try this out.

3) Next just purchased a HP ML115 G5, was going to run ESXi again until I have found it the onboard RAID card does not work with VMWare – come on guys sort it out. So Win2k8 Ent with Hyper-V.

Next steps…

wow this list is long –

a) MOSS 2007 with SQL 2008.

b) Exchange 2010.

c) ISA 2006 but think I will change to TMG 2010 now….

d) Openfiler or FreeNas – any ideas.

Now here is the funny thing, my Windows Home Server (great little product, well done Microsoft on this but sort out the ISCSI target…) is on VMWare are running out of space, so I need to move this over to the hyper-v server with more disks – how, when – 2TB of data just took 36hrs to copy on 1Gbps network thanks to VMWare throttling back on the console…..

Now for the VMDK conversion – fingers crossed people…………………