Microsoft Tech.Days 2012: Windows Server 2012 – Virtualising Servers IT Camp

image

Today we are at Microsoft UK offices in London Victoria for technical readiness / education event as part of the long running Microsoft UK Tech.Days aimed at IT Pros, which we’ve been attending and blogging about since they started in 2010.

The event is an introduction / update of Windows Server 2012 (virtualisation) which went General Availability (GA) earlier in the week on Tuesday, and was Released To Manufacturing (RTM) on August 1st.
Whilst just released, traction for Windows Server 2012 has been building up since early 2012 through the Technology Adoption Program (TAP) which we were accepted for..

The format of the day (an IT Camp) has a twist as it’s a heavily hands-on learning event where you Bring Your Own Device / BYOD capable of running Hyper-V (or capable of dual booting from a USB key into WS2012) to participate in a hands-on lab session.

Bringing your own machine (ideally a laptop as opposed to a rack server Winking smile) meant a heavy bag for me with two laptops, one freshly built with the released/RTM code just this week – a ThinkPad T61p with Windows Server 2012 Standard see Windows Server 2012 laptop installation.. (on ThinkPad) – Part 1

The brief on the day given by Microsoft was:

Synopsis (from the Tech.Days site)

"These hands-on sessions will give you an introduction to Windows Server 2012 and ample opportunity to discuss any specific issues and concerns you may have with Microsoft experts Simon May and Andrew Fryer as well as professional peers working near you.

The agenda will be set by you, but here are some topics that are likely to be covered:

  • What’s new in Windows Server 2012
  • How to create Virtual Machines
  • High availability with clustering

WP_001583
Simon May and Andrew Fryer delivering the session (& BYOD laptops..)

 

Cool stuff – Lots of it!

Indeed too much for a post, and too much for a single day session so the UK IT Camp team kindly has put a deck on SkyDrive @ http://sdrv.ms/ORM1WO

Here are a few items we picked up, and hopefully some ‘gold’ Smile

  • Server Manager – improved single pane of glass for managing servers local and remote, create groups of servers and perform some tasks simultaneously on multiple servers
  • Multi-server remote management enabled by default (great for 10’s or 100’s but maybe not 1000’s)
  • Red lighting within server manager for situation bad, but hopefully not FUBAR!
  • Remote Server Administration Tools (RSAT) already on Win8, with Windows 7 (& Vista?) coming soon..
  • Lots of new Virtualisation features and capabilities:
    • New VHD format .vhdx lifts size limit from 2TB to 64TB (but some Gotcha’s – read-on!)
    • New type of NIC – Virtual Fibre channel SAN allows connecting directly to FC storage from a guest
    • VM Live migration without a cluster / shared storage!
    • Can start a VM with more starting RAM than the minimum set in Dynamic memory settings and the VM will release the difference after start up has completed, saving memory usage.
    • 64 Cores now supported
    • 64 Nodes now supported in a cluster (up from 16) – scalability has gone through the roof!
      (1000 VM’s per cluster)
    • You can set the number of Live Migrations allowed at a time up to 64 at a time
      (but you better have a very fast SAN to support several simultaneous live migrations)
    • Virtual GPU by using CPU – no GPU needed. Useful for VDI scenarios, and helps the challenge of how do I fit this expensive, large, hot & hungry high-end gaming graphics card in my 1u server..
    • SR-IOV – talking directly to the switch, all major vendors are signed up to supporting it
    • DHCP Guard stops rogue DHCP, Router guard protects against rogue routers – we’ve accidently deployed a DHCP server into a network in the past and then enjoyed the middle of the night support call… NOT!
    • NIC teaming supported by guests (needs to be enabled)
    • Storage Migration – move VHD’s over to other storage on another server
    • Remote management is enabled by default, building a VM in PowerShell can configure the VM too from the same script
    • Domain Controllers are VM snapshot aware (do folks really go around snapshotting DC’s in production? Confused smile), anyway Snapshotting DC’s is now supported and changes in Server 2012 will replicate AD changes when it comes back up..
    • Cluster Aware Updates (CAU) – moving VM’s around nodes during cluster patching.. talks to WSUS, it moves VM’s over to another node and will save LOTS of time!!
    • Hyper-V Replication across the WAN – Set on a machine by machine basis, several options for getting the VHD over the wire. Replicated VM’s can have alternative IP address settings to its source VM.
    • Cluster broker role – manages where to put the replicated VM’s
    • Injecting PowerShell into a guest VM from the host, e.g. when building out new servers to then install roles & features
    • Add Windows features directly into a VHD while it’s turned off (and scripted!)
  • Storage Pools for creating and presenting unified storage from a collection of disparate disks with parity or mirror, also allows Thin Provisioning of storage – save storage costs and never run out of disk again!
  • You can then create volumes and provision shares, all from within Server Manager and can be VHD’s or host Hyper-V
  • Data Deduplication – block level (4K) deduplication of files (a sub-feature of the File and Storage Services, File and iSCSI Services, Data Deduplication feature – FS-Data-Deduplication)
    • Data Deduplication on Storage Pools
    • Backup vendors are working on Backup agents that are de-dupe aware.
    • De-duplicate data more than x number of days old
    • Can backup while de-dupe is running. It will back off or pause if system resources are low
      Caveats – files have to be closed, can’t be in use. Inside VM’s fine, not on where the VM VHD is sitting are sitting
    • Runs as a job on schedule, controlled through PowerShell
  • PowerShell 3.0 – new version of Windows PowerShell, lots of new cmdlets for managing almost every role, feature or capability of the platform, plus other enhancements that makes it easier to write scripts
  • File Shares – different performance and usage profiles available to different usage types
  • SMB v3 greatly improved, 250,000 concurrent connections to a share (up from 75,000)
  • You can put VHD’s on a file share now, no SAN needed
  • A cluster will come up if the domain controllers that are on the cluster are down by caching data from the domain at last successful start-up (mitigates chicken & egg virtualised DC scenario)
  • HA Shared Storage with SMB 3.0 – Making a highly available File Store for a third the cost of a SAN
  • Create a Failover Cluster with just 3 lines of code as opposed to 15 mins (I’d suggest a good half hour and we are very practised!) with Windows Server 2008 R2
  • Cluster Shared Volumes (CSV) can now be used for other services, not just Hyper-V e.g. File Services
  • CSV Caching for huge improvements to iSCSI SAN storage
  • No Quorum configuration needed when creating an even-node cluster
  • DHCP Failover – when the DHCP server goes down another trusted server will respond – DHCP failover capability allows two DHCP servers to lease out addresses from the same scope, to the same subnet. Clustering still another options for DHCP high availability. Hot standby and load balancing also available.
  • Server Core or GUI – you can choose – can add and remove the GUI at will, thus it will flip between a core install and full-fat install.  Start with GUI first then go to core otherwise you’ll have to mount the media to install the GUI components..

