Azure DevOps Server 2022 | Azure DevOps Server 2020 | Azure DevOps Server 2019
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. Azure DevOps Proxy Server 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.
To set this up, you install and configure the proxy server at the remote site, connect the proxy server to the application tier, and then connect the version control feature of Team Explorer to the proxy. Before you can start to cache files at the remote site, you must add the service account for the proxy server to Azure DevOps Server at the main site.
You can use the following procedure to configure Azure DevOps Proxy Server with the Azure DevOps Server Configuration Center.
To follow this procedure, you must have the following permission levels:
Membership in the Administrators security group on the server on which you are configuring Azure DevOps Proxy Server.
Membership in the Project Collection Administrators group on Azure DevOps Server.
For Azure DevOps Services you either need to be a collection admin, or have manage proxy permissions on the Proxy namespace. You can grant proxy permissions using:
To configure Azure DevOps Proxy Server, you must have Azure DevOps Server installed on a server operating system. For more information, see System requirements for Azure DevOps Server.
To configure Azure DevOps Proxy Server by using the Azure DevOps Server Configuration Center, follow these steps:
Select Configure Azure DevOps Proxy Server, and then select Start Wizard.
The Azure DevOps Proxy Server Configuration wizard appears.
Read the Welcome screen, and then select Next. If you had a version of TFS 2013 proxy (this feature only works with TFS 2013 proxy and forward) set up on this server, you're prompted to restore your settings. If you want to configure this proxy server with different resources, select No and move on to the next step. If you want to connect the proxy to the same Azure DevOps Server servers, select Yes. Azure DevOps Server will attempt to authenticate. If Azure DevOps Server successfully authenticates all endpoints, skip to step 4.
If there is a problem with one or more endpoints, you have the following troubleshooting options for each failed connection:
Connect: Use this option to manually authenticate endpoints. Manual authentication is a good place to start with any failed connection.
Skip: Use this option to skip authentication. Skip is useful when you don't yet have the password to authenticate this endpoint, and you want to save the connection information for another try later.
Remove: Use this option to completely remove the endpoint.
Select Browse, and then select the project collection to which you want this proxy server to connect. Select Next.
Under Service Account, select Use a system account to use Network Service or Use a user account to use a domain or local account. If you are using a user account, you must enter the password. To test the user account and password combination, select Test.
Network Service is the default value for the proxy server service account.
The following optional configurations appear under Advanced Configuration:
If you're connected to the hosted service, Account Name appears here.
When you created the instance of Azure DevOps Server on the hosted service, Account Name was automatically created for you. This account will be added to the Project Collection Proxy Service Accounts group on the hosted service. To use a different account, enter the account name and select Test.
To reset to the default service account automatically created for you, select Reset to default service account. This is no longer applicable for Azure DevOps Server 2017 Update 2 and newer proxy servers.
You can change authentication settings. Under Authentication Method, select NTLM to use NTLM authentication, or Negotiate (Kerberos) to first attempt Kerberos authentication, which is the more secure option, and if that fails, fall back to NTLM.
NTLM is the default value.
Select Next.
In Port, accept the default value of 8081 or enter a different listener port number for incoming connections to Azure DevOps Proxy Server.
8081 is the default value.
In Cache Root Directory, accept the default value, or enter the path of a different location in which to store cache files.
The default value is Drive:Program FilesTFS 12.0Version Control Proxy _tfs_data
Drive is the letter of the drive on which you want to store cache files. You can specify a mapped network drive.
Select Next.
On the Review page, review the settings, and then select Next.
The wizard validates your configuration.
Select Configure for the wizard to apply configuration settings.
Select Next on the success screen to read the detailed results on the next success screen. You will also find a link to a log on this screen that contains the results of the configuration.
Select Close twice and the Azure DevOps Server Administration Console will appear.
You can configure Team Foundation version control to use a proxy server, which caches copies of version control files in the location of a distributed team. You may reduce bandwidth requirements for remote developers by using a proxy server.
To follow this procedure, you must be a member of the Users security group on the computer on which you are configuring Team Explorer.
To configure Team Explorer to use Azure DevOps Proxy Server:
Launch Visual Studio.
On the Tools menu, select Options.
In the Options dialog box, expand Source Control, and then select Plug-in Selection.
For Current source control plug-in, ensure the value is Visual Studio Team Foundation Server.
Under Source Control, select Visual Studio Team Foundation Server.
Select the Use proxy server for file downloads check box.
In the Proxy server name box, enter the name of the server running Azure DevOps Proxy Server.
In the Port box, enter the listener port for Azure DevOps Proxy Server. By default, Azure DevOps Proxy Server listens for client requests on port 8081.
A: Yes. The proxy server is fully compatible with TFS 2010 and TFS 2012. In fact, TFS Proxy 2010, TFS Proxy 2012, and the proxy server are fully compatible with one another in any combination. For example, you can use TFS Proxy 2010 with the proxy server or vice versa.
A: Yes. The proxy server has cache cleanup improvements to support large disks.
A: Yes. If a cached file becomes corrupted on a disk after it was stored, the proxy server has logic to detect the corruption.
A: Yes.
本网信息来自于互联网,目的在于传递更多信息,并不代表本网赞同其观点。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,并请自行核实相关内容。本站不承担此类作品侵权行为的直接责任及连带责任。如若本网有任何内容侵犯您的权益,请及时联系我们,本站将会在24小时内处理完毕,E-mail:xinmeigg88@163.com
本文链接:http://www.ksxb.net/tnews/2055.html