TFS克隆后刷新数据缓存 [英] Refresh data cache after TFS cloning

查看:55
本文介绍了TFS克隆后刷新数据缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TFS 2015环境包括:


  1. TFS服务器:tfs.contoso.com(公司开发人员使用的常规TFS服务器)
  2. 在Win 7上创建克隆Pro机器:workstation1.contoso.com(仅在客户端机器上恢复TFS以运行模板升级测试
    和常规测试)。
  3. 还有客户端/开发人员机器:client1.contoso.com,client2.contoso.com。这些将连接到常规TFS(tfs.contoso.com)
    用于代码访问等,并连接到克隆(workstation1.contoso.com)用于测试目的 


作为克隆的一部分,我在克隆结束时在克隆Win 7机器上运行带有StampWorkitemCache的ClientService.asmx(
step
https://www.visualstudio.com/克隆文档中的en-us / docs / setup-admin / tfs / admin / move-clone-hardware#refresh-the-data-cache-on-client-computers
style ="background:white; color:#666666; line-height:107%; font-family:'Segoe UI',sans-serif; font-size:10.5pt">) 
我的问题与此步骤有关"刷新客户端计算机上的数据缓存"和
https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/backup/refresh-data-caches   因为我(admin)
和开发人员将连接到常规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://tfs.contoso.com:8080/ tfs / DefaultCollection"


#然后


"tf workspaces /collection:http://workstation1.contoso.com:8080/tfs/DefaultCollection "


每次我们从一个环境切换到另一个环境。



谢谢,

解决方案


您的环境就像您有两个TFS服务器,每次从一台服务器切换到另一台服务器时都不需要清理缓存。


祝您好运,


The TFS 2015 environment consists of:

  1. TFS server: tfs.contoso.com (regular TFS server used by company developers)
  2. Created a clone on a Win 7 Pro machine: workstation1.contoso.com (restored TFS only on client machine in order to run template upgrade testing and regular testing).
  3. There are also client/developer machines: client1.contoso.com, client2.contoso.com . these will connect to regular TFS (tfs.contoso.com) for code access, etc and to the clone (workstation1.contoso.com) for testing purposes 

As part of the cloning I run ClientService.asmx with StampWorkitemCache on clone Win 7 machine at the end of the cloning ( step https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-clone-hardware#refresh-the-data-cache-on-client-computers in the cloning documentation. My question is related to this step "Refresh the data cache on client computers" and https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/backup/refresh-data-caches  since both me(admin) and developers will be connecting on and off to regular TFS and then to cloned 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://tfs.contoso.com:8080/tfs/DefaultCollection "

# and then

"tf workspaces /collection:http://workstation1.contoso.com:8080/tfs/DefaultCollection  "

each time we switch from one environment to the other.

Thank you,

解决方案

Hi,

You environment is like you have two TFS servers, you don't need to clean cache every time when you switch from one server to another.

Best regards,


这篇关于TFS克隆后刷新数据缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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