安装和配置TFS中,遇到的一个小问题
来源:互联网 发布:麦克隋 知乎 编辑:程序博客网 时间:2024/04/29 08:10
最近心血来潮想玩TFS,还好眼前又个小项目可以练练手。于是开始安装配置起TFS,安装和配置接下去
就不废话了。随便一搜就是一大把,不过发现TFS还是挺强大的,可以做版本控制、bug管理等等...下面
就安装过程出现的问题小描下:
问题重现:在把windows server2008、vs2010、sqlserver2008+sp2、tfs2010装好后,也配置好了tfs的
数据库服务,突然发现操作系统的计算机名很难记(安装时自动生成的),于是鬼使神差的把它给改了
。再打开tfs控制台,完蛋了...整个屏幕的不可用(夸张了点)。
解决赘述:tfs肯定把这个配置信息放哪个地方了,找过来改了就OK了。但天不遂人愿,找不到。于是问
百度大神,天啊...竟然它也不是很知道...谷哥哥也差不多那德行...
很是纠结,难道要我卸了重搞,看看时间3:07了...万般无奈下,我打开tfs的帮助文件,看过msdn帮助
文档的兄弟姐妹们都知道,那文档说不到半句,就要你参照这,参照那,然后里面又是参照来参照去。
如果时间允许的话,跟着里面的参照点,我相信可以把整个微软的msdn文档都看完...
偌大的微软公司开发出了偌大的tfs难道真的这个小问题都解决不了?天无绝人之路,在浩海的msdn帮助
文档中我终于看到了一点希望,此刻我泪牛满面,是它,没错就是它...TFSCONFIG工具,再加个
REGISTERDB,乎哈哈...终于可以睡觉了,但是依照msdn中的语法,怎么弄也不行,msdn网址如下:
http://msdn.microsoft.com/zh-cn/library/ms252443.aspx
根据这个线索百度了下,有个评论写得挺不错的,引用下:
http://connect.microsoft.com/VisualStudio/feedback/details/541593/make-it-easier-to-move-
tfs-2010-databases-and-change-tfs-2010-database-connection-strings
Correction to command syntax:
1- tfsconfig prepSql /sqlInstance:<ServerName>
where ServerName is the name of the new sql instance. Repeat this command for all new sql
instances in your deployment
2- tfsconfig remapdbs /sqlinstances:<ServerName,ServerName2,..>
/databasename:<ServerName;Tfs_Configuration> /analysisInstance:<ASServerName>
where:
ServerName is the name of the sql instance hosting configuration db
ServerName2,ServerName3, ..,ServerNameN are the name of any other sqlinstances in your
deployment, you must specify all the instances in /sqlInstances option separated by commas
AnalysisInstance is the name of the sql instance hosting Analysis database
3- tfsconfig accounts /add /accountType:ApplicationTier /account:<domain name>/<user name>
/password:<domain password> /sqlInstance:<ServerName> /databasename:Tfs_Configuration
where ServerName is the name of the sql instance hosting configuration db
4- tfsconfig accounts /add /accountType:ReportingDataSource /account:<domain name>/<user
name> /password:<domain password> /sqlInstance:<ServerName> /databasename:Tfs_Configuration
where ServerName is the name of the sql instance hosting configuration db
5- tfsconfig RegisterDB /sqlInstance:<ServerName> /databasename:Tfs_Configuration
6 - In addition, if the Application Pools for Team Foundation Server were originally
configured as Network Service, the Identity of each of the Team Foundation Server
application pools also need to be changed to the appropriate domain account (as specified
in the tfsconfig accounts command above), otherwise, Team Foundation Server will still fail
to connect to the Tfs_Configuration database and TFs clients will not be able to connect to
the Tfs Web Services.
- 安装和配置TFS中,遇到的一个小问题
- tfs 配置成带有SSL的TFS 遇到的问题
- 关于TFS安装遇到的问题
- 【已经解决】安装oracle中遇到的一个小问题。。。
- 安装和配置MyEclipse时所遇到的小问题
- tomcat安装和配置时遇到的一些小问题
- 安装Windows7遇到的一个小问题
- Vim配置中遇到的小问题
- TFS的使用遇到问题
- 解决了安装kchmviewer的过程中遇到的一个小问题
- 安装配置hive中遇到的问题
- 关于配置码云的时候遇到一个小问题
- ubuntu下tomcat安装配置及idea下建立jps工程中遇到的小问题
- 遇到的一个小问题
- windows下安装oracle12c遇到的一个小问题
- 安装Djang时遇到的一个小问题
- 一个vb.net中遇到的简单的小问题
- SimpleDateFormt 使用中遇到的一个小问题
- JAVA判断输入流字符编码的困惑
- 写文章能给积分吗?
- Java从0开始
- Three issues for my Android phone
- 【Android入门】Android TabHost的使用(翻译与Android SDK)
- 安装和配置TFS中,遇到的一个小问题
- 用键盘在双显示器间移动窗口 Ubuntu
- 启动了!走几步……
- 网络传输中文本传输与二进制传输与字符集
- 2011年祝福语
- Windows Firewall Configuration for SQLServer
- use of list view and tree view
- SQL Server 2008 安装截屏
- APK安装失败的原因之一