Everything you want to know about Visual Studio ALM and Farming
Brian Harry is a Microsoft Technical Fellow working as the Product Unit Manager for Team Foundation Server. Learn more about Brian.
More videos »
As you know we’re a big believer in dogfooding the products we are building and TFS has a long history of it. Dogfooding of TFS 2010 started even before Beta 1 shipped, both inside our team and with a few other groups in Microsoft. One of those groups was a team in MSIT that was particularly interested in trying out the new testing capabilities.
Some time ago, we decided we needed to decommission the server that this MSIT team was using and more them to a more recent build in the process. There were some process delays in getting a new server setup in MSIT so we decided to move the MSIT Team Project collection onto the DevDiv “Pioneer” dogfood server as a temporary measure.
Yesterday, I got mail about the completion of that process and it made me feel good so I figured I’d pass it along…
Earlier today, we:
· took a backup of the Telecom Pre-Beta1 DB off their dogfood server,
· restored it to a temporary Beta2 RTM instance,
· fixed it up a little (since it was pre-beta1),
· copied the upgraded databases to a clean server,
· upgraded it again to the 21207.00 Pioneer build,
· then detached from that instance and attached as a new collection in Pioneer.
This is a great testament to the robustness of the upgrade scripts and the ETM collection flexibility.
Brian
Thanks for sharing this, Brian.
Perhaps the people who did this might publish a blog post about the details of the process. What upgrade scripts were used, any gotchas and things not to do, etc.
Rod Claar
http://EffectiveAgileDev.com
@Rod - I was the one who did the detach and attach. If you have more questions about this, please contact me via my blog http://blogs.msdn.com/granth/contact.aspx
There's no special scripts or anything needed unless you are going from Pre-Beta1 or Beta1 (which we don't support).
See this MSDN article for how to Move a project collection using detach & attach. These are the steps we followed.
http://msdn.microsoft.com/en-us/library/dd936138(VS.100).aspx
We built a clean VM with SQL and TFS Beta2 installed (but not configured on it).
We then backed up the databases and restored them to this clean VM.
We then ran the TFS configuration wizard and selected 'Upgrade'. It found the Tfs_Configuration database that was on the server and upgraded it.
If you then want to upgrade this server from Beta2 to RTM, the next step would be to uninstall TFS & .NET4. Install TFS2010 RTM (when it's released), run the configuration wizard, select 'Upgrade'. It will once again detect the Tfs_Configuration database and upgrade it to the new version.
In the Team Foundation Administration console, you have the ability to Detach and Attach project collections.
Super! This will be a big help when the time comes! - Rod