不同的纪元值 [英] Different epoch values

查看:61
本文介绍了不同的纪元值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个合理的多站点设置。有两个站点。生产和灾难恢复。
生产是主站点,灾难恢复用作备份。我们每天访问Prod并进行更改和签入代码。
DR服务器出现问题,这是因为合理的服务是随机启动和停止的。
我们原本计划将作业从生产导入同步包到灾难恢复,但似乎失败了。有很多包仍在运输/ ms_ship /进来路径中。

We have a rational multisite setup. There are two sites. Production and Disaster Recovery. Production is the primary site and DR is used as a backup. We access Prod on a daily basis and make our changes and check-in the codes. There was an issue with DR server, becuase of which rational services were starting and stopping randomly. We had scheduled a job to import sync packets from Production to DR, that seems to have failed.There are many packets which are still in shipping/ms_ship/incoming path.

现在,当我在DR和prod上检查时期值时,它与众不同

Now when i check epoch values at DR and prod, its different

我在DR上运行以下命令以获取副本并找到时期值。 p>

I run the following commands at DR for a replica and find the epoch values.

multitool lsepoch -actual 

输出:
oid:7f91c2bd.f6114e79.b84e.0d:40:04:99:4c:81 = 945162(ReplicaPROD
oid:26e9d5a9.f57f4078.afb1.cb:28: b2:42:d8:bb = 129184(ReplicaDR

output: oid:7f91c2bd.f6114e79.b84e.0d:40:04:99:4c:81=945162 (ReplicaPROD oid:26e9d5a9.f57f4078.afb1.cb:28:b2:42:d8:bb=129184 (ReplicaDR

multitool lsepoch 
output:
oid:7f91c2bd.f6114e79.b84e.0d:40:04:99:4c:81=886978      (ReplicaPROD
oid:26e9d5a9.f57f4078.afb1.cb:28:b2:42:d8:bb=129184      (ReplicaDR

如何将DR副本与Prod副本同步?

How can I sync the DR replica with Prod Replica?

推荐答案

在这种情况下,我真的不尝试(过多)调和纪元。

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

我只是重新导出所有vob并重新创建一个新的远程vob。

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

您必须首先在服务器上标记VOB,但除此之外,您可以快速重建一个副本方式(除非VOB真的很大)

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)

这篇关于不同的纪元值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