Different epoch values

落花浮王杯 提交于 2019-12-06 20:35:30

I honestly don't try (too much) to reconcile epoch in that case.

I simply re-export the all vobs and recreate a new remote vob.

multitool mkreplica -export -maxsize 200m -nc -workdir D:\tmp -fship remote.server:vobname_uk@\aPvob

/opt/rational/clearcase/bin/multitool mkreplica -import -workdir /tmp/avobname -tag /vobs/avobname -vob /archive_02/vobstore/avobname.vbs -host ahostname -hpath /vobstore/avobname .vbs -gpath /archive_02/vobstore/avobname.vbs -npreserve -nc -public -password apassword

multitool syncreplica -export -fship replica:avobname@\aPVob

/opt/rational/clearcase/bin/multitool chmaster -nc avobname_uk replica:avobname_uk@/vobs/aPvob

You would have to rmtag the vob on the server first, but other than that, you can quickly rebuild a replica that way (unless the vob is really huge)

The first priority is figuring out if the imports are failing at the DR site or "just" not happening. If you have shell access over there, and can become root or sudo, run this command as root:

multitool syncreplica -import -receive

This will attempt to individually import each pending sync packet. If you get errors, and they aren't something like "depends on changes not yet received" then you should probably pick up the phone and call IBM.

Another option is to:

  1. Move all the packets out of the "incoming" bay at the DR site
  2. Run "multitool chepoch -actual ReplicaDR@\myvob
  3. Run "multitool syncreplica -export -fship ..." for that VOB only.
  4. Manually import that packet (multitool syncreplica -import {packet name}"
  5. If that works, repeat steps 2-4 for the next VOB.

Things to watch out for:

  • "gap in oplog entries" on export in step 3. If that happens, you'll have to find out how long the sync has been not working, and you may have to manually import one or moe of the pending packets (which is why we moved them instead of deleting them) and retry from the chepoch -actual.
  • Database errors on import or export. (most likely import since you're working fine in the production VOBs) That's a "pick up the phone and call IBM" issue.
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!