如何创建ADMIN VOB [英] how do I create ADMIN VOB

查看:90
本文介绍了如何创建ADMIN VOB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在创建管理员Vob时有疑问。

有人可以在命令行中给出示例吗?

I am having a doubt in creating an admin vob.
Can anybody give an example in commandline? It is urgent.

更新:感谢vonc给我答案,但是我使用的是基本的clearcase以及创建时标记为adminpvob,不将其视为adminvob。

update: thanks vonc for giving me the answer but i am using base clearcase and when i am creating tag to adminpvob its not treating as adminvob. Can you please explain me in detail with an example.

推荐答案

如果您使用的是UCM,则需要在其中创建一个Admin PVob。

如果您使用的是基本ClearCase,则简单的Vob就足够了(删除' -ucm '选项)

例如,在Unix ClearCase服务器上:

If you are using UCM, you need to create an Admin PVob in order for all UCM components to see each others.
If you are using base ClearCase, a simple Vob is enough (remove the '-ucm' option)
For instance, on a Unix ClearCase server:

$sudo /usr/bin/atria/bin/cleartool mkvob -tag /vobs/adminpvob -c "Global Admin UCM pvob" -ucm -public -password clearcase -host MY_SERVER -hpath /MY_SERVER/vobstore/adminpvob.vbs -gpath /net/MY_SERVER/vobstore/adminpvob.vbs /net/MY_SERVER/vobstore/adminpvob.vbs

注意:您需要声明admin(p)

Fort实例,在Windows上:

Note: you need to declare the admin(p)vob tag in every ClearCase regions you are using.
Fort instance, on Windows:

ct mktag -vob -tag \adminpvob -public -password clearcase -host MY_SERVER -gpath \\MY_SERVER\vobstore\adminpvob.vbs \\MY_SERVER\vobstore\adminpvob.vbs






例如,一旦创建了UCM PVob,就可以将其链接到您的管理员VOB:


Once you have created a UCM PVob for instance, you can link it to your admin VOB:

ct mkhlink -c "Link to my pvob" AdminVOB vob:\mypvob vob:\adminpvob
Created hyperlink "AdminPVOB@107@\mypvob".






注意:您可以链接多个Admin Vob,但是我建议将Admin P Vob作为主要版本(所有其他链接到该版本)。这样,即使您现在不使用UCM,也可以将以后创建的任何PVob都链接到该全局AdminPVob。

Simple Vobs也可以链接到它,启用ClearCase共享标签


Note: you can chain several Admin Vobs, but I would recommend an Admin PVob as the main one (with all the other linked to it). That way, even if you are not using UCM right now, any PVob you might create later can then just be linked to that global AdminPVob.
Simple Vobs can also be linked to it, enable ClearCase to share tag and branch names accross base ClearCase Vobs.

如果您是仅限基本ClearCase

$sudo /usr/bin/atria/bin/cleartool mkvob -tag /vobs/adminpvob -c "Global Admin vob" -public -password clearcase -host MY_SERVER -hpath /MY_SERVER/vobstore/adminvob.vbs -gpath /net/MY_SERVER/vobstore/adminvob.vbs /net/MY_SERVER/vobstore/adminvob.vbs

ct mkhlink -aquire -c "Link to my pvob" AdminVOB vob:\mypvob vob:\adminvob
Created hyperlink "AdminPVOB@107@\mypvob".

请注意 IBM文章

为避免类型被遮盖,您应使用 -acquire 选项创建AdminVOB超链接。

To avoid eclipsed types, you should create the AdminVOB hyperlink with the -acquire option.

您可以在此处的帮助手册


管理VOB层次结构至少包括一个管理VOB和一个或多个具有AdminVOB超链接的VOB,或者具有另一个具有AdminVOB超链接的VOB。

An administrative VOB hierarchy includes at least one administrative VOB and one or more VOBs that have an AdminVOB hyperlink to it or to another VOB that has an AdminVOB hyperlink to it.

这篇关于如何创建ADMIN VOB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