Licensing

A big change in that Enterprise is no longer offered leaving just Standard and Datacenter editions, however all features are in both products with the main difference being virtualisation rights..

  • Datacenter licensed based on 2 sockets = 1 licence, unlimited VM’s on that host
  • Standard – about quarter the price, between 4 and 6 servers, also based on 2 sockets = 1 licence

Everything is available on Standard and Datacenter, no RAM caps or CPU caps any more, all OS max

Hyper-V Server 2012 expires some time in 2050

Tips, Tricks & Gotcha’s

  • Differencing Disks and the new VHD format, be aware the target disk can only be spawned from the same format parent (you can convert from .vhd to .vhdx using Edit Disk)
  • Migration – no ‘Rolling Thunder’ approach to cluster upgrades, you need to build a new cluster then migrate your VM’s, however as we know Hyper-V v2 VM’s will import by simply copying in and importing (no need for export process)
  • In-place upgrades supported for non-clustered servers
  • Can’t live migrate between AMD and Intel CPU’s since there are different instruction sets, but can use reduced instruction set / CPU compatibility for migrating from very old processor support (e.g. an NT4 HAL) and this needs restart to change the settings, used for maintaining compatibility when you’re moving VM’s between CPU architectures, i.e. Xeon II to Xeon III
  • Shared nothing migration does not work with differencing disks
  • Systems Centre 2012 needs SP1 before it will support and run on Windows Server 2012

Windows Server 2012 Certification

It’s definitely time to update that MSCE with the new release of Windows Server.  There are 3 core Windows Server exams covering Installing & Configuring, Administering, and Configuring Advanced Windows Server Services, followed by Designing & Implementing plus Implementing an Advanced Server Infrastructure

image

image

From MCSA to MSCE in 3 steps..image

It’s as easy as 1..2..3 (okay, it’s definitely going to be harder than that), but as Andrew pointed out, how many folks are hiring at the moment (no one in the room) so it’s still a tough market out there and along with the new love for PowerShell an updated MSCE won’t do any harm to your job prospects..

more at Microsoft.com > Microsoft Learning > Certification > MCSE: Server Infrastructure and Microsoft Virtual Academy Windows Server 2012 training

And we won some SWAG!

As usual at these events, audience participation is encouraged and correct answers equal prizes along with a thank you for event survey’s, etc.  Today was a good day for swag! – a tech.days branded Mini Mag-Lite, a tool kit, a branded notepad (pen & paper still works! ;-), and a Microsoft Virtual Academy 2GB flash memory plastic card… err with nothing on it!?!  anyway, its SWAG and SWAG is good! Smile

There were many questions during the day, but the ones we got swag for were:

Q. How many simultaneous live migrations can you do with Hyper-V v2 (Windows Server 2008 R2)
A. 1 (obviously you can do many in v3 / Windows Server 2012)

Q. How do you understand how many VM’s you have to migrate to Windows Server 2012?
A. Microsoft Assessment and Planning Toolkit (MAP)
(Audit & Review is a big part of our consulting practise and MAP is a core tool used in various audits)

WP_001596
Today SWAG is brought to you by Torches, Notepads, and Toolkits 

Overall & thank you..

A cracking day and an excellent break from the usual auditorium delivery method, or in previous years in a cinema in Hammersmith (for us at least), so a lot less people than a cinema full so registration went fast – if it is coming to a venue near you (see UK Tech Days Upcoming Events) get in quick!

Special thanks must go to Andrew, Simon, Marcel, and Sarah for putting on an excellent day which really worked to deliver and retain a LOT of great information – if I could go again I would, it was that good!!
Also thanks to Patrick Lownds from HP and also an MVP for Windows Server (Virtual Machine) whom we bump into at various events over the years (since a SMSE train-the-trainer bootcamp in 2008) – Patrick was on hand to help answer questions and contribute on the day.

UK Tech.Days 2011: Delivering IT as a service with the Microsoft private cloud

image

