To completely rename a ClearCase View requires that both the storage and the tag be renamed.
These operations can be performed from command line.
1. Stop the view.
Run cleartool endview
Note: For ClearCase only, any host that has a dynamic view started with the old name after the rename has been completed will need to be rebooted to clear the MVFS.
2. Kill the view_server process. Run cleartool endview -server
Note: Stopping the ClearCase services on the host will also kill the process; refer to
3. Remove the view-tag.
Run cleartool rmtag -view
4. Remove the ClearCase registry entry.
Run cleartool unregister -view
5. Rename the view storage directory:
· UNIX or Linux
mv
· Windows
rename
Register the new name of the view storage.
Run cleartool register -view
Create a new tag for the view.
Run cleartool mktag -view -tag
Run cleartool startview
No comments:
Post a Comment