安装和配置TFS中,遇到的一个小问题
2011-01-31 03:26
555 查看
最近心血来潮想玩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还是挺强大的,可以做版本控制、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.
相关文章推荐
- SharePoint 2010 RBS 安装和配置遇到的一个问题
- 今天遇到一个问题才知道如果安装了命名实例 SSIS Service 需要手动更改配置文件
- 安装配置时遇到的基本问题及解决方案
- SQL Server 2008 安装过程中遇到“性能计数器注册表配置单元一致性”检查失败 问题的解决方案
- 安装 Visual Stdio.net 2003 时遇到的一个问题
- 安装php遇到的一个问题
- 关于安装配置Android相关资源遇到的问题及相关解决方案
- 今天配置spring-mybites时遇到一个创建不了sqlSessionFactroy的问题
- win7 64位 ,安装配置cx_Oracle,遇到的一些问题及解决方法
- 安装Ubuntu时遇到的问题,做一个笔记记录一下
- 为SharePoint的多台WFE配置Windows自带的NLB遇到的一个问题
- Centos6.5离线配置CDH5.1心得和遇到的问题(已安装成功)
- 安装64位win7后配置php mysql Apache 遇到问题并解决~~
- oracle数据库安装与配置遇到的问题
- SQL Server 2008 安装过程中遇到“性能计数器注册表配置单元一致性”检查失败 问题的解决方法
- 安装及配置PHP所遇到的问题汇总
- 安装配置 AWStats 的文档以及遇到的问题
- 总结VMware中安装centos7并配置jdk、tomcat、mysql中遇到的问题
- redis的安装过程基本配置及遇到问题的解决
- 安装 Atlas 时遇到一个小问题