The Full Circle (www.thefullcircle.com) is a Microsoft Partner for both Online Services such as Office 365 (Public Cloud), and Virtualisation using Hyper-V with System Center (Private Cloud).

As part of this commitment we regularly attend Microsoft training and events, and over the course of this week there are a number of ‘Tech Days’ covering various industry hot topics – Cloud, Mobile, Web, Client and Server aimed at two distinct audiences – IT Pro’s and Developers.

Just over a year ago we attended the Virtualisation Summit TechDays event as covered in http://blog.thefullcircle.com/2010/04/12/microsoft-techdays-virtualization-summit-from-the-desktop-to-the-datacenter/
Today’s topic from the Vue Cinema in Fulham, West London (around the corner from the office Smile) is a continuation of last year’s theme – Private Cloud – running your own utility based compute platform using Microsoft technologies,  namely Hyper-V for virtualisation and System Center for management.

This 1-day event will provide you with an understanding of the latest technical updates for your datacentre & infrastructure investments. This event will share more expert knowledge and information than ever – with deep dive sessions on the Windows Server 2008 R2 platform, Hyper-V virtualization capability, and System Center end-to-end service management capabilities.

For more information, please visit: http://uktechdays.cloudapp.net/techdays-live/delivering-it-as-a-service-with-the-microsoft-private-cloud

Transforming your Datacentre

Kevin Sangwell

Virtualisation + Fabric Management + Mature Operations and Service Management + Cloud Principals = Private Cloud

a lot of benefit is based on stove pipes of provisioning teams – racking team handing off to system build, waiting on networks for VLANS, then storage team for LUNs, etc. to give the average time from order to service ready of a new server being c.12 weeks start to end.

In reality do many large IT shops still behave this way?  unfortunately for a lot of enterprise shops the answer is yes, this, is of course, fortunate for us! Smile

Building the foundation: Server Virtualisation and Management

Julius Davies & Clive Watson (Data Centre Technology Specialists)

 

Evangelising Hyper-V, also introduced Hyper-V Server as ‘Enterprise’ but cut-down without GUI, same capabilities… in terms of CPU (64 Cores), Memory (1TB), etc. and the difference being that Enterprise and Data Center have licensing rights to run more VMs… this took me by surprise and at the break discussed with Stuart Leddy, old friend of ‘The Circle’ and Microsoft Core Infrastructure Marketing Lead – Server & Tools Business Group.

Hyper-V R2 Server is akin to Enterprise but cut-back, rather than the original Hyper-V Server which was more like Server Core with Standard constraints (32GB, etc.)…
since R2 – 1TB memory, 64 CPU cores – see:

Q. Are there any limitations to the number of processors and/or cores that Microsoft Hyper-V Server can utilize?

A. Hyper-V Server 2008 R2 supports systems with up to 64 logical processors on the physical machine.

Q. Are there any physical memory limitations to Microsoft Hyper-V Server?

A. Hyper-V Server 2008 R2 supports up to 1 TB of physical memory.

 

Teaming Support provided by NIC vendor

Intel = PROSet, Broadcom = BACS, HP = NCU
Best practise: :install/enable Hyper-V, then install networking utilities…. ???? WTF?  perhaps before configuring networking?  surely you present a Teamed NIC to Hyper-V rather than abstract post event

Hyper-V Networking for Clusters – guide at http://technet.microsoft.com/en-us/library/ff428137(WS.10).aspx

