如何将ClearCase视图移动到新域? [英] How to move ClearCase view to a new domain?
问题描述
我们处于将VOB成功地从A域移到B域的情况(ClearCase服务器正在Windows上运行,并且仅使用一个ClearCase服务器)。
现在,我们尝试更改视图权限以防止创建新视图,但似乎它们仍在同一域中。
We are in situation where we successfully moved the VOBs from A domain to B domain (ClearCase server is running on Windows and we use one ClearCase server only). Now we try to change the views permission in order to prevent creating new views, but it seems that they're still on the same domain.
我尝试过
fix_prot -force -replace ...vws
fix_prot -root -rec -chown -chgrp ...vws
效果很好,没有错误,但是当我尝试查看属性时,仍在\username
It works good with no errors, but when I try after to see properties, it's still on \username
您能提出建议吗?
我们仅使用快照视图
Can you advice? We use snapshot views only
谢谢
推荐答案
对于快照或动态视图, fix_prot
实用工具的用法如下:
For snapshot or dynamic views, the fix_prot
utility is used like this:
fix-prot -force -rec -chown newUserName -chgrp newGroupe -chmod 775 /path/to/view/storage.vws
fix-prot -force -root -chown newUserName -chgrp newGroupe /path/to/view/storage.vws
我从不使用-root -rec:总是在一侧使用 -rec
, -root
。
I never use -root -rec: always -rec
on one side, -root
on the other.
请注意两个警告:
建议在运行
fix_prot
实用程序之前先关闭Windows上的ClearCase服务。
确保没有文件被ClearCase进程打开,否则在执行该实用程序期间可能会被跳过。
It is recommended that ClearCase services on Windows be shut down prior to running the
fix_prot
utility.
This will ensure that no files are held open by ClearCase processes which otherwise could be skipped during the execution of the utility.
注意:运行时 fix_prot
,如果VOB组列表中有任何其他组
,运行此命令将删除这些组.br
因此,您将需要运行 protectvob
命令将这些其他组添加回VOB。
Note: When you run fix_prot
, if there are any Additional Groups
that were part of the VOBs group list, running this command will remove those groups.
As a result you will need to run the protectvob
command to add these additional groups back to the VOB.
这篇关于如何将ClearCase视图移动到新域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!