Hyper-V Server R2 RC in-place upgrade from previous beta builds (whilst running your production workloads… ;-)

As part of my work with Microsoft Gold Partner ‘The Full Circle’ (http://www.thefullcircle.com) we are constantly running pre-release software and systems, but in a production enviornment (often scary, sometimes unstable, but always a learning process! – in a good way! ;-) .  Our virtualised Small Business Server 2008 server is no exception and since the beginning of 2009 has been running under Microsoft’s Hyper-V – first under Windows Server 2008 Server Core, and this last few months under Hyper-V Server and recently Hyper-V Server R2 RC.

Our first Hyper-V R2 beta build was 7000 – the same as the public beta of Windows 7 (Windows 7 and Windows Server 2008 R2 share the same code-base).  However, earlier this week I was at our colo facility adding a new Hyper-V Server to our Hyper-V cluster and had forgotten the DVD media (doh!), anyway the benefits of a 100Mbps Internet handoff meant this issue was quickly rectified with a swift 1.23GB download (took almost as long to burn the ISO to DVD ;-) .

When building the box I quickly noticed a couple of differences, namely..
A 100Mb system reserved partition (back down from 200Mb previously)
A few subtle UI tweaks (grey background, Windows logo animation, R2 prominense, etc.)

..closer inspection once built revealed some different menu options in the HVconfig (dos style configuration menu) around remote management such as PowerShell (R2 of Hyper-V Server, like server core supports .Net Framework and therefore another level of management and application support).  The biggest tell of course, is in the bottom right hand side of the screen – it no longer says ‘Windows 7 Standard.  For testing purposes only. Build 7000′ but Windows Server 2008 R2 Standard.  Evaluation copy. Build 7100′

Having these new capabilities was great, however it also gave me another job to do – upgrade the existing primary server from build 7000 to 7100.  Yep the one that is running our production SBS 2008 server, as in all of our Email, SharePoint, work, personal, you name it, its on this VM.

1st challenge – you can’t mount an ISO (unless you have an ILO or DRAC/BMC card) so you need to put the disk in the server

2nd challenge – don’t restart and boot from the DVD to perform the upgrade, remember its an in-place upgrade

 

I still rely on JHoward’s great bit of code – HVRemote (run cscript //h:script 1st), although note if you are managing your enviornment with System Center Virtual Machine Manager (SCVMM) then you’ll get a message advising the tool is Quitting

saved states are not compatible (just like the early Hyper-V beta back in March-April 2008

 

license agreement

compatibility report

copying files

HP publish a case study of the NMB EBS deployment using the C3000 ’shorty’

A couple of weeks ago HP published a great looking case study that The Full Circle (www.thefullcircle.com) and our customer, Newman Martin and Buchan (www.nmbinsurance.com), have been working with HP to produce for this last few months.

If you’re interested the link to the PDF version is http://h20195.www2.hp.com/v2/GetPDF.aspx/4AA2-6324ENW.pdf

We will also be doing something in a little more search friendly HTML! ;-)

Windows 7 Media Center with XBOX 360 extender – extender broken by XBOX live update…?

A funny thing happened to our primary media center extender yesterday…

Hyper-V Server R2 with WS2008 R2 iSCSI SAN PoC

today (and this week) I’ll mostly be building a Microsoft Hyper-V Server R2 (Beta) with Windows Server 2008 R2 (Beta/RC build 7100) iSCSI SAN Proof of Concept enviornment..

Hardware platform:

PoC – Virtual Machine Hosts (x2)
HP ProLiant ML110 G5 Xeon 3065 2.33/1333 Dual-Core, 1×1GB, 250GB Non Hot-Plug SATA, DVD±RW, Gigabit Ethernet
4 x 2GB Unbuffered ECC PC2 6400 DDR2 SDRAM
1 x HP NC360T PCI Express Dual Port Gigabit Server Adapter
 
PoC – SAN Shared Storage (iSCSI, Desktop SATA)
HP ProLiant ML110 G5 Xeon 3065 2.33/1333 Dual-Core, 1×1GB, 250GB Non Hot-Plug SATA, DVD±RW, Gigabit Ethernet
4 x 1GB Unbuffered ECC PC2 6400 DDR2 SDRAM
 
2 x HP 250GB Hard Drive
2 x Seagate ST3100340AS 1TB Hard Drive SATAII 7200rpm *32MB Cache* (OEM)
1 x HP NC360T PCI Express Dual Port Gigabit Server Adapter

Heavy snow in London, bad for travel but great for snowmen… and SEO rankings?!?!

Heavy snow causes travel chaos in London and most of the South East today but it was a great day for snowmen!

It’s been a couple of years since we had snow in London, but at the time of the last wee flurry in January 2007 I took a snap from our bedroom window and emailed it to the BBC Winterwatch weather site.  The photo was posted under the www.bbc.co.uk’s main site and as a side benefit resulted in number one spot on Google for the search ‘reuben cook’ for quite some months (how SEO works… the IT consulting business I founded, The Full Circle (www.thefullcircle.com) later spent thousands trying to achieve similar results :S )

Anyway, this isn’t a technology post other than the slight SEO reference that may raise a wry smile from those who know our SEO shenanigans, it’s about the weather!

From our bedroom window this morning! Reuben Cook

From our bedroom window this morning! Reuben Cook (24-Jan-2007)

This morning after deciding against driving half way down the M3 to Basingstoke and to ‘let the VPN take the strain’ I then had time to replicate the shot from a couple of years ago…

From our bedroom window this morning! Reuben Cook (02-Feb-2009)

…definately a drop more more this time!  (we measured 6″/15cm on the flat, and lots more in drifts).

BBC News 24 - TRAVEL CHAOS

The news from the BBC... stay at home!

Windows 7 Build 7000 upgrade of Vista Media Center

Today, I finally upgraded our trusty homebrew Vista Media Center (VMC) system to the Windows 7 public beta (Build 7000) in the thought that by now it should be pretty solid and the obvious issues resolved…

The new Windows 7 media center UI is great!, although in the guide the dynamic column for the channels can mean that you end up with less guide content on right hand pane than in the previous VMC…. it is very early days though, and looking great thus far! :-)

The dual-tuner issue currently doing the rounds on TGB (see http://thegreenbutton.com/forums/thread/326470.aspx) is a real pain, and will prevent me from testing this build on my primary media center which is a shame for us all – me to wow guests, wife, etc. with what’s new coming down the line, and Microsoft for the feedback. I’m a diligent tester and on the WHS PP2 connect beta (as in feedback), was on the EBS TAP last year (inc. Redmond airlift), and have a good media center environment for testing (WHS plus XBox360 & Linksys extenders used as primary devices, both wired & wireless).
I also evangelize media center and have built several systems for friends & family using VMC, but built like a good custom installer/OEM with years of experience in corporate deployment (not just thrown on like your average Dell build! ;-) )

Good job I took a WIM (imagex) image of the VMC build before deploying Windows 7 and copied it to an archive just in case the USB drive fails… might need it before the weekend is out! :-(

Interestingly the cleaned images before and after upgrade are very similar in size...

 

 

 

 

As I was updating this post my wife came down from out bedroom (Linksys DMA2100 extender) cursing as the bloody TV isn’t working again (again..?!?! come on that isn’t fair!), we eventually ascertain it is defiantly not as stable as before… looks aren’t everything I tell myself hmmm…. a hasty retreat me thinks! (maybe a clean build, rather than upgrade is needed..? I’d better get my coat!).

 

This is a double shame, and an embarrassing one at that! Only earlier I’d rather prematurely and enthusiastically Emailed a couple of friends who I foolishly thought would benefit from Win7MC… I can’t think of the beating they would give me for blaming me as their wives & children left them for turning their perfectly working VMC digital home into a digital junk yard! ;-) okay okay! I know it’s Beta software! (I should know better!).

Subject: Upgrade to your Media Center… Windows 7 Media Center beta… Windows 7 Media Center Revealed | We Got Served

 

http://www.wegotserved.co.uk/2008/10/28/windows-7-media-center-revealed/

 

When we spoke today and I mentioned distractions… rather than doing much needed accounts & finance stuff I was about to take an image of our media center pre install of the first public beta of Windows 7. Windows 7 is the next big thing to be released from Microsoft in time for next Christmas, or maybe earlier…

 

I upgraded our Vista Media Center (very similar build to yours) this afternoon so all programs, settings, content, etc. remained intact and it works a dream thus far (only been running about 3hrs… ;-)

 

Lots of nice new, cool features, including one you may be interested in… native support for H.264 / HiDef TV broadcast (no cards yet mind), and Blu-Ray! :-) Oh and it’s noticeably faster than Vista as it has less demands on the system – does more on less hardware, maybe even as quick as XP ;-)

 

