我有两个CentOS Clearcase服务器,我需要将所有的VOB移动到新的CentOS服务器。使用下面的命令,我可以成功地移动VOB。然而,一对VOB,我需要移动到新的服务器与新名称。
CentOS VOB旧服务器:-
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新服务器:-
1. cleartool reformatvob -load -host newcentos-host -hpath hpath
2. Register the vob
3. Make tag
4. Unlock the vob我已经试过了。
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.发布于 2019-12-12 05:08:02
一旦您成功地迁移了新的Vob,最好重新命名它现有的导入标记。
若要完全重命名ClearCase VOB (复制或非复制)或视图,需要同时重命名存储和标记。
遵循提到的在那一页里过程(同样,一旦迁移了Vob )
它将包括卸载vob,关闭vob服务器,删除vob标签,删除ClearCase注册表条目,重命名vob存储,注册和恢复。
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 VOBhttps://stackoverflow.com/questions/59297984
复制相似问题