How do I rename a view?
First end the view server processes by entering:
1. cleartool endview -server oldtag
2. cleartool rmtag -view oldtag
3. cleartool mktag -view -tag newtag view-storage-pname(注:这里的路径是oldtag的全局路径)
之后,刷新view即可.
for directions on stopping the services.
Refer to About albd_list for further information regarding how to list active ClearCase server processes.
Remove the view-tag.
Run cleartool rmtag -view to untag the view.
Remove the ClearCase registry entry.
Run cleartool unregister -view .vws to unregister the view object.
Rename the view storage directory using operating system commands:
Example:
- UNIX or Linux
mv .vws
- Windows
rename .vws
Register the new name of the view storage.
Run cleartool register -view .vws
Create a new tag for the view.
Run cleartool mktag -view -tag .vws
(dynamic view only) Start the View.
Run cleartool startview
(snapshot view only) Rename the view root directory if you wish to have the name correspond with the storage directory name change.
Note: This procedure describes a rename and there are additional steps that would need to be taken if you decide to move (rather than rename) the snapshot view directory which contains special files.Refer to the IBM Rational ClearCase Administrators Guide on the topic of for information on moving instead of renaming a view.
Rename a VOB
- Unmount the VOB.
Run cleartool umount \ on the local host.
Notes:
- For ClearCase only (not CCLT), any host that has it mounted with the old name after the rename has been completed will need to be rebooted to clear the MVFS.
- All snapshot views will need to load the VOB with the new name (tag).
- Kill the vob_server process for the VOB. The command will vary on differing operating systems, refer to for directions.
Note: Stopping the ClearCase services on the host will also kill the process; refer to for directions on stopping the services.
- Remove the VOB tag.
Run cleartool rmtag -vob -all \ to untag the VOB.
- Remove the ClearCase registry entry.
Run cleartool unregister -vob .vbs to unregister the VOB object.
- Rename the VOB storage directory using operating system commands:
Example:
- UNIX or Linux
mv .vbs
- Windows
rename .vbs
- Register the new name of the VOB storage.
Run cleartool register -vob .vbs
- Create a new tag for the VOB.
Run cleartool mktag -vob -public -tag \ .vbs
- Mount the new VOB tag.
Run cleartool mount on all clients to remount the VOB
Notes:
- For ClearCase only (not CCLT).
- For MultiSite® replicated VOBs, the steps are the same as above to rename the VOB. When renaming a replicated VOB it is recommended that the VOB tags match with the other sites to avoid confusion.
Refer to the IBM Rational ClearCase Administrators Guide on the topic of for information on moving instead of renaming the VOB.
阅读(1379) | 评论(0) | 转发(0) |