Posts about Uncategorized:

Understanding Windows 7 Deployment Backwards

What was the last operating system you deployed?…I’ll bet it was Windows XP and I bet you needed a bunch of 3rd party tools and experienced tons of pain to get to the end point.   With the right (free) tools it’s really easy to deploy Windows 7 though and you can self select just how much control and complexity you need depending upon the size of your deployment and how dynamic your infrastructure is.  When you first look at deployment though you might see the alphabet soup as a real turn off and feel it’s all too complex.  Here I’ll try to demystify it somewhat, covering deployment, data migration and application migration.

The Windows 7 deployment technologies build on each other and actually fit together like a jigsaw to present the whole picture.  Most guides to Windows 7 deployment start out explaining the underlying tools and components of a deployment but I think we sometimes need to picture the end goal first.  So what are the factors you need to consider?

Understanding the picture

To start out you need to determine what type of environment you have, who’s doing the deployment and even what the behavioural norms are of your users.  For example you might be in a position where you need to do everything for your users; either they don’t want to make backups and install Windows or they don’t have the capabilities (time / technical inclination).  Alternatively all your users might be highly skilled technical experts who need plenty of flexibility.  Either way the solutions are quite simple to build and maintain with the latest tools.  One option is to use the MAP toolkit to understand your environment.

The next thing you need to determine is the size of your environment and what tools you already have deployed.  If you’re on the medium to big size you’ll probably already have some System Center components deployed to manage your datacentre, servers and possibly your applications and operating system deployments.  If you’re on the medium to small end of the scale you probably have a bunch of those 3rd party tools cobbled together to provide a solution or you’ll be looking for something simple to deploy.  I’ve been intentionally vague with “small”, “medium” and “big” because they all depend on your self view.  Normally we consider “small” to be <100 and “big” to be >500 but I think you can self select better than that.

Do you have System Center?

With these few pieces of information we start identifying what type of deployment you need.  The next key consideration is if you’ve got System Center deployed.  If you do your Windows 7 deployment will be best with System Center at the helm leveraging MDT.  This will give you the ability to do a zero-touch or full automated deployment of Windows 7.  If you don’t have System Center deployed and you’re large enough that management has become a significant overhead then you’ll probably want to use your Windows 7 deployment to spearhead a System Center deployment to help take control of your environment.  System Center isn’t a fixed requirement though.

No, no problem!

What if you don’t have System Center in place?  Well then you’ll be looking at a tool called MDT (aka Microsoft Deployment Toolkit 2010 Update 1) which takes away lots of deployment pain for you and helps you deliver a dynamic and maintainable Windows 7 deployment environment.  It’s also free!  What MDT alone cannot do for you is provide a zero-touch Windows 7 deployment instead it provides a lite-touch (or semi automated) approach that does most of the work for your users.

Friends of MDT

Under MDT there’s another level of tools packaged up in something called the Windows Automated Installation Kit (better known as WAIK) which provides lots of the tools used by MDT to get the job done.  You’ll occasionally need to dip into this level to do more advanced things with your Windows 7 deployment (like service your images from the command line) and the WAIK actually includes a program for taking system images called ImageX.  If all you wanted was a very basic, repeatable installation of Windows 7 you could get away with just using WAIK but if you’ve got more than about 100 PCs you won’t want to go there.

Again to support an MDT based distribution you’ll need a couple more elements, a SQL Server and a Windows Deployment Services server (WDS).  For a SQL server it’s perfectly OK to use SQL Server Express or to use an existing managed SQL Server installation.  The SQL Server will house the configuration data used to dynamically provision computers.  WDS is a role of Windows Server 2008 and is used to provide PXE boot services (you can use a boot DVD if you need to install your customised Windows 7 install too).  WDS can also deploy XP and Vista, so you can move to a unified deployment infrastructure and it supports multi-stream multicasting, so if you use multi-cast deployment slower clients don’t slow faster clients.

So far we have key decisions made: Lite-touch or Zero-touch, dynamic deployments or static deployments but there are a couple more key considerations when thinking about your deployment, data and applications.

The data…

The data consideration drives whether you’ll need to migrate data from your users laptops or not and this in turn drives how you’ll migrate data if needs to be migrated.  If your users are storing data on their local machine you probably need to migrate it somewhere and you might well need to migrate their user settings too.  To achieve this you will want to use USMT 4.0  (User State Migration Tool) which is a component of WAIK.  USMT allows you to migrate users settings and files by either copying the files off the PC to a network share (which you might want to do it you want to take the opportunity to create a point in time backup of the users stuff) or to use hard link migration.  Hard link migration is cool!  It basically allows you to mark files to persist on the hard disk during migration to Windows 7 which saves you time and space by not having to move the files to a network share and back to the target PC again.  If you have technically savvy, or independent users you might want to use the Windows Easy Transfer too built into Windows 7 to transfer the files and settings as USMT isn’t user configurable so it’s conceivable you could miss stuff.  It is however the best approach to use en masse.

The apps…