Best practise suggesting 5 separate networks!!  host mgmt, heartbeat, CSV’s, live migration, VM traffic, if iSCSI x2 with MPIO!  (interestingly their demo platform used 3 – Corpnet (External), Live Migration, and Storage

 

How can we better manage?

Clive talked about SCVMM 2008 R2 SP1… but not much SCVMM 2012… a shame!

interesting use of the term ‘evacuate virtual machines to another host’ (implementing a PRO Tip), and ‘rehydrating’ back onto a host once fixed.  Usual demo of Self Service and breaking VM’s – audit trail, etc.

ahha..a little bit about v.Next / 2012 – its all about Fabric Management!

VMM Self-Service Portal 2.0 – bringing business requests and IT service delivery/provisioning together.

 

HP Hyper-V Reference Architecture

Adam Richardson, HP & Neil MacCuish, CSC

Adam dot Richardson @HP.com – a sales guy, but a good sales guy.  Talking about the shape of HP customers and their agility, or rather, in a lot of cases lack of… 1 customer who took 18months to deploy a mail platform – yikes!

Some ‘Hyper-Customers’ – in excess of 100,000 servers installed – Microsoft is one of them.

Hyper-V Cloud Reference

IMG_0691

Virtualisation at the Royal Mail

Customer Profile
The government owned Royal Mail Group (RMG) is responsible for universal mail collection and delivery in the United Kingdom and delivers more than 70 million items every working day.
Business Situation
RMG needed to improve the resilience and flexibility of its IT infrastructure to prepare the company to meet the challenge of a changing market for postal services.
Solution
The company looked to CSC as its IT outsourcing and systems integration partner to virtualise its servers using the Hyper-V feature of Windows Server 2008 R2 Datacenter.

IMG_0692

Summary / Headlines

  • 9 months to platform ready
  • up to 720 Guest VM’s over 2 x HP 16 slot blade enclosures
  • Delivered against plan** (of course, it evolved)

Key Points & Learnings

  • Issues not really technology based – people change are harder
  • ** Build it and they will come! – once the business realises you’re faster they will come to you
  • Keeping it green, Service Integration
  • One team – HP/CSC/Microsoft – go to meetings together, share the issues, share the plan

Managing your infrastructure with System Center

Ellis Paul & Paul Collins

 

Presenting your business case for Private Cloud

Adam Collins, Risual

Cloud, over time will allow a closer alignment between IT and the business by giving back time to focus on more strategic objectives and decision making. Understanding how to position with the business, build a technology roadmap and deliver long term value from your current and future investments is a critical task that can’t be put off any longer. Within this session you will be presented with the necessary tools to support you in taking advantage of Cloud solutions from both an experienced IT consultancy in Risual and a global customer in Paul Smith.

IMG_0699

Very interesting session starting with the driver being ‘ensure predictable IT costs’ with five pillars to support:

Business
Service Delivery
Sustainability (Green IT) –
Contract Management –

Assumed Benefits – Financial, Operational Efficiency, Governance, CSAT, Innovation, Agility, Sustainable IT

Hyper-V and System Center- Competitive Comparisons

Matt McSpirit

You’ll learn more about the different components within the Hyper-V and System Center, but more specifically, how they can provide a greater level of comprehensive management, choice, and advanced automation.

IMG_0701

Matt McSpirit for one of his last UK presentations before jumping to Redmond for a career in Corp. with Andrew Fryer doing his ‘Pap’ impression but with a gagging order this week.. Winking smile

As usual a great presentation from Matt who gave a deep (and broad!) session on why Hyper-V isn’t just a viable alternative to VMware, but a serious contender.  In a lot of cases not just a better value proposition (not difficult) but also more performant (not so easy!), and with independent 3rd party evidence to back up the claims e.g. TS workloads on VMware, Hyper-V R2 SP1, and XenServer (Virtual Reality Check – Phase II version 2.0) and more at http://www.virtualrealitycheck.net (same as http://www.projectvrc.nl)

There was a lot of myth busting around the issue often cited that Hyper-V is fundamentally flawed because it sits on top of Windows – of course there is Hyper-V Server (think Server Core), but what isn’t common knowledge is how many patches there have been for VMware and some pretty high profile issues, and as per Microsoft many require guest or host restarts – its not just Microsoft platforms that require reboots!

And, of course Matt plugged http://virtualboytv.com for great content including video walk-through’s and more e.g. bare-metal to live migration in under an hour!! – I’ve used Matt’s site as a handy reference and basic training tool many times and highly recommend as well worth your time.

 

What next?

For more information on what The Full Circle can do to help you find your way in the clouds, see http://www.thefullcircle.com/whatWeDo/Pages/Cloud.aspx

Hyper-V P2V using Disk2vhd

The ability to convert existing Physical hosts to Virtual machines is often the biggest return on investment benefit to justify the case for virtualisation.  Taking a legacy platform often on older, unsupported hardware and software, and converting it to a virtual machine running with many other machines, but on new, high capacity hardware taking up less space and power is a key driver for virtualisation.

Older systems consuming a relatively high amount of energy and space for what is now very low processing power, can be converted to VM’s hosted on much more powerful hardware for a similar footprint but with much increased agility through the well understood benefits of virtualisation.

A recent project The Full Circle (www.thefullcircle.com) undertook as part of our private cloud practise, was to rationalise several older HP ProLiant DL360 servers (one had a BIOS dated 08/03/2001 – over 10 years old!) each taking 1U of rack space, some with dual power supplies, dual network adaptors, mirrored disks, etc. all generating high heat output (which in turn has high cooling costs).

Online Windows server capture using Sysinternals Disk2vhd utility

If you haven’t got Microsoft’s Virtual Machine Manager suite and you don’t want to spend many hours backing up the source server, creating a blank VM, installing a base O/S and then hoping a restore will work without hours of troubleshooting disparate hardware issues… really?!?!  there is a handy alternative from those clever folks at Sysinternals – disk2vhd.

From Sysinternals “Disk2vhd is a utility that creates VHD (Virtual Hard Disk – Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows’ Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion.”

 

Overall P2V process as easy as 1,2,3…

Of course it’s not as easy as 1,2,3… this process may take from only a couple of hours to a couple of days per server but its a straightforward process with no fundamental ‘gotchas’ – although in-between application licensing, network infrastructure issues, and later VM contention (disable those traditional backup agents!) – this part may prove to be the simplest part of the process, which is:

  1. Capture of source physical host/server
    1. Audit hardware and software build
      (recommend paid tools such as Belarc, but also include built-in such as systeminfo – knowing the local machine Administrator account rather than a domain account could be useful although not mandatory although you do need an admin account)
    2. Full Backup! (whilst no changes planned to source machine a backup maybe useful later)
    3. Clean-up the source machine (old profiles, programs, recovery points, temp files (could use CCleaner or just cleanmgr.exe), and always defrag! – great tip from Khwajakhurram in the comments))
    4. Disk conversion from physical source to Virtual Hard Disk file target (VHD)
  2. Build of Virtual Machine / VM hardware to be a near-as match to the source hardware in terms of major physical resources such as CPU, Memory, Disk, and Network
    1. Attach the created VHD file, note this will be one Disk that may contain multiple partitions (recommend capturing individual volumes to separate VHDs)
  3. Clean-up of new virtual machine hardware and system software
    1. Install the Hyper-V Integration Services (may have pre-reqs..) and restart
    2. remove superfluous hardware devices, drivers, and system software (may require several restarts)
    3. Setup networking (you will have lost the physical adapters)
    4. May wish to change storage properties e.g. converting from a Basic to Dynamic Disk in order to Shrink a volume, etc…
    5. Check the event logs for any errors to determine if serious or can be ignored
    6. Test, test, test!
    7. Activate Windows (the ‘hardware’ will have changed significantly)
Steps in more detail..
Running disk2vhd

You don’t even need to permanently install the tool on the source machine, simply browse to http://technet.microsoft.com/en-us/sysinternals/ee656415 and click ‘Run Disk2vhd

image

choose your source drives, enter a suitable target destination with sufficient space and click create – this may take some time (as in several hours depending on size, speed, network, etc.)

Setting up the captured hard disk

The disk captured by disk2vhd will be a single hard disk image of the selected partitions/volumes, this may be fine if they combine less than 127GB as the first Hyper-V bootable disk has to be attached to the IDE controller (with a disk limit of 127GB)

However, for production use we recommend splitting your disks in the virtual world as you would in the physical – capture each volume to a separate VHD e.g. HOSTNAME-diskN-c_system.vhd, HOSTNAME-diskN-d_data.vhd, etc.

image

 

Here’s a grab of a SCSI based system which had 2x73GB SCSI disks as a single RAID disk

image

P2V for Windows Server 2003 onto Hyper-V

Windows Server 2003 machines require Service Pack 2 to be installed before the Hyper-V Integration Services can be installed – get ready to install using the keyboard as until the IS bits are installed you have no mouse!

Removing superfluous hardware devices, drivers, and system software

You need to get familiar with removing hidden devices and how to show non-present devices by following the Microsoft KB ‘Device Manager does not display devices that are not connected to the Windows XP-based computer’ basically:

set devmgr_show_nonpresent_devices=1

start devmgmt.msc

And then show hidden devices, to allow removal of the no longer supported devices, below shows the main areas to cover from a HP ProLiant server to VM:

image

I’m fairly confident to remove ALL hidden/greyed-out devices, especially if its a device that has been replaced by another ‘active’ / non-hidden instance of the same name e.g.

image

Note – this is a tedious process working through all greyed-out devices – suggest using the keyboard to save time (cursor to device, delete, enter, use of home & end keys, then repeat – many times! 😉

If you delete something in error don’t worry – you can always re-scan for hardware changes or restart the machine – you’ll be doing a few restarts during the process anyway…

Some things should be removed that are not hidden

Some devices won’t be hidden, but if you know your hardware and device drivers fairly well you should be able to spot the obvious candidates for removal, e.g. the Compaq Smart Array Controller drivers used for managing the hardware disk array.. cpqarry2 is definitely one to go..

image

but most will (be hidden), including related components…

image

(I think the Pentium III chip can go in this case! Winking smile)

Note – some of these may prompt for a restart, I normally bank several restarts together, but some system software to be removed may require a restart to uninstall cleanly..

System software uninstallation and many restarts

Most server systems may also have significant software components to uninstall, in this case several HP components that talk to proprietary HP systems management components that will no longer be present in the virtualised machine.

image

 

HP Network Teaming Utility – where is that software?

The HP Network Teaming Utility – easily spotted on most HP Windows server systems by the image  logo in the system-tray, however the software is not that easily found as doesn’t appear in Add/Remove Programs nor is removed from Device Manager.

Open network connections (ncpa.cpl) and select the ‘HP Network Configuration Utility’ then select Uninstall – you should be prompted to uninstall per:

image

You’ll be prompted for a restart, and by now the system probably deserves one!

 

Recreate your Network connections

Its time to dig out that systeminfo report, as that’s going to have a concise listing of the source server’s network settings in terms of IP addresses, etc. – if you’re converting from large-frame/iSCSI with VLANs etc. then that scenario is slightly beyond the scope of this post – sorry, but some things have to be billable!

Errors on start-up?

You are bound to get some start-up errors at the end of the process, although hopefully these should be insignificant such as a w32tm service unable to update from NTP or a domain controller due to network changes (e.g. still testing on a private network).  You may also have dependency components that still require removal such as a System Management Controller via the Service Control Manager (typical event id 7000 stuff).

Fire up the Event Viewer (eventvwr) regardless and have a trawl through the event logs, even if you didn’t get a error starting service alert on start-up you may find issues that require further investigation – effort here will be worthwhile for a stable and error free machine.

At the end of the process…

When you’re finished, sit back crack open a can (if you won’t get caught with food and drink in the data center) and have a think what nice new tin you’ll replace all those gaps in the rack with… mine would be Stella… Winking smile  Better still, for you, the company and the planet, return a few racks to the data center manager / co-lo provider, and ask for a bonus from all the carbon you’ve saved Smile

 

Added a week later..

It doesn’t always work…

..and does have limitations e.g.

clip_image002

The disk is too large for a dynamic VHD…

clip_image004

Microsoft tech•ed Europe 2009, Berlin, 12 November 2009

Slighty shabby and a late start to Thursday following the Windows Server 2008 R2 EAP dinner followed by the 1E TechEd party – a heavy night! 

For the dinner, the UK team chose a fabulous Italian restaurant called Bacco (www.bacco.de/english/restaurant/restaurant.html) which I’d definately go back to and hosted a great evening… many thanks to Stuart, Gareth, Neil, Alex, etc. from Microsoft UK. 

We were also joined by Allen Stewart & Rajesh Dave from corp.  Allen is Principal PM for Windows Server and Raj is a PM for Windows Hyper-V.  Both very interesting & incredibly knowledgable guys with deep understanding across a wide range of topics (and not just Microsoft!).
I pestered them for info on Hyper-V thin provisioning of memory and whilst they couldn’t confirm anything as we all said ‘we live in hope!’ 😉 

…as for the  night, I’d been invited to the 1E TechEd Europe party at Spindler & Klatt www.spindlerklatt.de – an uuber trendy restaurant/club in East Berlin frequented by the likes of Angelina, Clooney, and now Cook! 

What a great party and many many thanks to the team at 1E (www.1e.com).  Did I mention I was the 4th member of the business in the founding year?  (yes I probably did & several times.. lots to drunk! ;-)) We went our separate ways in 1999, oh for a slice of that now… anyway, moving on! 

Seriously though hats off to Samir, Mark, and Phil – they have built a company that knows how to throw a great party (regarded as the best at TechEd), and a team of very bright, talented people who have a lot of respect for the company and its founders. 

Ouch my head is pounding!  time to go to sessions, starting with… 

ITS211 Keeping Your CIO Happy: Microsoft Office SharePoint Server 2007 SLA Scorecarding with Operations Manager 2007 and SQL Server 2008

Gordon McKenna & Sean Roberts speaking at TechEd
Presenters: Gordon McKenna, Sean Roberts, www.inframon.com
Thu 11/12 | 10:45-12:00 | London 2 – Hall 7-1b
Learn how you can create CIO level SLA scorecards in SharePoint Server 2007 for Microsoft System Center Operations Manager 2007 using some of the new features in Microsoft SQL Server 2008 Reporting Services and to create Executive SLA views of your Operational Environment. The session looks at why these types of views are important to many companies, what impact this can have on your business, and what simple steps you can take to achieve very effective, high-level executive views of everything from performance and availability of your key LOB services and applications, whether important SLAs and KPIs are being achieved and whether your IT department is meeting the day-to-day needs of your business. The key demos in this session take you through the steps you need to implement effective business scorecarding in SharePoint Server 2007 using key metrics collected in the Operations Manager 2007 Datawarehouse based on “real-world” experiences gained from the field. After attending this presentation you will have a good insight into how CIO Scorecards can help you add value to your Operations Manager deployments, helping you to show real value to your executives.
Tip – to remove parameter data from Ops Mgr reports imported into a SharePoint webpart, suffix the url with &rc:Parameters=collapsed
Cracking session from Gordon & Sean on how to try and keep your CIO happy (if that’s possible! ;-))
blog Daniel Savage

Service Level dashboard – free solution accelerator dashboard on Microsoft 

SVR401 & 402 DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and Transition Technologies + Part 2 of 2: Putting It All Together

John Cradock presents DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and Transition Technologies 

Presenter: John Craddock (www.xtseminars.co.uk)
Thu 11/12 | 13:30-14:45 | Helsinki – Hall 7-2a
Take a sprinkling of Windows 7, add Windows Server 2008 R2, IPv6 and IPsec and you have a solution that will allow direct access to your corporate network without the need for VPNs. Come to these demo-rich sessions and learn how to integrate DirectAccess into your environment. In Part 1 learn about IPv6 addressing, host configuration and transitioning technologies including 6to4, ISATAP, Teredo and IPHTTPS. Through a series of demos learn how to build an IPv6 Network and interoperate with IPv4 networks and hosts. In Part 2 we add the details of IPSec, and components that are only available with Windows 7 and Windows Server 2008 R2 to build the DirectAccess infrastructure. Learn how to control access to corporate resources and manage Internet connected PCs through group policy. Part 1 is highly recommended as a prerequisite for Part 2.
John Craddock is an extremely talented AD/identity expert, and deeply technical across many other fields – in this case IPv6 & DA.
I was also lucky enough to have a drink with John and my old Microsoft PSS chum Paul Duffy on Monday night at the cleverly named hotel ‘Berlin Berlin’.
John is a genuine international industry expert and a thoroughly nice bloke with it!   Paul, another ‘genie-I’ went on to become PM for Office Communicator and knows a thing or ten about OCS amongst other subjects to a deep level.  This probably explains why these two know each other!
Anyway, back to the session plus my own notes, links, etc.
Gems & Tips
– be careful, not all apps will be compatible – test!
– to be native will likely mean new network gear, is new network layer (layer 2 unchanged)
– hex is back!  use of double colon notation, but can only be used once per address
– cannot mix with ipV4 mask bit notation
– host derived with mac address which has privacy issues, Win7 & R2 generate random based on interface, can be disabled (revert to mac based) with netsh interface ipv6 set global randomizeidentifiers=disabled
– route print -6 will show IPv6 route table
– ::1 is IPv6 loopback
– if you have a registered IPv4 address then you automatically have an IPv6 address on the 6to4 network
6to4 http://en.wikipedia.org/wiki/6to4 states 6to4 performs three functions:
  1. Assigns a block of IPv6 address space to any host or network that has a global IPv4 address.
  2. Encapsulates IPv6 packets inside IPv4 packets for transmission over an IPv4 network using 6in4.
  3. Routes traffic between 6to4 and “native” IPv6 networks.

