02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM...

33
02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence Part 1 of 2

Transcript of 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM...

Page 1: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

02 | Install and Configure Team Foundation Server

Anthony Borton | ALM Consultant, Enhance ALMSteven Borg | Co-founder & Strategist, Northwest Cadence

Part 1 of 2

Page 2: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

• Install Team Foundation Server

• Configure the application tier

• Migrate and upgrade Team Foundation Server

• Install and configure Lab Management

• Install and configure multiple build agents and controllers

Module Overview

Page 3: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Click to edit Master subtitle style

Microsoft Virtual AcademyInstall Team Foundation

Server

Page 4: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

What the Study Guide says…

• Install Team Foundation Server.– SQL Server version support– installing Team Foundation Server in a multi-tier or multi-

machine environment– installing Team Foundation Server in a load-balanced

environment– setting up a version control proxy server

Page 5: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Step 1

• Download the TFS Install and Administration guideshttp://examcr.am/10Ln5E4

Page 6: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

DEMO

Microsoft Virtual Academy

Kick off the SQL Install

Page 7: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Installation Prerequisites

Operating System

• 64-bit Windows Server 2008# with Service Pack 2

• 64-bit Windows Server 2008 R2# with Service Pack 1

• 64-bit Windows Server 2012 #

• BASIC can also install on the following clients–Windows 8 (32-bit or 64-bit)–Windows 7 with Service Pack 1 (32-bit or 64-bit)

• # Server Core installations are not supported.

Page 8: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Installation Prerequisites

Internet Information Server

• IIS is now automatically installed for you by the TFS installer.

• In previous versions you needed to manually install IIS prior to installing TFS.

Page 9: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Installation Prerequisites

SQL Server

• TFS 2012 requires SQL Server 2008 R2 or SQL Server 2012

• The Basic install option installs SQL Server 2012 Express.

• You can use an existing installations of SQL Server  provided it meets certain requirements.

Page 10: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Installation Prerequisites

SharePoint Products

• SharePoint Foundation 2010– Install manually or as part of TFS installation– Can be on TFS Server or different server– If not installed on TFS Server, requires Extensions for

Windows SharePoint Services on the server that is running SharePoint Products

• SharePoint Server 2010– Standard or Enterprise editions supported– Enterprise provides access to 5 extra dashboards

Page 11: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

TFS Installation Options

• TFS 2012 supports a much wider range of installation options than previous versions. TFS 2012 installation options include:– Basic– Standard Single server installation– Advanced– Application-Tier only– Upgrading TFS from an earlier release of it– Build services installation– Proxy services installation

Page 12: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

TFS 2012 Topology

TFS AT HR Applications

Single TFSinstance

Combined App and Data Tier

Page 13: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

TFS 2012 Topology

TFS AT HR Applications

App Tier

ClusteredSQL Server

Data Tier

Page 14: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

TFS 2012 Topology

TFS AT

HR Applications

Finance Applications

TFS AT

TFS AT

NLB

VIP

Network Load

BalancingTeam

Project Collections

Page 15: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Installing Team Foundation Server in a multi-tier or multi-machine environment

• Multi-tier environments can enhance the availability, scalability, and performance of your application tier. 

• To benefit from multiple application-tier servers, you should ensure that your initial deployment of TFS includes the following characteristics: – The application tier and the configuration database are

installed on separate servers.– You used a domain account for the Team Foundation

Server service account (TFSSERVICE).– Network Load Balancing (NLB) is deployed.

Page 16: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

The TFS Version Control Proxy

• If you have developers at a remote site who are sharing code with developers at the main site, you might save bandwidth by caching version control files at the remote location.

• Team Foundation Server Proxy distributes popular version control files from its cache at the remote site, rather than having multiple developers from the remote site each download the same file from the main site.

• Your team at the remote site works like they always have, without managing which version control files get loaded into the cache.

http://examcr.am/13xEgQn

Page 17: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

TFS Proxy System requirements

• You can install Team Foundation Server Proxy on a server that is running one of the following server operating systems:– 64-bit versions of Windows Server 2008 with SP2 (Standard

or Enterprise Edition) – 64-bit versions of Windows Server 2008 R2 (Standard or

Enterprise Edition) – 64-bit versions of Windows Server 2012

