Thumbnail image

Team Foundation Server 2010 Installation (ALM-II)

!
Warning: This post is over 365 days old. The information may be out of date.

In the previous post in this series we discussed the need to follow an application lifecycle management methodology for managing Microsoft Dynamics AX 2012 solutions. We also saw that the main tool to manage the technical side of this lifecycle is Microsoft Team Foundation Server. In this installment we will see how to install and configure the environment to start working.

Prerequisites

I assume we already have a working Microsoft Dynamics AX 2012 environment for testing, which means the following prerequisites are installed:

For a full Team Foundation Server installation, SharePoint services are also required. These may or may not already be installed in our Microsoft Dynamics AX 2012 environment. In my case they were not, so I installed:

And for installing Team Foundation Server itself, I am going to install:

A Visual Studio instance is also useful for project maintenance tasks. In typical Microsoft Dynamics AX 2012 setups, we usually have Visual Studio 2008 on the Microsoft SQL Server machine (Visual Studio 2008 BIDS) and Visual Studio 2010 on the machine where we develop for Microsoft Dynamics AX 2012. The connection works with both versions and does not affect projects created on the server, but to connect from Visual Studio 2008 BIDS you must install the following updates:

TFS 2010 Installation and Configuration

WSS installation is relatively simple, as is Team Explorer installation (the update listed above is mandatory), so we will focus on installing Team Foundation Server 2010. For production environments, the recommendation is to install it on a dedicated server, but for testing it can be installed on another server. Likewise, we will later see that it is also recommended to use a dedicated server for the Build service, although for now I am not going to install it. I will not go into detailed installation steps because it is a simple and intuitive setup wizard:

TFS2010 - Configuration

After installing TFS2010 services, we need to run the configuration wizard (it starts automatically after first installation) and, unless we meet the limited prerequisites for a standard setup, we choose Advanced server configuration mode:

TFS2010 - Advanced

This wizard asks for the address and credentials to connect to SQL Server instances:

TFS2010 - SQL Server

SQL Server Reporting Services

TFS2010 - Reporting Services

SQL Server Analysis Services

TFS2010 - Analysis Services

Windows SharePoint Services

TFS2010 - SharePoint Services

And the result should look like this:

TFS2010 - Configuration OK

As shown in the log, in my case there was an error creating the project collection, so I proceeded to create it manually:

Create a Project Collection

The next step is creating a project collection to group projects that will be stored on the server. Start this wizard from the Team Project Collections node and the Create Collection button. The wizard is not too complex, so after assigning a collection name we should get a result similar to this:

TFS2010 - Create Collection OK

In my case, it did not work on the first try because I had to adjust permissions for the user running TFS2010 services on the SharePoint site created to store project collections. Information is available at: Set Administrator Permissions for Team Project Collections.

TFS2010 - Sites

Once installation finishes, the wizard itself shows the useful URLs that were created to manage our projects. The first is the URL we will use in programs that connect to this server (including AX), and the second is the URL we open in a browser to manage projects via web.

TFS2010 - URLs

Test the Installation

To test the installation, browse to one of the URLs provided by the installer and verify the system is working. We should see our collection list (empty by default, I already created a couple) and, for now, no projects:

TFS2010 - Team Web Access

Notes About the Version

These articles and the next ones are based on a Team Foundation Server 2010 connection because this is the version supported by Microsoft Dynamics AX 2012. It is worth experimenting with the next version of the suite, which can already be tested at the following links, both traditional edition and the new cloud modality (or as a service, currently fashionable):

Microsoft Dynamics AX 2012 Configuration

In the next chapter we will put our newly installed Microsoft Team Foundation Server to work, create our project and some tasks, and see how to use this tool as the front-end of our methodology. We were talking about methodologies, remember? :)

References

Posts in this series

Related Posts