– you need to manually unblock ISATAP entry in DNS which can be done via the registry or command line, e.g. 

C:>dnscmd /config /globalqueryblocklist wpad 

Registry property globalqueryblocklist successfully reset.
Command completed successfully. 

ISATAP is a huge subject in it’s own right, the Intra-site Automatic Tunnel Addressing Protocol Deployment Guide is available at http://www.microsoft.com/downloads/details.aspx?familyid=0f3a8868-e337-43d1-b271-b8c8702344cd&displaylang=en 

Putting it all together..

– Check tunnel endpoint authentication using ‘klist’ to list Kerberos data
– Use NRTP to direct DNS queries to a specific server for a particular names space (view using ‘netsh namespace show effectivepolicy’)
– PKI needs to be right as certificates are the foundations
– you must publish the revocation list
– NLS (Nework Location Server) is just a https website accessible from the DA server, e.g. nls.corp.example.com
– if it doesn’t work, it could be a couple of days troubleshooting! 

If you’re thinking of setting this up in a virtual lab, I also took note from Allen Stewart’s blog at http://blogs.technet.com/wincat/

…if you’re planning to virtualize your lab environment on Hyper-V, you should ensure you’re using Legacy Network Adapters for the child partition where you’re running the DAS. Using the default synthetic NICs is OK for all the other resources in the test lab, but for the DAS itself, it’s important to have both the Internet and Corpnet NICs as legacy ones, to ensure proper passing of traffic between both sides of the DAS. If you use the default synthetic adapters, you may end up in a situation where traffic doesn’t properly flow from the outside to the inside, even though all your IPsec, 6to4, Teredo, and IP-HTTPS settings are correct. Basically, you’ll be in a situation where connectivity will fail at a basic level, with you not even being to successfully ping the internal DNS server using its ISATAP address.If you’ve already built your lab on Hyper-V using the synthetic adapters, the fix is pretty simple. Just replace them with legacy ones, reconfigure the IP addressing as specified in the guide and rerun the DirectAccess wizard, again supplying all the information specified in the guide. After doing so, all your traffic should flow properly.