Btw, this beta lasts until end of August 2009, and in the coming months there will be more which will last beyond this (unless of course they release the final code).

 

So if either of you are interested (suggest an image 1st) let me know and we can sort it.

 

If you are brave, you can download from here http://www.microsoft.com/windows/windows-7/beta-download.aspx and do it yourself, if not so brave just watch the videos… http://www.microsoft.com/windows/windows-7/beta-videos.aspx


NightNight!

SBS2008 upgrade/replacement from SBS2003

Same name, same domain, not migration mode, but a self styled replacement mode…

 Hyper-V Server (i.e. call it core) build of SBS2008 Standard…

fun with..

[PS] D:\>Add-MailboxPermission -Identity Username Admin-Username -AccessRights FullAccess

Dir “”D:\Server Migration\Mailboxes\*.pst” | Import-Mailbox

[PS] D:\>Import-Mailbox -Identity ReubenC -PSTFolderPath “D:\Server Migration\Mailboxes\ReubenC.pst” -ExcludeFolders “\Junk E-Mail”

 

Import-Mailbox : Error was found for Reuben Cook (ReubenC@thefullcircle.com) because: Error occurred in the step: Approving object. An unknown error has occur
red., error code: -2147219968
At line:1 char:15
+ Import-Mailbox <<<< -Identity ReubenC -PSTFolderPath “D:\Server Migration\Mailboxes\ReubenC.pst”

