v8.2企业版hadr建立问题
db2吧
全部回复
仅看楼主
level 4
server2可以监听到server1的端口 server2上却不能一直监听(在server1上netstat结果中一开始是有server2的端口的最后返回结果时却没有)
server2可以standby成功
server1的primary却不行 原因码 7
大神指导下
2013年07月01日 14点07分 1
level 10
ok. 原因码是7 那 sqlcode 是多少呢?
2013年07月02日 06点07分 2
1768n
2013年07月02日 06点07分
昨晚上搞完了。 server2重装了。 因为之前server1的bois掉电了,搞的db2软件崩掉了,server2估计没反应过来,不认新来的server1。没原因的幺蛾子事情真尼玛痛苦
2013年07月02日 06点07分
回复 牛奶洗菊花 :看了看报错也可能是配置问题。
2013年07月02日 08点07分
level 10
The primary database failed to establish a connection to its standby database within the HADR timeout interval. There are multiple scenarios that can cause this error condition. For example, this message can be returned with reason code 7 if the value of the HADR_TIMEOUT configuration parameter or the HADR_PEER_WINDOW configuration parameter on the primary database is not the same as the value on the standby database.
Perform the following troubleshooting steps:
1. Ensure that the standby is online and that the network is functioning. 2. Look in the db2diag log files for other error messages that indicate there are incompatible configuration settings on the primary database and the standby database. 3. Confirm that the HADR_REMOTE_HOST HADR_REMOTE_SVC configuration parameters are set correctly on the primary database and the standby database. 4. Ensure that the value of the HADR_TIMEOUT configuration parameter is the same on both the primary database and the standby database. 5. Ensure that the value of the HADR_PEER_WINDOW configuration parameter is the same on both the primary database and the standby database. 6. Increase the HADR_TIMEOUT configuration parameter if the network is slow, or start the primary database using the BY FORCE option
2013年07月02日 08点07分 3
1