– Thanks Allen!

DAT312 All You Needed to Know about Microsoft SQL Server 2008 Failover Clustering

Presenter: Gopal Ashok
Thu 11/12 | 17:00-18:15 | London 3 – Hall 7-1b
There are major architectural changes in SQL Server 2008 for failover cluster setup and management, geared towards increased reliability and high-availability. To learn all the benefits and changes, attend this session for a comprehensive overview direct from the product development group. We cover SQL Server 2008 failover clustering setup, underlying Windows Server cluster and how SQL Server uses it, what’s new in SQL Server 2008 for failover clustering, differences from previous versions of SQL Server and future directions. This includes details of SQL Server 2008 failover clustering setup operations together with demos to illustrate the new setup.

– new features
– applications need retry mechanisms built in to provide seamless failover
– no longer have to take down the cluster to upgrade, supports rolling upgrades 

Want to deploy stretched clusters?  lots do.  As in separate geo-redundant clusters, not separate nodes e.g. 

Stretched SQL Clusters or the doodles of an artist?
Stretched SQL Clusters or the doodles of an artist?

– sql 2008 failover clustering install breaks on windows server 2008 R2 and needs to be slipstreamed with SP1 (If only we knew this last weekend!)
(slipstreaming is incorporating patches into the installation media to effect a higher level of install base over RTM – Microsoft tend to do this but not always quickly!)
see http://blogs.msdn.com/psssql/archive/2009/03/17/how-to-fix-your-sql-server-2008-setup-before-you-run-setup-part-ii.aspx for more info
– during upgrades to a 2-node cluster there will be a period of time when you are exposed to node failure, and must not have a failover attempt for fear of corruption.  removing the node from the cluster owners will stop premature attempted failover. 

Further Microsoft resources.. (will add others also) 

      SQL Server ® 2008 Failover Clustering White Paper: http://sqlcat.com/whitepapers/archive/2009/07/08/sql-server-2008-failover-clustering.aspx 

      Recommended  Books Online  Doc Refresh #7 (May, 2009), or later: http://msdn.microsoft.com/en-us/library/ms130214.aspx 

      Failover Clusters – Getting Started: http://msdn.microsoft.com/en-us/library/ms189134.aspx 

      Rolling upgrade process and best practice: http://msdn.microsoft.com/en-us/library/ms191295.aspx 

      Maintaining a Failover Cluster: http://msdn.microsoft.com/en-us/library/ms178061.aspx 

      Setup command line usage: http://msdn.microsoft.com/en-us/library/ms144259.aspx 

      Configuration.ini file usage: http://msdn.microsoft.com/en-us/library/dd239405.aspx 

WS2008-R2 Add Roles Hyper-V cannot be installed..

When trying to automate the build/deployment of Windows Server 2008 R2 Enterprise Edition (Full install) using scripts for adding roles and features beware using “start /w ocsetup Microsoft-Hyper-V” as this may break your server from successfuly performing a Hyper-V install..

If you do use that script then something (quite a lot) happens and various components appear to be installed including a restart.  Don’t be fooled in thinking Hyper-V has installed as when checking, Hyper-V isn’t listed as an installed Role and the management tool is not installed…

Later attempts to use the Add Roles Wizard to add Hyper-V reports it cannot be installed, giving this error dialogue:

Hyper-V-cannot_install

The processor on this computer is not compatible with Hyper-V. To install this role, the processor must have a supported version of the hardware-assisted virtualization, and this feature must be turned on in the BIOS.

eek!  but my x64 bit server has hardware virtualisation support hasn’t it..?!?!?   of course the answer is yes, but this what you will see on a box that hasn’t.

