Install TFS (2015) Workgroup mode Proxy Server (agent)

Source: Internet
Author: User

The Proxy server (agent) for TFS is used for continuous integration compilation and publishing, which is a very convenient and efficient release and testing speed for development, test teams and operations teams, and many companies and research and development teams use this technology extensively in their own research and development testing platform.

In the process of deploying a TFS Proxy server, it is more common to deploy the application-tier server and proxy server for TFS on different Windows/linux servers, as well as server load balancing, based on the requirements of testing and deployment. This distributed deployment, typically implemented in an enterprise domain environment, is significantly less difficult to deploy because all servers in the same enterprise domain environment (or mutually trusted domains) authenticate each other through domain accounts. In some cases, however, we also need to deploy a TFS Proxy server in workgroup mode, such as a proxy server in an external public cloud environment, where such a server is unlikely to join the enterprise domain. Deployment in workgroup mode differs greatly from the deployment of a domain environment, which focuses on agent deployment in this environment.

Before you deploy a proxy server, you need to understand the different uses of several accounts:

1. Agent Pool Administrator (pooladmin)

The agent pool administrator is used to add the proxy server to the agent pool. Before deploying the agent, this account needs to be added to the agent to eat the administrator, generally we use the TFSAdmin account, such as:

Figure 1-Agent Pool Administrator

2. TFS Service Account (TFSServiceAccount)

The TFS service account is primarily used to connect to TFS servers, enabling user authentication on TFS servers. This account needs to be added to the Proxy pool service account of the agent pool, as in.

Figure 2-Agent Pool service Account

3. Local Service account (Localserviceaccount)

The local account is built on a proxy server in TFS and is primarily used to run local services (VSO agent) and implement local operations on the proxy server, such as compiling, publishing, file copying, and so on. The permissions of this account depend on the local operation behavior of the proxy server, and if there is no special security considerations, add the account directly to the local administrator. During the deployment of workgroup mode, we typically create a shadow account on a domain controller (Shadow accounts), for example in this article, I created a local. \tfsadmin account that is the same as the password for the account with the same name in the domain environment.

Next, we install the agent on a server that has Windows Server R2 installed

1. Download Agent Program

Navigate to the console interface of the TFS Server root node, click the Download Agent button, keep the downloaded content to the local directory, and unzip to the appropriate directory, in the example I unzipped to C:\TFSAgents\Agent1

Figure 3-Download the agent installation package

2. Installing and configuring a proxy server

Follow the actions to deploy the proxy server.

Figure 4-Installing the configuration Proxy Server

You're done, you'll see a successful server in the management interface of TFS, and a small green icon indicates that the server is functioning properly, such as.

Figure 5-Query Proxy server

"Precautions"

1. You need to log into the proxy server using the proxy server account you created, or the credentials created by Windows System are inconsistent with the account, causing the connection to the TFS server to fail.

2. After successful installation of the agent, compile or download the code fails, you need to check the server on the corresponding environment is configured correctly, such as Tf.exe, Java jdk,git, etc.

Http://www.cnblogs.com/danzhang/ALM MVP Zhang Hongjun

Finish

Install TFS (2015) Workgroup mode Proxy Server (agent)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.