在常规TFS和克隆之间切换时刷新客户端计算机上的数据缓存 [英] Refresh the data caches on client computers when switching between regular TFS and clone

查看:81
本文介绍了在常规TFS和克隆之间切换时刷新客户端计算机上的数据缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TFS 2015环境由2台服务​​器组成:1台服务器,带有TFS 2015和SP 2010 Foundation以及1台SQL / RS / AS 2012服务器。我在Win 7工作站上克隆了TFS(自客户端操作系统以来只有TFS没有SP / AS / RS)。将测试自定义模板升级这是创建测试Win 7工作站TFS的
原因。我将连接我们的2015 prod TFS环境以进行常规管理任务,并连接到测试工作站TFS进行测试。还会有一些开发人员运行相同的程序,连接到
我们的TFS用于常规活动,并连接到我的工作站TFS仅用于测试。克隆创建通过https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-clone-hardware并根据"(克隆选项)$与原始TFS断开连接b $ b重新配置服务器ID并重新映射数据库"以及"刷新客户端计算机上的数据缓存"通过对每个团队集合使用ClientService Web服务(StampWorkitemCache方法)。 

我的问题与"刷新客户端计算机上的数据缓存"完全相关。特别是https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/backup/refresh-data-caches,因为我(管理员)和开发者都会连接一次到普通的
TFS,然后测试TFS(使用1个月前的备份创建)然后返回常规TFS等。如果我必须运行,请告诉我:

a。每次我们从一个环境切换到另一个环境时,ClientService Web服务(StampWorkitemCache方法),以及如果我必须在服务器和Win 7克隆上运行它
b。我们必须"刷新版本控制缓存"吗?我们每个工作站上的开发人员和我(来自https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/backup/refresh-data-caches,如tf workspaces / collection:http: // FabrikamPrime:8080 / tfs / DefaultCollection)
每次我们从一个环境切换到另一个环境。



"刷新客户端上的数据缓存计算机"过程对我来说不明确,而将从一个环境切换到另一个环境(prod和clone)



谢谢你,

the TFS 2015 environment consists of 2 servers : 1 server with TFS 2015 and SP 2010 Foundation and 1 SQL/RS/AS 2012 server. I cloned TFS on my Win 7 workstation (just TFS no SP/AS/RS since client OS). will be testing custom templates upgrade this is the reason for creating the testing Win 7 workstation TFS. I will be connecting to both our 2015 prod TFS environment for regular admin tasks and to the testing workstation TFS for testing. there will also be a couple developers running the same, connecting to our TFS for regular activity and to my workstation TFS for testing only. for clone creation went through https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-clone-hardware and disconnected from the original TFS as per the "(Clone option) Reconfigure server IDs and remap databases" as well as "Refresh the data cache on client computers" by using the ClientService Web service (StampWorkitemCache method) against each of the team collections. 
My question is strictly related to "Refresh the data cache on client computers" and especially https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/backup/refresh-data-caches since both me(admin) and devs will be connecting once to regular TFS and then to testing TFS (created with backups from 1 month ago) and then back to regular TFS , etc. Please let me know if I have to run:
a. ClientService Web service (StampWorkitemCache method) each time we switch from one environment to the other, and also if I have to run it both on the server AND on the Win 7 clone
b. do we have to "Refresh the Version Control Cache" on each of our workstations both developers and me (from https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/backup/refresh-data-caches like tf workspaces /collection:http://FabrikamPrime:8080/tfs/DefaultCollection) each time we switch from one environment to the other.

the "Refresh the data caches on client computers" process is not clear to me while will be switching from one environment to the other (prod and clone)

Thank you,

推荐答案

Hi HServer,

Hi HServer,

感谢您在此发帖。

每次从一个环境切换到另一个环境时,都不需要运行Web服务。并且该命令用于刷新TFS服务器上的缓存而不是客户端计算机上的缓存,因此您也不需要在每个其他客户端计算机上运行Web服务,只需
需要在任何客户端计算机上运行该服务或者服务器。

You do not need to run the web service each time you switch from one environment to another. And the command is used to refresh the cache on TFS server not on client machine, so you also do not need to run the web service on every other client machine, just need to run the service on any of the client machines or server.

最好的问候

Limitxiao Gao

Limitxiao Gao


这篇关于在常规TFS和克隆之间切换时刷新客户端计算机上的数据缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