After rebuilding my test platform I realised the fix to this was to revert the attempted Hyper-V scripted install by using:
start /w ocsetup Microsoft-Hyper-V /uninstall
Allow the Windows Optional Component Setup dialogue to restart when prompted

Hope this helps save you a rebuild!

Hyper-V Server R2 RC failover cluster to Enterprise/full version RTM…

A couple of months ago I wrote about the joys of upgrading your Hyper-V R2 release candidate cluster to a new version (e.g. release code).  This process involved tearing down and destroying your cluster which can be a complete pain on many levels (not just for your users! ;-))

Anyway, on this occasion I’m attempting to upgrade a Hyper-V R2 Release Candidate failover cluster to Enterprise RTM full product without destroying the cluster (although rebuilding the nodes clean – this is a must to be supported).

What this means is that from Beta->RC and from RC->RTM, you will have to do the following:

1. Move workloads onto fewest node/s

2. Move ownership of Storage from the node you are going to remove and rebuild.  You may need to stop the cluster service if th Quorum will not move (it will if you force it by stopping the service ;-))

3. Using ‘Failover Cluster Manager’ drill-down on Nodes, and right-click on the non-primary node, chose More Actions…, Evict – you’ll get a message warning that evicting a node can cause problems if a clustered application requires that node.. obviously! – click ‘Evict node NODENAME’

3.5. Move the node out of the domain back to a workgroup (so we can reuse this name) and delete the computer account from AD

4. When it comes to the last remaining node in the cluster, due to Quorum requirements, you will need to destroy the cluster.  Select the cluster, goto More Actions… select Destroy the Cluster

5. Remove the ‘Failover cluster virtual network name account’ from AD Users & Computers

5. Being slightly paranoid, I also disabled the Failover Clustering service from with Hyper-V Configuration and removed the machine from the domain (back to a workgroup)

3. Wipe/Reload with new version of Hyper-V.

4. Create new 1 Node Cluster, join to SAN etc

5. Move VMs, offline, to new Hyper-V host.

a. Upgrade VM’s IC’s

6. Wipe/Reload remaining host

7. Join it to the cluster

8. Smile, before you do the same for RTM… 😉

 

  1. Configure Clustering
    1. Install the Windows Server Failover Clustering feature
      from a cmd shell “start /w ocsetup FailoverCluster-FullServer”
    2. Configure Shared Storage
      Use iscsicpl.exe, if the service is not started then start it – click ‘Yes’
      Use Quick Connect to connect to the iSCSI Target, click ‘Done’ to list the targets
      Connect to the Quorum target, then add the volume
      Repeat adding the other cluster volumes (VHDs, Data, Logs, etc.)
    3. Add the new node to the Failover Cluster
      Use Failover Cluster Manager to validate the cluster
      Add the node to the cluster even if validation fails (it will if node O/S is different)
    4. Modify Hyper-V Settings for the cluster
      Change the location of VHDs and VMs to:
      C:ClusterStoragevolume1hyper-v
  2. Move virtual machines and correct network errors on the target node
    1. Use Hyper-V VM Settings to correct the network setting if they report a Configuration Error
  3. Start the VM’s on the new node J
  4. Rebuild the next one..  😉

Windows Server 2008 R2 & Hyper-V Cluster upgrades or not…

Ahh the joys of participating in beta programs! 😉

 As part of my day job, and as co-founder of IT consulting firm “The Full Circle” www.thefullcirle.com – a Microsoft Gold Partner that likes to keep ahead of the game (or at least stay in it!) by being an early adopter, we are always working with new software and that means building and rebuilding boxes.  Clearly virtualisation can make huge savings, especially in time but not always, especially when working with beta & pre-release software…

Our current journey of discovery is clustering with Windows Server 2008 Release 2 (R2) which is currently in late stages of development (went RC about month ago), and we are delighted to be a UK Early Adopter Program partner! 🙂

We have been working with a couple of different builds, the beta build 7000, and recenly the Release Candidate build 7100.  Our own infrastructure was built using the beta, as is our customer EAP project, and following a number of cluster issues we performed an in-place upgrade to the RC code…

However, last week I learnt that in-place upgrades to clusters are not supported across beta/pre-releases to RC, and eventually to RTM – this is often the case as would never be a mass adopter / real-world scenario.

What this means is that from Beta->RC and from RC->RTM, you will have to do the following:

1. Move workloads onto fewest nodes (1 in my case)

2. Using ‘Failover Cluster Manager’ drill-down on Nodes, and right-click on the non-primary node, chose More Actions…, Evict – you’ll get a message warning that evicting a node can cause problems if a clustered application requires that node.. obviously! – click ‘Evict node NODENAME’

3. When it comes to the last remaining node in the cluster, due to Quorum requirements, you will need to destroy the cluster.  Select the cluster, goto More Actions… select Destroy the Cluster

4. Remove the ‘Failover cluster virtual network name account’ from AD Users & Computers

5. Being slightly paranoid, I also disabled the Failover Clustering service from with Hyper-V Configuration and removed the machine from the domain (back to a workgroup)

3. Wipe/Reload with new version of Hyper-V.

4. Create new 1 Node Cluster, join to SAN etc

5. Move VMs, offline, to new Hyper-V host.

a. Upgrade VM’s IC’s

6. Wipe/Reload remaining host

7. Join it to the cluster

8. Smile, before you do the same for RTM… 😉