Upgrading from TFS2010 to Visual Studio 11 Team Foundation Server
Join the DZone community and get the full member experience.Join For Free
upgrading from visual studio 2010 team foundation server to visual studio 11 team foundation server beta is very easy and as we have seen, fully supported in production . today i got the new bits and i an going to upgrade our northwest cadence production server.
you need a couple of things before you get started:
admin on your team foundation server environments
that includes your data tier and app tiers
your tfs account details
this means tfsservice & tfsreports accounts at the least.
- download updates
- sql server 2008 r2 sp1 (windows update)
- sql server 2008 r2 sp1 cu1 (download here)
here is my todo list for this install:
- done – unpacking visual studio 11 team foundation server
- done – uninstalling visual studio 2010 team foundation server
- done – installing visual studio 11 team foundation server
- done – upgrading sql server 2008 r2 to sql server 2008 r2 sp1
- done – apply sql server 2008 r2 sp1 cu1
- done – upgrading to visual studio 11 team foundation server
- done – test your environment
- email everyone in your company to go check
once you have those things you can move on to the good bits:
unpacking visual studio 11 team foundation server
this is one of the longest processes as you need to unpack over 1gb of data from your iso. i use winrar , but you can use anything you like.
yes, you heard me right, its only a 1gb iso for tfs11. the team has done some amazing work pairing down the install (it was over 2gb in 2010.)
uninstalling visual studio 2010 team foundation server
when you run the install on a box that has visual studio 2010 team foundation server you will need to uninstall it first. but don’t worry, all you data will be left alone.
this is an easy process and is completed in a couple of minutes.
once it is off you computer you can start with the visual studio 11 team foundation server upgrade.
installing visual studio 11 team foundation server
installing tfs 11 is quick and easy. it takes only a few minutes, although you may need to make sure that you have the latest updates and service packs for all of the affected products as i would always recommend that you do.
you will see that even the install has become cleaner and less cluttered. this may change when for the release, but it looks pretty good.
this is checked by default, but it is always good to get all of the updates before you start.
always prep the machines with .net prior to starting if you can. if you do that, you are doing this in minutes.
after that the install automatically starts after you log in and carries on.
now that you have everything installed you need to begin the configuration. in tfs 2010 you had to stop here and install the service pack but as we just got these bits there is no sp, so … wooohooo..done.
upgrading to visual studio 11 team foundation server
but not really. now we need to get to the real hard stuff. i am upgrading our current tfs 2010 server, so i need to select the upgrade wizard. there are many other options but i don’t need them for now.
once you get into the wizard you will only see the options and be lead through the story that you want. make sure that you select the correct story, and often the “advanced” wizard is the most appropriate.
you need access to the database server for the next bit.the upgrade wizard is going to upgrade the schema of your server and you need “sysadmin” in order to do that. i forgot and had to get steven borg to add me.
the wizard will check to make sure that you have a data base that you can import. it will list all of your db’s but you can only do one through the interface. there is a command line for upgrading subsequent databases if you have more than one configuration database.
note: you only need to do this once per tfs instance and not per team project collection. it will upgrade all of your collections.
you then need to specify the tfs service account to use. now i forgot this as well and had to ask shad timm (get a blog shad) to get the password , which he provided with the speed that only shad can.
i have very few circumstances where anything other then ntlm is not appropriate and as we have a separate data tier and app tier i have to use ad credentials. to be honest every time that i have used “network service” i have run into many problems. just suck it up and use ad credentials.
if you have tfs basic (or express) then you don’t get reporting, but this is an enterprise solution that has both reporting services and analysis services to configure.
in my case reporting services runs on the same server as the app tier and it prepopulates the data. remember that we already selected a tfs 2010 configuration database, so everything except the accounts is pre populated.
you need to select your warehouse, but enter your server and it will find it.
my analysis services database is sitting on my data tier so i have to enter that server name here. i love the “test” feature on the pages so that you make less mistakes.
we use an enterprise sharepoint farm so i will be leaving it configured as is.
if you have not done a tfs upgrade since 2008 you will love the readiness checks that the tfs team added. it looks at all of the things that it can to make sure that we catch any errors now, before we go any further.
the readiness checks run…. and…
my sql server does not have sp1 or the required cu…. let me go do that….
warning: while i can get sp1 from windows update i need to jump though a bunch of hoops in order to get the cu, so:- sql server 2008 r2 sp1 cu1 download
now that you have fixed the problem, you just need to rerun the readiness checks to before you can configure your server.
figure: if you have express you get upgraded
figure: depending on your hardware the upgrade may take some time
some updated take longer than other, but it really depends on your feature usage and hardware.
each collection is upgraded individually after the configuration database has been completed and these again depend on the size and complexity. in this case the first collection has very little data and was upgraded quickly, but the second one is the main collection so will take a little longer.
[2012-02-29 19:55:43z][warning] team foundation server could not tear down the existing deployment rigs. delete the visual studio 2010 team foundation build agents associated with your environments manually using team foundation server administrator console. exception details: tf259046: team foundation server could not complete the operation because of an internal error. try the operation again. if the problem persists, contact your system administrator.
figure: warning message for lab management integrate collections
this is just to let me know that it did not do something against the lab environment that is setup. i am going to leave it for now, but i will tell shad that it happened
it looks like the existing configuration settings for sharepoint were not honoured in the beta. so it is worth noting that you will need to manually configure the if you get this error.
it looks like it is just a false message. when i looked in the admin tool all was well.
you will want to do lots of exercising of the features to make sure that everything works so we only have a few tasks left:
remember that there is go-live for visual studio 11 team foundation server !
go on… be a kid again!
Published at DZone with permission of Martin Hinshelwood, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.