To change a VOB into an Administrative VOB, you must create an AdminVOB hyperlink from a client VOB to the VOB that you want to act as the AdminVOB.
Note: This can be used to change a newly created VOB or a VOB that was previously an AdminVOB into an AdminVOB.
Example:
There are presently 3 standard VOBs:
/vobs/dev1
/vobs/dev2
/vobs/dev3
To make /vobs/dev3 into an AdminVOB for /vobs/dev1 and /vobs/dev2:
1. Make sure all 3 VOBs are mounted and accessible.
2. Log in as the VOB owner.
3. Set a view and change directory (cd) into /vobs/dev1
%> cleartool setview sarge
%> cd /vobs/dev1
4. Make the AdminVOB hyperlink:
%> cleartool mkhlink -c "link to AdminVOB /vobs/dev3" AdminVOB
vob:/vobs/dev1 vob:/vobs/dev3
Created hyperlink "AdminVOB@40@/vobs/dev1".
5. A describe of the VOB, /vobs/dev1, will now show the hyperlink:
%> cleartool describe -long vob:/vobs/dev1
versioned object base "/vobs/dev1"
created 05-Mar-02.11:43:16 by Sarge(sarge.user@bunker)
VOB family feature level: 3
VOB storage host:pathname
"bunker:/export/home/sarge/store/dev1.vbs"
VOB storage global pathname
"/net/bunker/export/home/sarge/store/dev1.vbs"
database schema version: 53
VOB ownership:
owner atria.com/sarge
group atria.com/user
Additional groups:
group atria.com/army
Attributes:
FeatureLevel = 3
Hyperlinks:
AdminVOB@40@/vobs/dev1 -> vob:/vobs/dev3
No comments:
Post a Comment