Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1142778
  • 博文数量: 312
  • 博客积分: 12522
  • 博客等级: 上将
  • 技术积分: 3376
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-27 18:35
文章分类

全部博文(312)

文章存档

2016年(3)

2015年(1)

2013年(1)

2012年(28)

2011年(101)

2010年(72)

2009年(13)

2008年(93)

分类: 项目管理

2009-01-05 20:38:19

 

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:
  • 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

    1. Unmount the VOB.

      Run cleartool umount \ on the local host.

      Notes:
      1. 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.
      2. All snapshot views will need to load the VOB with the new name (tag).

    2. 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.

    3. Remove the VOB tag.

      Run cleartool rmtag -vob -all \ to untag the VOB.

    4. Remove the ClearCase registry entry.

      Run cleartool unregister -vob .vbs to unregister the VOB object.


    5. Rename the VOB storage directory using operating system commands:

      Example:
    6. Register the new name of the VOB storage.

      Run cleartool register -vob .vbs

    7. Create a new tag for the VOB.

      Run cleartool mktag -vob -public -tag \ .vbs

    8. Mount the new VOB tag.

      Run cleartool mount on all clients to remount the VOB

      Notes:
      1. For ClearCase only (not CCLT).
      2. 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.
    阅读(1342) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~