首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何将VOB移动到具有新/不同VOB名称的新服务器(CentOS)

如何将VOB移动到具有新/不同VOB名称的新服务器(CentOS)
EN

Stack Overflow用户
提问于 2019-12-12 05:00:12
回答 1查看 195关注 0票数 1

我有两个CentOS Clearcase服务器,我需要将所有的VOB移动到新的CentOS服务器。使用下面的命令,我可以成功地移动VOB。然而,一对VOB,我需要移动到新的服务器与新名称。

CentOS VOB旧服务器:-

代码语言:javascript
复制
1. Lock the vob
2. Unregister the vob
3. Remove the vob tag
4. cleartool reformatvob -dump -force -host oldcentos-host -hpath hpath
5. Tar and copy using scp commad.

CentOS VOB新服务器:-

代码语言:javascript
复制
1. cleartool reformatvob -load -host newcentos-host -hpath hpath
2. Register the vob
3. Make tag
4. Unlock the vob

我已经试过了。

代码语言:javascript
复制
1.  Untarred the vob storage folder.
2.  Renamed the vob storage folder
3.  cleartool reformatvob -load -host newcentos-host -hpath hpath (with new VOB name path)
4.  cleartool register -vob –replace (New vob name storage location)
5.  Make tag -vob -tag new-tag-name (failing) saying VOB with tag already existing.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-12-12 05:08:02

一旦您成功地迁移了新的Vob,最好重新命名它现有的导入标记。

若要完全重命名ClearCase VOB (复制或非复制)或视图,需要同时重命名存储和标记。

遵循提到的在那一页里过程(同样,一旦迁移了Vob )

它将包括卸载vob,关闭vob服务器,删除vob标签,删除ClearCase注册表条目,重命名vob存储,注册和恢复。

代码语言:javascript
复制
cleartool umount \<VOB-tag> # on clients
albd_list [-s <vob_or_view_storage>] 
kill -9 #theVobProcess
cleartool rmtag -vob -all \<VOB-tag>
cleartool unregister -vob <VOB-storage-pname>.vbs
mv <old-VOB-storage> <new-VOB-storage>.vbs
cleartool register -vob <new-VOB-storage>.vbs
cleartool mktag -vob -public -tag \<new-VOB-tag> <new-VOB-storage>.vbs
cleartool mount <new-VOB-tag> # on all clients to remount the VOB
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59297984

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档