Hyper-V

Deploying Server Core 2008 R2 for Hyper-V: Network Naming

Currently, I am heavily involved in a project to deploy a new infrastructure project for a new branch office. In this office we are deploying a network in a box (pod) style configuration consisting of networking, storage array, fibre channel switching and last but not least, a pair of servers to operate a Hyper-V Cluster running on Windows Server 2008 R2 Server Core.

In this series of posts, I will share some of the things I have found, learnt and discovered on my journey to deploying the Server Core Hyper-V Cluster. This first post focuses on networking as this is the first thing that needs to be configured on the hosts before you can progress into anything else, and also is the most fundamental operational component of the Hyper-V role.

Luckily for us, Server Core still has Notepad which makes working with some of these commands much easier.

For things, first, run ipconfig /All > C:Adapters.txt to pipe a list of all of the adapters Windows can see to a text file along with their current configuration. The most important element here are the names. By default, all of the adapters are named Local Area Connection with a trailing number. For identification purposes, I wanted a naming convention for them all so in the event of a cable or port failure we could easily identify which port was at fault.This will also make identifying the adapters for the purpose of setting up the teams easier.

Open the text file with the command Notepad.exe C:Adapters.txt and identify which adapters in the text file map to the physical adapters on your server. The easiest way to connect all of the adapters to a physical network and then one by one, disconnect an adapter, re-run the piped ipconfig command and see which adapter has changed its link state.

Once you have identified an adapter, use the following command to name it:

netsh interface set interface name=”Local Area Connection” newname=”SL1-P1-MAN1”

My naming convention consists of SL1, which identifies which PCI slot the port is based on, P1 which identifies the port within that slot and finally MAN1 which tells me that it will be the first port in the Management team once configured.

Repeat these steps until all of your networks are named then sit back and be safe in the knowledge that if a problem occurs with one of your ports once your server is in the wild, you will be able to easily guide your on-site technician to the correct port.

VirtualBox Adds Direct3D and OpenGL – Hyper-V and VMware Please Follow

VirtualBox looks to be the first on the top of the virtualization pile with this one:

http://lifehacker.com/5295334/virtualbox-30-beta-adds-gaming+level-graphics

VirtualBox 3.0 Beta 1 has added Direct3D and OpenGL 2.0 support to their virtualization product, which means that those Windows Vista and Windows 7 virtual machines will finally be able to enjoy the Windows Aero UI that they so deserve.

For me, I think this could be a real driver for VDI (Virtual Desktop Infrastructure) as I think that main hold-back up until now has been the visual appearance of VDI (or rather the lack of).

I was rather hoping Microsoft could have managed Direct3D in Server 2008 R2 Hyper-V or Hyper-V Server R2 but obviously not as they use a graphics card much in common with VMware’s offering.

Hopefully this advance from VirtualBox will move them both along because we all know once one jumps the other will follow.

Hyper-V Loves Windows 7 Release Candidate

So today I built a Windows 7 Build 71000 (RC) Hyper-V virtual machine for a lab environment at work.

Once the install finished, I was surprised to see that the NIC in the VM was already up and had stolen an IP address from DHCP (I wanted to make it static, but never mind).

The reason I was surprised was that in Server 2008 (R1) and Windows Vista the NIC doesn’t appear – You need to install the Host Integration Services (Microsoft’s version of VMWare Tools) to make the drivers get in there.

I went into the Services Manager to check that I hadn’t already installed it and somehow had a brain fit, but the services where listed. I checked the Event Logs for Windows Installer messages thinking I surely could not have forgotten that already and sure all hell, there was nothing.

So there you have it….Windows 7 RC includes the files for the Hyper-V Host Integration Services and Windows 7 RC loves to be virtualized.

Mix ’08 and My Thoughts

Late last night, I watched some interesting content from the Mix ’08 show from Microsoft. I took the time to watch the two keynote presentations, firstly introducing Microsoft’s new web technologies and the second being an interview with Steve Ballmer.

Whilst I am not a developer, there are some things which do realy excite me when it comes down to web development and the new functionality which people are driving through sites like social networking and the demand for richer, faster and more integrated web experiences, and for me, a lot of the things that came up in the Mix ’08 keynotes did it for me.

Read more…