Home > TFS, TFS2012 > TFS2012 Express: Advanced Configuration Part 1

TFS2012 Express: Advanced Configuration Part 1


About TFS Blog Series

This blog post is part of a blog series to introduce Team Foundation Server to new users. The blog series will also contain articles targeting intermediate and expert users.  I will be using Team Foundation Server 2012 Update 1 and Visual Studio 2012 Update 1 throughout the series. If you have any questions or you want me to cover a specific topic, please don’t hesitate to contact me.

Expertise Level

Advanced

Introduction

TFS Express is a free version of Team Foundation Server for up to 5 users. Addition CALs can be purchased if your team size is over 5. You may not require a CAL if you have Visual Studio MSDN Subscription. To compare TFS Express with other TFS editions, check out this post. To learn how to install TFS Express edition click here

In this article, I will show some advanced configuration which can be done using TFS 2012 Express. I will explain how to

  • remove an installed application tier,
  • how to install application tier only on the existing TFS databases
  • How to install the application tier on a named instance of SQL Server Express instance

Click on Start—>All Programs—> Microsoft Visual Studio TFS 2012 –> TFS Admin Console to launch the TFS Admin Console

Removing a Feature

Removing a feature is the process in TFS Express you need to take to uninstall an Application Tier or a Build Service.

Select the root note in the tree view if it is not already been selected

image

On this is screen, you can uninstall the the application tier. Build service should be listed, had we had one already configured

image

Check the I acknowledge checkbox and then click on the Remove button

image

You should get the following screen when the removal is complete

image

NOTE: Removing the Application tier does not delete the SQL Server Databases. This is done in purpose as a last line of defense and in case you want to reinstall the Application tier targeting an existing data tier (databases) in cause you are upgrading from TFS edition to another.

Reinstall an Application tier (New Data Tier)

Click on the Application Tier Node then click on the Configure Installed Features button

image

Click on the New Server Node, then click Next

image

Notice that the Configurator detects that an existing SQL Server Express instance already exists

image

The installation fails because an existing TFS Database is already installed at that instance (TF255324 and TF400656)

image

Our options: configure Application Tier only, use the upgrade option if the database is from a previous versions of TFS, or use Advanced Wizard.

NOTE: The advanced wizard doesn’t exist in TFS Express and we can’t use the upgrade version because the current deployed databases are for TFS2012 Express

In this section we want to install the Application Tier on top of a new Data Tier. We will install a new instance of the SQL Server Express. Scroll down to Reinstall an Application Tier (Existing Data Tier) if you want to configure the Application Tier on the existing TFS Databases

Install a new SQL Server Instance

Visit this post to learn how to install a new instance for SQL Server Express 2012

Configure the Application Tier on the new created instance

We can’t use the TFS Admin Console to install the Application Tier a named instance of the SQL Server Express. The TFS Admin Console will try to install the databases on the default instance.

We will be using the TfsConfig tool to install the application tier as explained in the following steps:

Open cmd.exe as an administrator

image

From the cmd file navigate to the C:\Program Files\Microsoft Team Foundation Server 11.0\Tools directory (cd C:\Program Files\Microsoft Team Foundation Server 11.0\Tools)

image

Execute the following command

tfsconfig unattend /configure /type:basic /inputs:SqlInstance=TFS2012Express\TFSSQLExpress

Where you need to replace TFS2012Express\TFSSQLExpress with your server\sqlInstanceName

image

image

image

Launch the TFS Admin Console

Click on the Team Project Collections

image

Notice that the SQL Server Instance is that same as the named instance we created

 

Reinstall an Application Tier (Existing Data Tier)

Click on the Application Tier Node then click on the Configure Installed Features button

Select Application Tier Only

image

Select the Databases Node

Make sure you are you enter the correct SQL Server Express instance

Click List Available Databases

Select the Configuration Database and click the Next button

image

I am leaving the default user account setting and Authentication method

image

Click on verify

image

Click on configure if all verification steps passes

image

Click on Finish

image

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: