--> Do you wish to exit the install to allow you to plan a VOB migration (Yes,
No) [yes]? no
--> Do you want to rebuild the mvfs module when install is complete (yes, no, quit, help)[no]:yes
User specified:Rebuild mvfs module: yes Enter path to your toplevel kernel source directory. Default is [/lib/modules/2.6.9-42.ELsmp/build]: User
specified:Linux
source
directory:
/lib/modules/2.6.9-42.ELsmp/build
Port on which Rational Web Platform listens for HTTP requests [80]: User specified port number: 80
Enter account name for Rational Web Platform use [nobody]: User specified Rational Web Platform account name: nobody Enter group name for Rational Web Platform use [nobody]: User specified Rational Web Platform group name: nobody ************************************************************** >> Summary of installation selections
************************************************************** ClearCase (Atria) Licensing License server host is tdccserver Install into: /opt/rational Install method:local Install model:full
Linux source directory: /lib/modules/2.6.9-42.ELsmp/build Rebuild mvfs module: yes Registry backup host(s): tdccserver Registry host is tdccserver Registry region: tdcc_linux
Release area pathname:/cqbk/cc_src/7.0.0/linux_x86 Continue installation?(yes, no, quit)[yes]:yes --> ................
FINAL: tdccserver1 Errors:0 Warnings:0
4.2 配置 ClearCase
? 添加环境变量
vi /etc/profile
在export前增加下面一行
PATH=\ 使其生效 source /etc/profile
? 注册lincense
编辑一个license.db文件,放到/var/adm/rational/clearcase/ 路径下 cp license.db /var/adm/rational/clearcase/
? 创建clearcase用户组,创建clearcase_albd用户
4.3 启动clearcase服务
service clearcase restart
5 配置CC WEB服务器
5.1 配置ccweb.conf文件
Linux CC不支持中文文件名,因此建议使用windows 客户端做为webserver
将ccweb.conf 从 ..\\clearcase\\config\\ccweb
移到 ..\\rational\\clearcase\\config中,修改以下内容,去掉#。 -view_storage f:\\viewstore //view 共享目录
-tmpdir c:\\temp //temp目录,这个目录必须提前建立
5.2 修改linux用户密码加密方式
由于 ClearCase 对 Linux 用户的密码不支持使用 Linux 默认的 MD5 加密方式,所以如果我们没有修改 Linux 默认的口令加密方式的话,普通用户在 CCRC 登录时,系统会提示用户密码错误。解决这个问题的办法就是取消 Linux 使用 MD5 的口令加密方式。操作方法:在终端输入 authconfig,取消选中“使用 MD5 口令”。然后,使用 passwd 命令修改系统已有用户的密码,如 root、ccadm 账号。
另一种方法是在使用webmin创建用户的时候,密码使用明文
6 创建基于windows的cc管理平台
6.1 设置linux环境
? 创建windows域
cleartool mkreg –tag cc_win
? 创建专门的 VOB Storage、View Storage和存放vob tag的目录,并且设置目
录的 owner 和 group:例如
[root@ccserver vobstore]# chown zhaoxin viewstore [root@ccserver vobstore]# chown zhaoxin vobstore
[root@ccserver vobstore]# chown zhaoxin vobs vobstore viewstore [root@ccserver vobstore]# chmod 755 viewstore/ vobs/ vobstore/ [root@ccserver vobstore]# chgrp epdn viewstore/ vobs/ vobstore/ ? 使cc识别VOB Storage、View Storage
cleartool> mkstgloc -view view_linux /vobstore/viewstore cleartool> mkstgloc -vob vob_linux /vobstore/vobstore
如果客户端创建的视图都存储在本地,可以不必在linux 上面创建View Storage
6.2 客户端加入samba域
? 增加wins ,IP为samba服务器的IP ? 通过更改网络ID将用户加入samba域
在验证过程中使用samba超级用户root的帐号
7 创建CC VOB
7.1 webmin创建项目组 7.2 创建PVOB、VOB
? 创建PVOB
mkvob -tag /ep_pvob -stgloc vob_linux -ucmproject
? 创建VOB
mkvob -tag /vob_ep -stgloc vob_linux (创建vob)
7.3 同步vob tag
在windows管理端使用 region synchronizer,将在epcc_linux域下面的vob tag同步到cc_win下面
8 使用windows管理端的cc客户端创建组件项目等
除了vob必须在linux系统使用命令行创建外,其他管理操作都可以通过客户端完成。方法同《Windows环境下ClearCase搭建手册》
9 配置trigger
? 创建triger:
执行下面命令。triger名称@\\PVOB名称,例如:NO_MKSTREAM@\\T_34_PVOB cleartool mktrtype -c \禁止普通用户创建Stream.\-nuser zhaoxin -exec \\\\\cccq-server\\cc_trigger\\NO_MKSTREAM.PL\NO_MKSTREAM@\\T_34_PVOB ? 修改tirgger:
cleartool mktrtype -c \禁止普通用户创建Stream.\-replace -ucmobject -all -preop mkstream
-nuser
zhaoxin
-exec
\
\\\\cccq-server\\cc_trigger\\NO_MKSTREAM.PL\? 删除trigger
cleartool rmtype trtype NO_REBASE@\\T_34_PVOB
10 生成ClearCase的安装发布区
执行clearcase安装文件
? 选择server,否则albd服务容易安装失败
? 安装的特性只选中MVFS