corruption in the exported PST..

Fun with Migrating Companyweb Website (WSS 2.0) from SBS 2003 to SBS 2008 (WSS 3.0)
great article at http://blogs.technet.com/asksbs/archive/2008/12/09/migrating-companyweb-website-wss-2-0-from-sbs-2003-to-sbs-2008-wss-3-0.aspx

also, other resources found…

Migrating to Windows Small Business Server 2008 from Windows Small Business Server 2003 – Microsoft Whitepaper @ http://www.microsoft.com/downloads/details.aspx?FamilyID=52b7ea63-78af-4a96-811e-284f5c1de13b&displaylang=en

Run the pre-upgrade scan tool (Windows SharePoint Services)  – http://technet.microsoft.com/en-us/library/cc287628.aspx

Microsoft 123 page guide to Upgrading to Windows SharePoint Services 3.0 technology – http://go.microsoft.com/fwlink/?LinkID=85554

Training – Design, Implement, and Migrate a Virtual Environment using Microsoft Hyper-V

Training – 44CO100/5495 Design, Implement, and Migrate a Virtual Environment using Windows Server Hyper-V and System Center – VMware Experts

 

Instructor – Paul Gregory [paul.gregory@qa-iq.com)

Paul is a seasoned IT practitioner with 20+ years of industry experience going back to DOS, Novell, and most Windows technologies in-between, before becoming a full time instructor he has worked in various architecture roles for large end users and consulting organisations.

 

Exams & Certification

070-652 – TS: Windows Server Virtualisation, Configuring (Hyper-V, with a bit of VMM)

070-403 – VMM

 

2nd shot exam promotion – Register 2nd shot before you take the test! (can’t be used after! bugger! Passed two exams in the last two weeks L)

 

Virtualisation specialisation for Gold partners will be available

 

Audience

Mostly Solution Architects from major consulting shops such as BT with years of experience going back to DOS, a lot of VMware architects

 

Virtual Machine Environment

WS2008 EE x64 with Hyper-V as host

Windows Unified Storage Server 2003 Enterprise x64 as iSCSI Target (WUDSS) J

WS2008 SCVMM 2008 as Deployment Server

WS2008 Domain Controller

 

References & guides

SCVMM Scripting Guide

SCVMM Offline Servicing

DynamicOps

 

Further training

TechNet Presents: MCS Talks Enterprise Architecture Session 10 – Virtualisation

View the New Virtual Machine Manager 2008 Silverlight Demo

