I believe in Hyper-V!

Windows Server 2012 R2Category Archives

Upgrade TFS 2013 to TFS 2015 RC [New hardware upgrade procedure]

This days I had honor to upgrade TFS 2013 to TFS 2015 RC. RC is release candidate and it’s not officially supported, but if you have “support” from your MVP fellows and experts it’s not that hard to do something like this Smile.

Of course, at the beginning I had a couple of issues with upgrade, but at the end everything went perfectly thanks to the Microsoft and MVPs experts and now I want to share this experience with you.

The TFS infrastructure is as follows:

TFS 2013
1. Windows Server 2012
2. TFS Version: 12.0.21005 (Tfs2013.RTM)
3. SQL Server 2012 with SP2 Enterprise Edition

TFS 2015 RC
1. Windows Server 2012 R2
2. TFS 2015 RC
3. SQL Server 2012 with SP2 Enterprise Edition

Both servers are in the same domain and they have been using the same service accounts.

We did following (this is classic/usual upgrade procedure):
1. TFS Backup procedure through TFS Administration Console –> Scheduled Backups –> Manual backup (on the TFS 2013 side)
2. Databases have been restored through TFS Administration Console –> Restore Databases (on the TFS 2015 RC side)
3. During the Upgrade process on the last wizard tab we’ve got the error visible in the picture below.

1

And what to do now? Sad smile

1. Restore TFS databases again
2. Open SQL Server Management Studio on the TFS 2015 RC
3. Execute the following script in the Tfs_Configuration database:

[sourcecode language='sql'  padlinenumbers='true' collapse='false' wraplines='false']
UPDATE  tbl_RegistryItems
SET     RegValue = SUBSTRING(RegValue, 1, CHARINDEX(', Version=', RegValue) - 1)
WHERE   PartitionId = 1
        AND ParentPath = '#\Configuration\ServiceProvider\ExtensibleTypes\'
        AND CHARINDEX(', Version=', RegValue) > 0
[/sourcecode]

 

SQLquery1

4. Run Upgrade procedure again and voila Winking smile

Complete
Complete2
Complete3

Microsoft will fix this issue in Team Foundation Server 2015 RTM!

Enjoy in upgrade Hot smile

Cheers,

Romeo

New free eBook: "Microsoft Licensing for Virtual Environments"

Hi to everyone,

IMHO, Microsoft licensing model is the hardest thing for me ;). So, with this free eBook and webinar you can learn how to license Microsoft virtual environment.

Capture

Are you looking to get to grips with Microsoft licensing for virtual environments? Altaro got something special for you!

Altaro asked our very own Hyper-V guru Eric Siron, and Hyper-V MVP Thomas Maurer to take you through the theory and a dozen or so example scenarios to help you gain a solid understanding of Microsoft licensing. We’re offering you two formats:

  • An Altaro webinar, hosted by Hyper-V MVPs Thomas Maurer and Andrew Syrewicze on Thursday, 4th December 2014 at 10am EST / 4pm CET (30-45 mins + live Q&A!)
  • A brand new eBook by Eric, which is available right now!

    Sign up for the webinar here:

    Webinar

    Download your copy of the eBook “Licensing Microsoft Server in a Virtual Environment” here:

    download

    Cheers,

    Romeo

  • Convert Physical machine to Virtual machine with MVMC 3.0

    In this blog post I would like to show you how to convert Physical machine to Virtual machine with MVMC 3.0 which you can download from here. In this version of MVMC we can convert physical machine to virtual machine, other features are more or less the same.

    New features in MVMC 3.0

    The 3.0 release of MVMC adds the ability to convert a physical computer running Windows Server 2008 or above server operating systems or Windows Vista or above client operating systems to a virtual machine running on Hyper-V host.

    Here you can read about standard features in MVMC.

    Make sure you have the following pre-requisite on the computer on which you want to run MVMC and they are as follows:
    1. Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2 SP1 operating systems.

    2. Microsoft .NET Framework 3.5 and .NET Framework 4 if you install MVMC on Windows Server 2008 R2 SP1

    3. Microsoft .NET Framework 4.5 if you install MVMC on Windows Server 2012 R2, Windows Server 2012, or Windows 8.

    4. Visual C++® Redistributable for Visual Studio® 2012 Update 1

    5. Enable the Background Intelligent Transfer Service (BITS) feature in Windows Server.

    6. Enable Hyper-V on the destination host

    NOTE: If you don’t enable features mentioned above will get this error:
    ErrorImportant

    From the one side I have Physical machine with Windows Server 2012R2 installed on it, and from the other side I have Hyper-V host.

    Here is a pictures guide how to convert ;)
    Start MVMC and click Next
    1 
    On the next screen choose Physical machine conversion
    2

    Enter the name or IP address and credentials of your physical machine under the Source then go ahead

    3

    Click on Scan System to see system information
     4 
    5
    Here we can see Volume Configuration

    6

    On the next step we need to enter Virtual machine name, number of processors and Memory

    7
    8

    Here we need to fill Hyper-V host information

     9
    Then we need to choose virtual machine and workspace location
    10 
    11

    Then, Network Configuration
    12 
    13

    At the end of the wizard we can see Summary and click on Finish to start conversion
    14 
    15 
    16 

    At the end of the conversion process you can see converted machine
    17

    Enjoy in virtualization :)

    Cheers,

    Romeo