Page 18: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Configuring TFS Proxy to use more disk space• To change the amount of disk used by the TFS Proxy,

you need to edit the PROXY.CONFIG file

• C:\Program Files\Microsoft Team Foundation Server 11.0\Version Control Proxy\Web Services\VersionControlProxy <CacheLimitPolicy> <!-- Cache limit expressed as percentage of disk space --> <PercentageBasedPolicy>75</PercentageBasedPolicy> <!-- Cache limit expressed as MB --> <!-- <FixedSizeBasedPolicy></FixedSizeBasedPolicy> --></CacheLimitPolicy>

Page 19: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.
Page 20: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

MSDN Resources

TOPIC LINK

SQL Server version support http://examcr.am/XLNcNs

installing Team Foundation Server in a multi-tier or multi-machine environment

http://examcr.am/ZEwtIC

installing Team Foundation Server in a load-balanced environment

http://examcr.am/ZEwtIChttp://examcr.am/13mQuYd

setting up a version control proxy server http://examcr.am/13xEgQn

Install Team Foundation Server

Page 21: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Click to edit Master subtitle style

Microsoft Virtual Academy

Configure the application tier

Page 22: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

What the Study Guide says…

• Configure the application tier.– validating an installation– configuring SMTP for Team Foundation Server– changing the URL (friendly name)– changing the default SharePoint web application– setting up reporting (SQL Server Analysis Services)

Page 23: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

validating an installation

To review server status

1. Open the administration console for Team Foundation.

2. Under the server name, choose Application Tier.

3. Review the status of the server components of Team Foundation.

To review log files

4. Open the administration console for Team Foundation.

5. Under the server name, choose Logs.

6. Find the log that you want to review in the list, and then either double-click it to open it, or highlight it and then choose Enter.

Page 24: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Configuring SMTP Settings for TFS

• Sending emails is an important capability of Team Foundation Server

• Emails can be configured for TFS Alerts or for sending things such as list of work items to other users

• You need to ensure your TFS server has been configured with details for an SMTP server

• You can provide details including SMTP Server, Sender, Credentials, non-standard ports and SSL.

Page 25: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Troubleshooting SMTP Settings

• Make sure any firewalls allows communication between your TFS Server and your SMTP Server

• Make sure your SMTP Server allows anonymous senders to send email or make sure the TFSService account has rights to send email

Page 26: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

DEMO

Microsoft Virtual Academy

Configuring the SMTP settings for TFS

Page 27: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Changing the URL (friendly name)

Part one – On the TFS Server

1. On the TFS application-tier, open the administration console for Team Foundation Server.

2. In the navigation bar, choose Application Tier, and then click Change URLs. The Change URLs window opens.

3. In Notification URL, type the URL for the new application-tier server, and then choose OK.

Page 28: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Changing the URL (friendly name)

Part two – On the SharePoint Server

1. On server running SharePoint, open the administration console for Team Foundation Server.

2. In the navigation bar, choose Extensions for SharePoint Products, select the SharePoint Web Application and then click Modify access.The Access for Team Foundation Server window opens.

3. In URL for Team Foundation Server, type the URL for the new application-tier server, and then choose OK.

Page 29: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Changing the default SharePoint web application

Page 30: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

Setting up reporting (SQL Server Analysis Services)• Follow the walkthrough available at

http://examcr.am/Zy6dU9

Page 31: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

MSDN Resources

Configure the application tier

TOPIC LINK

validating an installation http://examcr.am/12tsDXX

configuring SMTP for Team Foundation Server

http://examcr.am/10oe6yF

changing the URL (friendly name) http://examcr.am/13mQKX1

changing the default SharePoint web application

http://examcr.am/11MPZGC

setting up reporting (SQL Server Analysis Services)

http://examcr.am/14CSGzqhttp://examcr.am/Zy6dU9

Page 32: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

• Download and read the TFS Install and Administration guideshttp://examcr.am/10Ln5E4

• Make sure you’re well aware of the system requirements

• Make sure you’re familiar with multi-server installations

• Make sure you are confident configuring integration with SharePoint and Reporting Services

EXAM BEST BETS

Page 33: 02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.

©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.