20 November 2008, Virtualisation: Get the Facts – FREE Online Conference

Downloads

Download the System Center Virtual Machine Manager 2008 RTM

Microsoft Assessment and Planning (MAP) Toolkit 3.2 (RTM Version)

 

Choice facts & quotes

 

“In April-May 2008, Microsoft migrated the entire TechNet services (web-sites, and back-end!) to Hyper-V”

 

“John Lewis – consolidated their credit card handling systems to virtualisation (ESX), on to fewer servers and reduced their physical security costs considerably, whilst running their most critical systems in a virtualised environment – Virtualisation is ready for production!”

 

“Microsoft Virtualisation stack is built around ‘Good enough’ design concepts” (doubt they’ll admit that one though! ;-) )

 

Microsoft V-Infrastructure

- WS2008 with Hyper-V

- Hyper-V Server

- Virtual Server 2005 R2 SP1 …is now on performance par with similarly architected competitive products from VMware

- VirtualPC 2007 SP1 … “”

- Application Virtualisation (App-V formerly SoftGrid)

- Microsoft Assessment and Planning Toolkit with Hyper-V support (should be our default audit tool!)

 

Performance and Resource Optimisation (PRO) – deep application level performance monitoring using OpsMgr & SCVMM to dynamically change the environment to deal with the issues found, e.g. bringing up a new virtualised machine to handle more workload – impressive stuff when it works!

 

Licensing

Per WS2008 box you can run 4 more WS2008 VM’s, with Data Center this is unlimited!

Hyper-V Server – free, but you must have licenses for your guest/child OS’s

 

Planning

Generic performance data to collect & tasks

- CPU, %processor time

- Memory, Committed Bytes

- Disk, Space & Performance

- Network, Bytes/sec, bandwidth

- Backup, required?

- Availability, determine method

- Coexistence and isolation, workload segregation

Differences between Hyper-V vs. VMware (ESX, Vi3)

Architectural

Driver model of Hyper-V allows much more flexibility vs. ESX allowing you to use almost any Windows supported hardware..

With ESX you don’t have that choice, however just because with Hyper-V you can buy a NIC for £5 doesn’t mean you should use it in your production systems!

 

Performance

Comparisons between Hyper-V & VMware is looking like about at 10% hit compared to ESX.. official numbers early 2009

 

Storage

Hyper-V supports Multi-Path IO (MPIO) due to the feature support in WS2008, allowing multiple HBA’s or NIC’s in a iSCSI setup

SAN design documents from Microsoft end in “speak to your storage vendor!” but are a good place to start

 

CPU hardware

Virtualisation optimised processors effectively provide another level of privileged execution for the Hypervisor in Ring -1

 

Networking

8 x synthetic devices are available and are much more efficient (thin adapters), although require integration services to be installed, so without this 4 x legacy/emulated network cards can also be presented to a VM

 

Hardware support

VMware supports USB & Parallel, Hyper-V does not although Microsoft encourages USB over IP

 

Tip – resources needed for the parent partition? – account on 5%, numbers for server-core/Hyper-V server are not published, but obviously should be less!

 

Interoperability

VHD (Virtual Hard Disk), VHD spec is freely available under the Open Specification Promise (OSP), now used across many products, can also be bootable!

Linux support is very good as considerable code use of from XenSource

Working with Novell – interoperability and joint support for Windows Server & Novell SUSE Linux Enterprise Server 10

(ganging up on the market leader!)

 

Hyper-V Networking

Can run on 1 NIC, recommended 2 or more (1 for management, 1 or more for VM networking)

iSCSI requires a dedicated NIC

To specify the management NIC, simply do not select it when creating the virtual networks as part of setup

..for server core or Hyper-V server the same applies, just don’t select the designated driver… ;-)

 

 

Tip – VM guest setup, if when moving the mouse from the host into a windowed guest and the mouse cursor turns to a dot then the integration services are not installed.

 

Tip – Hyper-V only supports a single session for guest control, if more are needed then use remote desktop

 

Tip – turn time synchronisation off in an Active Directory environment, the only one synchronising time should be the DC running the PDC emulator role.

 

Snapshots

Snapshots simply work by marking the running VHD read only, then creating a AVHD to write changes to, this is why it is so quick in Hyper-V compared to VMware. Snapshots honour the original VHD sizing so a fixed virtual disk will not end up being bigger than it should do, and compromising the physical disk.

 

Tip – snapshots to maintain multiple build threads, e.g. developer may have

 

RTM

|

— SP1 (snapshot)

|

— SP2 (snapshot)

|

— SP3 (snapshot)

 

Saving

Fast state-save and shutdown, akin to Hibernation, but not!

Microsoft advise is bad practise to save the state of DC’s, although no real technical reason other than the older than 60-days tomb-stoning issue (same as restoring a tape over 60-days old from tape… don’t!)

 

 

3. SCVMM 2008 Architecture, Implementation, Library, and VMware Vi3 Management

 

 

Tip – whilst VMM can managed Hyper-V & Virtual Server hosts that are not in a domain, or in a DMZ, VMM must be installed in a working AD (if virtualising can put on a DC)

 

Tip – USB storage devices and the VMM service do not get on, will result in unexpected behaviours and errors! (wtf!?!?!)

 

Tip – VMM Library refresh is once an hr by default, you can change this but not reduce – use refresh instead

PowerShell treats all data stores as drives, including enviornment variables, and the registry!.

4. SCVMM 2008 VI3 Template, and Windows Powershell

Template configuration, settings & profiles, is stored in the SQL 2005 dB, VHD’s stored in the library.

Windows PowerShell is the engine to allow automated, scripted (repeatable and consistent), management using VMM – obviously the GUI is the front-end! Anything that can be done through the GUI can also be scripted with PowerShell!

PowerShell is formatted in a verb, noun structure – what you are going to do, and what you want to manipulate e.g. to start a service is:

start-service nnnnnn

get-help will return all PowerShell commands with product specific extensions (if installed, e.g. Exchange, VMM, etc.).

get-help start-service will return the help for the start-service command.

to view the drives use:

get-psdrive

Tip – by default PS does not allow you to run scripts, this is controlled through an execution policy, use get-help set-executionpolicy to see the options

Tip – you cannot use PS on Server Core or Hyper-V server as it requires .Net to run, however you can use PS on another system to remotely manage a system inc. Server Core

5. Access Control, Self Service Portal, and Performance Resource Optimisation

Hyper-V Access
by default Hyper-V only allows members of the Administrators group to create and control virtual machines.

However, you can use Authorization Manager (azman.msc) to manipulate the InitialStore.xml to delegate Administrative Responsibilities (to non admins). You can, of course, use VMM to do this too!

Self-Service Portal
Allows self-service provisioning of machines through a Web-UI, can create groups of users with defined quotas to manage resource allocation, plus lots more!

Tip – the owner of a VM is very important, it defines who can see what machines through the Self-Service Portal – full AD integration, e.g. groups are supported.

Tip – For self created machines you are the owner, however if you specify the group name in user role properties then this will be the group.

Tip – if using VMM, just because you are an Administrator does not give you access to the Self-Serice portal web UI, you need to specifically add accounts to the Self-Service role

Performance Resource Optimisation (PRO)
PRO provides workload and application aware resource optimisation, it can be used to manually or automatically implement corrective actions such as the deployment of a new VM when existing loading suggests is advisable.

6. Failover Cluster, Quick Migration, Backup, and Recovery with Hyper-V and SCVMM

Uses the in-built clustering capability within WS2008, e.g. Enterprise or Data Center editions only -

Windows Cluster environment uses a shared storage model, e.g. use of iSCSI or FC SAN LUNs, however there is a 1 to 1 relationship between VM’s and LUNs – if you have multiple VM’s on 1 LUN, you have to migrate all VM’s if migrating a LUN.

3rd party tools existing such as SANBolic KAYO FS (c.$299), and MELIO FS to enable shared application access to the same data if supported (e.g. not Exchange with local storage) and mitigate this limitation.

Tip – iSCSI Initiator is supported in Server Core, use the iSCSICLI tool to configure.

Tip – if using HBA’s then all adaptors have to be identical down to firmware level (to be supported by Microsoft Clustering)

Tip – In production use a minimum of dual NICs for Clustering, but ideally 3 NICs (1 for public/user access, 1 for private/intra-server, 1 for storage)

