Renaming a ClearCase View

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
technote 1134178 for directions on stopping the services.

3. Remove the view-tag.
Run
cleartool rmtag -view to untag the view.

4. Remove the ClearCase registry entry.
Run
cleartool unregister -view .vws to unregister the view object.

5. Rename the view storage directory:

· 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

Start the view.
Run
cleartool startview

No comments:

Post a Comment