Application compatibility is your only other real consideration.  You need to be sure that all the applications you need to deploy on your Windows 7 PCs will work on those PCs.  Again for that there’s a tool, ACT (Application Compatibility Toolkit) which can analyse your environment and tell you what applications are compatible and where they aren’t you can then workout a remediation strategy.  For example you could virtualise the application with XP mode and Virtual PC or App-V or if required with Med-V create an entirely virtualised desktop.

Why Dynamic deployment matters

Dynamic deployment really matters when you take application and data migration into consideration because the chances are that you can’t deploy purely to green field (new laptops and new users).  In fact you’ll probably have three deployment types as a minimum:

  • New – a new user and a new laptop = nothing to migrate
  • Replacement – an existing user and a new laptop = data and possibly apps to migrate
  • Refresh – an existing user and an existing laptop = data and apps to migrate

In addition to those different scenarios your users probably have their own individual application requirements and if you went for a purely imaged based route you wouldn’t be able to install applications as needed and you’d have multiple images and quite a management problem.  Finally you will want the advantages of dynamic deployment to help manage driver and patch updates without having to rebuild your image constantly.

Summary in a picture

Finally I thought I’d try to simplify with the use of a picture, let me know if it works for you or not…it doesn’t cover everything but it tells part of the story.

Understanding Windows 7 Deployment Backwards

Key resources to help you develop skills

MDT – Microsoft Deployment Toolkit – the easiest way to do a dynamic Windows 7 deployment

WAIK – Windows Automated Install Kit – mainly provides a tool set for the likes of MDT but you can use the tooling directly

MAP – Microsoft Assessment Planning Toolkit – can be used to understand your environment before deploying

WDS – Windows Deployment Services – you’ll use this for basic over the network installs and to provide PXE boot functionality.

USMT – User State Migration tool- for migrating users files and settings automagically

Springboard – THE place to learn about Windows 7 deployment.

Free eBook: Deploying Windows 7 Essential Guidance from the Windows 7 Resource Kit and TechNet Magazine – if you need all the in depth details, this is brilliant

How we did it, deploying Windows 7 at Microsoft

Understanding Windows 7 Deployment Backwards

What was talked about at TechEd Europe today?

What was talked about at TechEd Europe today?

Hyper-V Cloud

Hyper-V Cloud is IaaS (Infrastructure as a Service) for your own private use, you own and manage the hardware and the software.  Furthermore we’ve announced partners who’ve produced hardware reference architectures (Fast Track) which you can buy direct from them to accelerate the process of building your own cloud.  One example is from HP, but there are others from Dell, NEC and Hitachi as well as others.  So what do you need to build your own, well Windows Server 2008 R2 Hyper-V, System Center and the Virtual Machine Manager Self Service Portal.  For a deployment guide take a look here and you’ll get best practice for doing private cloud deployment.

Not only that but market share for Hyper-V is up by 12% which means that even more people are trusting Hyper-V.

System Center and Private Clouds

We saw a demo of the next version of System Center which has a new console (not an MMC).  Server App-V, where applications on the server are virtualised, was introduced along with the features of System Center that allow you to design an application as a service using templates so that an application owner can provision their own application in just a few clicks but in a way that allows administrators to control the deployment.  What System Center does is move an application from a stand alone unit to an elastic service.  It’s a true private cloud.

Windows Azure and System Center

Much of what I explained in my PDC wrap up was covered again from the IT Pro perspective System Center will help you manage both in the future.  The image at the top of this post is the new Azure portal, which opens up all the features in that post.  One of the demos showed how ANY application written for Azure with  .NET can be instantly monitored by System Center with almost Zero effort, allowing almost instant application level tracing.  What this means is you can suddenly tell your dev guys why the whizzy application they created is running slow.  It’s also possible to monitor SQL Azure databases from System Center too and you can view them in the context of your network, that is along side your own services.

There was also some clarification around our thinking of Paas and Iaas

Windows Server = IaaS

Windows Azure = PaaS

RemoteFX and Dynamic Memory

Windows Server 2008 R2 SP1 and Windows 7 SP1 in Q1 2011.  With this we get RemoteFX which will deliver a full fidelity Windows 7 experience in VDI (virtual desktop infrastructure) and with Dynamic Memory it’s possible to achieve even higher server density as you can over commit the amount of memory the server has.  Say it has 8gb of RAM, you can tell each VM it has 8GB.

Windows Intune

To be released in 2011 provides remote management of your entire desktop and laptop estate without rolling out management infrastructure.  I love Windows Intune.

Forefront Endpoint Protection 2010

Will be fully integrated with System Center and released in early 2011.

Office 365

We saw awesome demos of how simple it is to setup and run your business from the cloud with Office 365.

Over the course of the week Andrew @deepfat Fryer and I will be blogging other goings on at TechEd Europe

What was talked about at TechEd Europe today?

Springboard Tour UK Video

Here’s the video that the Springboard tour guys, Stephen, Andy, Hyper-D (Daniel) and Hyper-T (Tony) made when they came to the UK.  If the guys interviewed you you’ll probably be in the video somewhere so take a look and find yourself, if you do shout up in the comment.  Cheerio!

Springboard Tour UK Video

Springboard Tour UK Video

