![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Clearcase/Git技术
cn_chenfeng
希望结交技术朋友,探讨MySQL/Oracle/NoSQL技术。
展开
-
ClearCase诊断案例-删除View在VOB上关联的Checkout信息
今天接到研发人员的电话,报告说不能执行checkout命令,报错信息如下:cleartool: Error: Directory element "TestCases" is already checked out to view "no-tag-in-region>".故障分析:1). 使用ClearCase Admin用户登陆并进入相应目录查找checkout的信息:$cd原创 2008-02-02 10:00:00 · 1650 阅读 · 0 评论 -
如何从一个non-UCM vob中恢复用rmelem误删除的元素?
1) umount需要恢复元素的vob(原始的vob),移除tag并解除注册;2) 从最近的备份中恢复vob,不要恢复到原位置, 可以恢复到vob host上别的临时的目录(事先可以创建好)。3) 为恢复的vob注册object并创建tag,取名为VOB_A;4) 创建一个临时的VOB_B用于存储恢复的元素并做中间存储之用;5) 用cleartool relocate命令将VOB原创 2008-06-03 19:30:00 · 1261 阅读 · 0 评论 -
VOB migration steps on windows
1. stop clearcase on target server 2. lock vob 3. unregistry & untag the vob 4. stop clearcase service on the vob server 5. kill all processes for the vob 6. reboot vob server原创 2008-06-11 11:41:00 · 913 阅读 · 0 评论 -
How to copy all view private files and Derived objects between views
Problem When creating new views in an IBM Rational ClearCase environment, it is sometimes desirable to copy another views configuration, including view-private files. This technote illustrates a pr转载 2008-06-24 17:01:00 · 1113 阅读 · 0 评论 -
Clearcase Tunning
本文转自:http://blog.chinaunix.net/u/10296/showart_349835.html性能调整是一个很头疼的问题。这段时间做了一下clearcae的性能调整。当前系统需要做整个项目的编译,涉及大量的文件。在未调整前,完整的编译需要5个半小时。调整后,完整的编译需要4小时。 很好的一篇文章:http://www.ibm.com/developerwo转载 2008-06-30 14:48:00 · 1266 阅读 · 0 评论 -
ClearCase故障处理一例:解决eclipsed状态的私有文件不能被删除
原贴如下:http://bbs.scmlife.com/viewthread.php?tid=12602&page=1#pid101508找了台实验机模拟故障并测试了一下,发现thyswallow网友给出的解决方案可行。以下是实验步骤:Z:/28848654_test1/dsf_test>cleartool co -nc makefile Checked out "makefi原创 2008-07-03 14:19:00 · 2559 阅读 · 0 评论 -
如何查出VOB Server上哪个VOB最繁忙的?
可以使用albd_list命令,统计一下哪一个VOB相关的PID最多!原创 2008-11-20 11:43:00 · 1007 阅读 · 0 评论 -
How to remove a replica.
Z:/test/dsfvob_202>multitool lsmaster -inreplicas -all dsfvob_204In replica "dsfvob_202"master replica: dsfvob_204@/dsfvob_202 "file element" Z:/test/dsfvob_202/command.txt@@master replica: dsfvob原创 2009-02-23 16:34:00 · 1392 阅读 · 0 评论 -
How to convert a type object from unshared to shared.
Z:/test/dsfvob_204>cleartool mklabel dsf command.txtcleartool: Error: Unable to perform operation "make label" in replica "dsfvob_204" of VOB "/dsfvob_204".cleartool: Error: Master replica of label ty原创 2009-02-23 16:23:00 · 1213 阅读 · 0 评论 -
快速清除"Lost+Found"目录的方法
Windows系统:K:/view_123/VOB_Name/lost+found>cleartool find . -type d -name "*.*" -exec "cleartool rmelem -f %CLEARCASE_XPN%" K:/view_123/VOB_Name/lost+found>cleartool find . -type f -name "*.*" -ex原创 2009-04-08 13:50:00 · 3360 阅读 · 0 评论 -
Rational产品客户服务资源
有三种方式可以提交您的问题(PMR: Problem Management Record)给IBM Rational产品客户服务团队1. 电话 Toll Free: 10-8006-100349 *在这个网页可以找到其它产品的客服电话 http://www.ibm.com/planetwide/cn/2. 邮件 IBM Rational 客户支持电子邮件地址转载 2009-07-07 11:30:00 · 1236 阅读 · 0 评论 -
Git和ClearCase优缺点比较
Git和ClearCase优缺点比较转载 2011-03-09 14:46:00 · 8115 阅读 · 3 评论 -
Setting up a new remote git repository
Setting up a new remote git repository转载 2011-03-11 17:09:00 · 2274 阅读 · 0 评论 -
How to remove group and project in Gerrit
Group1. access gerrit sql database cmd: ssh -p 29418 192.168.0.1 gerritgsql2. gerrit> deletefrom ACCOUNT_GROUP_NAMES where name=转载 2011-09-08 14:55:28 · 5700 阅读 · 0 评论 -
How to change the ClearCase view's owner and group
Requirement: I wanted to change the views owner to 28848654, group to CNBJ_GROUP.The below steps I should have followed:1) Stop View_Server process:cleartool endview -server view_shufeng_debu原创 2008-05-05 22:38:00 · 1234 阅读 · 0 评论 -
ClearCase故障分析和处理一例
Symptom Attempts to register or create a VOB results in the following error:cleartool > register -vob //server/clearcase_storage/linux_docvob.vbscleartool:Error:failed to record hostname "server" in原创 2008-05-03 22:52:00 · 2979 阅读 · 0 评论 -
如何查找一个分支是基于哪个版本拉出来的
要查找一个Branch是基于哪个Version拉出来的,只需要找出该branch下的第一个version的之前版本就可以了。以下是个例子:$ cleartool find Internal_Tools -ver brtype(cnbj_dsf_tools_001) -exec cleartool desc -fmt "%[version_predecessor]p/n" %CLE原创 2008-05-03 17:24:00 · 1373 阅读 · 0 评论 -
How to Rename a View in ClearCase
1). Stop the view. Run cleartool endview Note: For ClearCase only, any host that has a dynamic view started with the old name after the rename has been completed will need to be rebooted to clear th转载 2008-02-03 16:22:00 · 1548 阅读 · 0 评论 -
如何在ClearCase视图中查找私有文件(view-private)
静态视图:用cleartool ls -recurse -view_only命名, 例如: E:/user1_snap/my_test_vob>cleartool ls bye.txt.unloadedclearmake@@/main/4 Rule: /main/LATESTcs.txt@@/main/4 [not loaded] Rule:原创 2008-02-03 15:18:00 · 2551 阅读 · 0 评论 -
ClearCase免费在线培训课程
以下课程是免费的,但是必须要提前在IBM网站上注册一下才能在线观看:SCM011: Getting Started with Rational ClearCase v2002http://www-128.ibm.com/developerworks/rational/library/4162.htmlSCM012: Getting Started with Rational ClearCa原创 2008-02-14 13:36:00 · 1149 阅读 · 0 评论 -
如何在ClearCase里重命名VOB Tag
重命令VOB Tag的步骤大致如下:操作系统: Windows 2003 Server1. 列出原VOB Tag:E:/> cleartool lsvob /A /A //host100/vobstore/LDS_A.vbs private (replicated)2. 锁住当前VOB, 防止开发人员对它的修改:E:/> cleartool lock vob:/ALoc原创 2008-03-01 16:57:00 · 1569 阅读 · 0 评论 -
ClearCase管理员的任务
典型的ClearCase 管理员的任务包括下面几项:1. 设计和配置ClearCase的地点2. 安装ClearCase 3. 设计和实现访问控制的策略 4. 导入数据到ClearCase 存储库5. 管理ClearCase 许可证服务器6. 在确定的时间使用工作自动化.7. 管理ClearCase注册服务器8. 管理VOB9. 管理VIEW10. 解决ClearC转载 2007-12-17 13:21:00 · 1079 阅读 · 0 评论 -
How to solve ClearCase Installer Error 1316
SYMPTOMS:When you install your ClearCase Client software, you may receive the following error message:"Error 1316. A network error occurred while attempting to read from the file C:/WINDOWS/Instal原创 2008-03-09 13:01:00 · 2143 阅读 · 0 评论 -
ClearCase中View的完全移除方法
方法1:在Administration Console中,找到View的存储节点:ClearCase Network-Views-(View的存储节点),在要删除的View上点右键-所有任务-Remove view。方法2:在Administration Console中,1. ClearCase Registry-Regions-windows-View Tags,在要删除的View Tag上点转载 2007-12-17 13:31:00 · 4694 阅读 · 0 评论 -
ClearCase的备份策略(经典)
1 前言ClearCase在IT软件开发公司中作为配置管理平台被使用时,由于存放着大量重要IT项目数据,所以许多公司愈来愈重视ClearCase数据的备份保存。因此本文以>中的第10章为依据和引用,在翻译的基础之上对常见的ClearCase备份策略进行阐述。 2 ClearCase数据的备份 ClearCase管理人员重要任务就是定期备份数据。管理员在针对ClearCase VOB和V转载 2008-03-16 20:21:00 · 2230 阅读 · 0 评论 -
我谈配置管理员的发展前景
个人认为做配置管理员的发展方向还是挺多的,总结如下:1. 做SCM工具的专家,这个职责需要精通ClearCase和ClearQuest,在公司里面往往担任比较重要的角色,例如:Clearcase/ClearQuest Administrator,目前这样的人才在市面上比较吃香,收入也不错,而且将来也有可能进入象IBM这样的大公司做技术顾问;2. 做SCM流程的专家,这个职责一般需要有3到5原创 2007-12-30 23:36:00 · 2830 阅读 · 2 评论 -
ClearCase棘手错误解决方案
cleartool: Error: Not an object in a vob: "filename". This error occurs when you try to execute a cleartool command on something that is not inside a VOB. The file being worked on must reside be转载 2008-03-27 20:01:00 · 15690 阅读 · 0 评论 -
ClearCase应用模型总结
国内各大公司的ClearCase应用模型,现总结出来如下:1. 基本的版本控制,label实现的基线控制,无分支 2. 多分支,base CC,仅有或无基本的trigger 3. 流程控制,trigger定制实现的流程控制,非UCM,并行开发 4. 多分支,并行开发,流程完善,UCM模式 5. 构建管理,clearmake或其它构建管理工具,实现了自动化构建 6. CQ实转载 2008-01-02 01:10:00 · 865 阅读 · 0 评论 -
Clearmake与GNU make的比较
Clearmake主要适用于使用UNIX型的makefile的用户,它本身兼容GNU make。 在执行建立脚本期间,clearmake在ClearCase的多版本文件系统下执行一个建立追踪,它会记录每个派生对象被构建时的信息。使用Clearmake的优势:1). 它可以和clearcase配合,将生成的目标文件,库文件和二进制文件(DO)共享;2). 支持并行构建和分布式构建,并原创 2008-01-02 15:24:00 · 2359 阅读 · 0 评论 -
快速清理垃圾元素lost+found的方法
For Unix, 例如:$ cleartool rmelem -force /VOB/lost+found/*.* For Windows, 例如:进到lost+found目录,执行cleartool命令:d:/VOB/lost+found>cleartoolcleartool> rmelem -force *.*注意:Windows平台上cleartool rmelem命令不能在一原创 2008-01-15 10:43:00 · 2680 阅读 · 0 评论