ttball 发表于 2006-05-30 21:44

请教HDR问题

备机一直处于FastRecovery (Sec) 状态



Informix Dynamic Server Version 7.31.UD6W5   -- Fast Recovery (Sec) -- Up 00:35:27 -- 274008 Kbytes

Message Log File: /opt/informix/online.log

21:06:49Checkpoint Completed:duration was 0 seconds.
21:06:49Checkpoint loguniq 16, logpos 0x2a018

21:06:50Checkpoint Completed:duration was 0 seconds.
21:06:50Checkpoint loguniq 16, logpos 0x2a018

21:06:50Physical Restore of rootdbs, logdbs, phydbs, workdbs Completed.
21:06:51Checkpoint Completed:duration was 0 seconds.
21:06:51Checkpoint loguniq 16, logpos 0x2a018

21:08:10DR: Invalid type change 0 1

21:08:10DR: new type = standard
21:08:10Warning: Invalid dbspace 'tempdbs' listed in DBSPACETEMP.
21:08:58DR: new type = secondary, primary server name = scu41
21:08:58Warning: Invalid dbspace 'tempdbs' listed in DBSPACETEMP.
21:08:58DR: Trying to connect to primary server ...
21:08:58DR: Cannot connect to primary server
21:08:58DR: Turned off on secondary server


发现备机连接不上主机
主机的日志也一样找不到备机

双机rlogin没有问题。


请教诸位大虾这是什么原因啊

wenlq 发表于 2006-05-31 08:27

http://bbs.chinaunix.net/viewthread.php?tid=665646

ttball 发表于 2006-05-31 22:14

我是这么做的,但是备机一直处于Fast Recovery (Sec)状态

ahkai 发表于 2006-06-01 08:52

回复 3楼 ttball 的帖子

重建一次HDR看看。

liaosnet 发表于 2008-01-11 15:31

原帖由 ttball 于 2006-5-31 22:14 发表 http://bbs.chinaunix.net/images/common/back.gif
我是这么做的,但是备机B一直处于Fast Recovery (Sec)状态

今天我做升级数据库7.31uc5->7.31uc6w5的时候重现了这个问题~~备机B一直处于Fast Recovery (Sec) 状态....
最后不得于将现在的备机B当主机重做DR,发现
14:32:42Warning: Invalid dbspace 'tempdbs' listed in DBSPACETEMP.
14:32:43Warning: Invalid dbspace 'tempdbs' listed in DBSPACETEMP.

再用env检查两边的环境,发现备机B上的环境比A上少了一个DBSPACETEMP=tempdbs.......:em16:
做HDR恢复的时候是要从DBSPACETEMP 列表里开始查找相应的内容进行恢复,由于B机上没有DBSPACETEMP,而环境里的DBSPACETEMP是这个列表里优先级最高的,故B机进行DR恢复时出现问题......

因此需要再次建议,做HDR时要检查相关环境/配置是否一致.......

czw1413_cn 发表于 2008-01-20 12:29

huguozhi 发表于 2008-02-18 11:06

1.onstat -m看看
2.确认双机互信
3.启动建议先起主,再起从;关闭反之

wuicpp 发表于 2008-02-20 23:44

不行就 重建HDR关系吧,:-)
页: [1]
查看完整版本: 请教HDR问题