Tip – when setting up Virtual Network switches, ensure identical naming, down to case level – failover is case-sensitive!

Tip – you don’t need to use the HCL to build clusters anymore, if it passes the Cluster Validation Wizard then it is supported, if it doesn’t it isn’t, simple!

7. V2V and P2V Troubleshooting

Training – Microsoft SMSE Train the Trainer Bootcamp

Today and the following two days I’m training again! (a recent raft of great MS partner subsidized training, that in the absence of any current major projects, are just too good to pass by – next week Hyper-V deep dive ;-) ).

This time I’m with another close TFC associate, Tony Askew. Tony is a Windows Infrastructure Architect I’ve known for getting on 13yrs since working together on a large document management project when he was working with Lewisham Council and me with EDS.

Anyway, the training!

it’s all about IO… (www.microsoft.com/io)

Tony looking bemused and confused (before the course, of course! ;-) patrick from HP with his mate, Guinness

 

 

 

 

 

 

 

 

 

 

Data Center Management Solutions
Config Management – SCCM providing automated provisioning (OSD) and updating (patching) of both physical and virtual environments
End-to-End Monitoring – SCOM Enabling of service level monitoring, not just ’server level’ monitoring, and service levels against those too!
Server Compliance – SCOM and ACS providing centralised security auditing with controls and reporting
Data Protection and Recovery – DPM providing Business Continuity through Virtualization Management, Backup and Recovery of Physical and Virtual resources, Disaster Recovery including SRT

Systems Management Suite Enterprise (SCOM 2007 EE, SCCM 2007, SCDPM 2007 EE, SCVMM 2008) – all for about $1400 – bargain!
- Provides the rights to manage an unlimited (okay 192) number of VM’s
- would be $753+$750+$753+$1512 ($3768) for the suite if purchased seperately
- additionally this is only 20-30% of any of the comparative Enterprise Management suites from the likes of CA, BMC, etc.

“If you’re going to manage the enterprise you have to support cross-platform”

System Center Service Manager – beta available now on Connect (https://connect.microsoft.com/site/sitehome.aspx?SiteID=446)

SCOM 2007
End-to-End Service Monitoring – proactive management of IT services
Best of Breed for Windows – the product teams are behind the management packs, TechNet knowledge built in, expertise for over 50 Microsoft applications, servers, and clients
Increased Efficiency and Control – reduce the complexity of managing the IT environment

Tip – Install Management Packs individually, starting with the OS, monitor the alerts, address the configuration issues using overrides where necessary, then add higher level packs, again leave the environment to accumulate good sample data before revisiting and correcting further configuration issues or tuning out as appropriate.

Management Packs – www.microsoft.com/opsmgr (vanity link! ;-) , or direct to http://technet.microsoft.com/en-us/opsmgr/cc539535.aspx

Tip – with any new deployment create an ‘Active Alerts Closed’ view to capture alerts that have changed state and would not be captured in the Active Alerts view (with specifc resolution state = closed)

Tip – best OpsMgr (SCOM) blog on the net… http://blogs.msdn.com/boris_yanushpolsky/

DPM 2007
Reporting – rocks! :-)
Express Full Backups – effecient over the wire backup as just backing up the changes once a full replica has been created

DPM Planning and Deployment Guide – http://technet.microsoft.com/en-gb/library/cc161369.aspx
DPM Health Model (alert list, etc.) – http://technet.microsoft.com/en-us/dpm/dd218051.aspx

Tip – Add a SCOM Management Pack for DPM, but also add the hardware/platform vendor MP in additon to the OS MP as this will report on lower level errors for completeness
Tip – add the DPM Capaicity Planner tool
Tip – using System Recovery Tool to restore to non-similar hardware, the how to move a Windows installation to different hardware KB may come in handy… http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q249694

VMM 2008 – A centralized, heterogeneous management solution for the virtual datacenter
Unified Management – cross platform virtualization management for VS, Hyper-V, and VMware VI3
Integrated Conversion Tools – P2V, V2V,
Unlimited Virtualization with Data Center – just license the procs, unlimitedVM’s, 1/3rd cost of VMware

Tip – MS Hyper-V disks; for performance use in order of preference pass-through, then fixed, then differencing (will end up the same size anyway), dynamically expanding (huge overhead, 3 writes per write, only for use in test/dev, training, etc.)