Springboard Tour UK Video

Discover Microsoft Lync Server 2010

Discover Microsoft Lync Server 2010

 

Lync Server 2010 ushers in a new connected experience transforming communication into an interaction that is more collaborative, engaging and accessible from any location with internet connectivity. A single interface unites voice, IM, audio-, video-, and web-conferencing into a richer, more contextual offering and a single identity makes it easier and more efficient for users to find contacts, check their availability and connect with them.  Lync Server 2010 works consistently with Microsoft Office, enriching the experience of familiar applications like Microsoft Outlook, Microsoft Word, Microsoft SharePoint, and more.

Try the Lync Server 2010 Release Candidate and find all the evaluation resources you need to get started. You can also find out more about the Lync hosted trial here.

Technorati Tags:

Discover Microsoft Lync Server 2010

TechNet Flash gets spooked for Halloween

This fortnight’s TechNet Flash newsletter, while not exactly terrifying, sports an unmistakably spooky new fancy dress, courtesy of someone in the art department with not enough to do. It’s a bit of a bumper edition this time, the last two weeks have had us all panting for breath and desperate for a gin and tonic (actually that’s probably just me).

Ready for your perusal we have:

Windows 7 and Windows Server 2008 R2 SP1 RC

Windows Phone 7

Office 365 beta

SQL Server 2008 R2 migration resources

not to mention a darn fine Halloween competition with your name all over it. I’m looking forward to seeing your remarkable pumpkin carving efforts.

Find the newsletter here – you can also sign up to get your own copy straight to your inbox.

Have a great weekend!

 

TechNet Flash gets spooked for Halloween

SQL Server 2008 R2 upgrades with Hyper-V

Hello Andrew Fryer here, I have hacked into the UK TechNet blog and I notice that this week’s TechNet On is focused on SQL Server upgrade and migration.  I think this is a very comprehensive list of resources but I wondered how virtualisation changes things? 

The answer depends on where you are starting from and which part of the upgrade process you are working on:

SQL Server is running on a physical server with directly attached storage (DAS) – so the databases are on disks in the physical machine.  If it’s only running one database you can simply backup the database and restore to it to a virtual machine to begin testing.  If it’s  a lot of databases back up the disk(s) using windows backup (the SQL Server needs to be stopped during that process) and you will end up with a .VHD file for each disk which can be attached to a Hyper-V virtual machine (VM) as a second disk.  You can than start up the latest version of SQL Server and attach each of those databases one at a time. 

Once you have tested everything you can use the same technique to move the database for the last time if you are going to virtualise it.  However if you want to stay physical and your base OS is Windows Server 2008 R2 then you can boot to the VHD as though it were a real volume.  If not throw away the VM and use the environment for your next bit of dev/test and copy/backup the database to your new server as discussed in the TechNet On resources.

SQL Server is already running on a VM. For testing you simply take a backup of the VHDs (I am assuming here you back up your VM’s with something like System Center Data Protection Manager or an equivalent third party tool), on to a test server and then you can do an in place upgrade on that virtual machine to test, and repeat when you are ready to go into production.  If you are using pass through disks ( essentially a point to a LUN on a SAN) then use your SAN to create additional copies of the relevant LUNs which can then be attached to a new VM.

SQL Server Clusters.  A SQL Server 2005 cluster can be upgraded to SQL Server 2008 without taking it down by upgrading each node in turn (as described on TechNet here)  however you will want to test that and so you can use virtual machines to point to a copy of the shared storage used in the production cluster. 

I should also add that one of the key advantages of using virtualisation as part of your upgrade is that you can ensure your new SQL Server has the same server name as the old machine, removing the need for any client configuration works or DNS fixes to see the new server from existing applications.

Which reminds that one problem with SQL Server is that it hasn’t worked with sysprep, the business of making Windows Server anonymous which is used to create copies of servers in virtualisation scenarios.  This has been addressed in SQL Server 2008 R2 with the image prepare installation option so you can make a copy of a prepared Windows Server/SQL Server VM and then fire this up repeatedly to make copies of SQL Server installations. The TechNet On guys have used my video of how to do this here.

So as well as checking out all the TechNet On resources for SQL Server upgrades my top tip would be to skill up on what virtualisation can do for SQL Server and how to use it particularly if you are working with or for smaller businesses.

Finally I have quite a few posts on migration and upgrade on my own blog

SQL Server 2008 R2 upgrades with Hyper V

Download the Windows Phone 7 Enterprise Mobility Kit

Download the Windows Phone 7 Enterprise Mobility Kit

 

Following last week’s Windows Phone 7 launch I stumbled across this little gem in the Microsoft Download Centre.

The new Windows Phone 7 Enterprise Mobility Kit helps you to find out how Windows Phone 7 can enhance mobile productivity in your business while working with your existing set up. Take a look here.

If you’re more interested in exploring the development side of Windows Phone 7, check out the App Hub for all the tools and guidelines you need to get involved. You can also get a more general ‘we all love a new gadget’ view just here.

Download the Windows Phone 7 Enterprise Mobility Kit

The week that was – 18-22 October