开发者

ClearCase mutisite - My SITEB(hub B) crashed

开发者 https://www.devze.com 2023-01-21 03:29 出处:网络
Here is the situation, I have installed and configured ClearCase Multisite,I did a mkreplica from SITEA (/dev) to SITEB (/dev). My import went successfully on SITEB. I happen to do few syncreplicas

Here is the situation,

I have installed and configured ClearCase Multisite,I did a mkreplica from SITEA (/dev) to SITEB (/dev). My import went successfully on SITEB. I happen to do few syncreplicas too on Both( SITEA and SITEB). I had both configured on Win2003.

Now the SITEB Operation system Win2003 happen with some OS related issues. Now I had recreate an Instance of win2003 and configured CC Multisite on it. Now since everything had been wiped out: I tried to do an mkreplica from SITEA /dev to SITEB /dev (A win2003 new instance) But, to my surprise, it says开发者_开发问答 SITEA has already exported a packed and exits.

I wanted to know if there is a way to wipe out old history of SITEA for /dev or do I have to rename SITEB to something different? I haven't tried renaming but before I do just need some views over it.

  • Amit


I no longer work in a clearcase environment, so this is from memory, but in order to get an exact overview of what is exported or not run the

multitool lsepoch

command and then try to figure out which epoch numbers that are not up to date (as far as I remember you can request numbers from the remote side with the -actual option). If you want SITEA to re-export some things it thinks it already is finished exporting, you have to change the epoch number for the replica you want to import into.


When you consider the mkreplica man page, it could be as simple as the destination directory (the directory for use by mkreplica as a temporary workspace) already existing.

You also have this technote which reports why the error, multitool: Error: Unable to create directory ".../VOB.vbs/s": File exists, occurs when attempting to import an IBM® Rational® ClearCase MultiSite® replica creation packet using multitool mkreplica -import.
It involves unregistering (unregister+rmtag) the vob created by the first mkreplica.


if you are 100% certain that SITEA is most up to date, and the old SITEB is no longer needed. You can do this...

At SITEA

cleartool chmaster -all -obsolete_replica replica:SITEB replica:SITEA

cleartool rmreplica replica:SITEB

Once the above is done, you are free to re-create SITEB from SITEA as per your usual practice.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号