Happy with this training course?

Overall Satisfaction
having attended scores of professional IT training since 1991, this course stands out amongst the best I’ve attended, the quality of the content & materials, the actual products themselves, but above all the outstanding quality of the instructors – hats off to Gordon & Justin from Inframon

Hyper-V remote management… beware changing passwords!

I’ve been struggling this last few weeks with a troublesome Hyper-V remote management issue I’d caused myself in the pursuit of testing new toys & tools, the latest being Hyper-V Server.
Hyper-V Server is a truely marvelous bundle of goodness if there every was, however a word of warning/reminder (we should know better!) when testing changes.. only change one variable at once!

I’d been running a WS2008 server core install for various Hyper-V testing since being involved in the UK Hyper-V RDP earlier in the year.  Anyway as time went on it proved to be rock solid, indeed so stable and with great performance that on a return from Redmond with an insanely cheap (company store & 2$ to the pound!) copy of Windows Home Server (WHS), I  built my first WHS system as a virtualized box on there too.

Windows Home Server (WHS) is a brilliant!, it provides great backup, remote access, and of course centralised content storing.  WHS allowed me to consolidate all of our Vista Media Center content; Video, Music, Recorded TV (beware that one!), entire family life photo library, you know the usual unimportant treacle of life type stuff that you can never replace without the aid of time travel…

Anyway, trying not too ramble (see title, you were warned! ;-)

When the VM host was a server core deployment I was managing it without too much fuss (okay quite a bit initially, but nothing some great posts by John Howard couldn’t fix, see his masters works at http://blogs.technet.com/jhoward), from a WS2008 laptop… I then rebuilt the server with Hyper-V Server (same name, same IP, ran the usual open her up for remote management scripts) but all I could get was… ‘You do not have permission….’  even though same network setup, same creds, same name.. (different SID & GUID’s of course..).

Oh and ended up writing a pagefile to the ‘offline’ passthrough disks, you know the ones with the unimportant data on….

I struggled with this on and off for a couple of weeks causing great annoyance to my nearly 6 year old, and my now nearly ex-partner whilst quietly sh..ting myself that I just might have lost all of our content inc. entire family life album, if so hopefully death (mine) would be swift…

Only today in another couple of hours of panic and desperation, did I realise that whilst I said ’same creds’ what I meant was is that during the time of rebuilding my VM host from a server core to a hyper-v server deployment I decided it was time to strengthen the Administrator account password from one I’ve used for some time (we never worried too much about the Administrator as until WS2008 we have always disabled the Administrator account, but now not so simple for WS2008 :-( but that’s another post! ;-) .  Of course, I also changed the password of the WS2008 laptop connecting to the Hyper-V server (both workgroup).

I knew the laptop could connect as configured, as it was working with the previous server core deployment.  Even before using John Howard’s most excellent HVremote tool available at http://code.msdn.microsoft.com/HVRemote I was pretty confident I’d opened everything up as needed on the Hyper-V server (I’d written up and blogged the server core commands inc. Hyper-V back in March/April when involved in the UK Hyper-V RDP – http://reubenjcook.wordpress.com/2008/04/21/windows-server-2008-server-core-setup-scripts-common-commands/).

This morning after much banging of the keyboard, and my head! (we celebrated hard after passing the SCOM & SCCM exams this week :-)), it came to me in a semi-hungover blur… try the old password Luke… I changed both sides and instantly it worked!

I then almost cried with relief as getting this working meant I could start reinstating the virtualised home server with dual passthrough disks containing all of our content, or not and quickly pack my bags and follow my good friend and associate Ashley back to Qatar (he fly back this morning after the SCOM & SCCM training).

Thankfuly, my bacon was saved, and our Indiana Jones obsessed son has had back-to-back Indy all afternoon (wonder why this post is so long?… ;-) )

 

 

btw, I’ve since tested by changing the password again, and it immediately breaks Hyper-V management, change it back and voila, straight away you’re back connected.  It would appear the creds are cached for Hyper-V remote managment, will do more testing, but not tonight…

 

 

..now to work on my Hyper-V guest VM being a DHCP server issue (yep 2nd NIC for mgmt), although I think that might be another blogpost! ;-)

 

Next Page »