ITPUB??ì3
ITPUB论坛 » Oracle数据库管理 » RAC可用性问题

离线 agang2006
初级会员



精华贴数 0
个人空间 0
技术积分 88 (18777)
社区积分 0 (1309450)
注册日期 2007-9-19
论坛徽章:1
ITPUB新首页上线纪念徽章     
      

发表于 2007-9-19 16:17 
RAC可用性问题

我有两台机器建了RAC,客户端配了负载均衡的TAF。关掉某一台机器的listener或者database,客户端连接都可以正常切换实例。但是当主机重启时,客户端就会连部上数据库。
我用网络监听软件观察一下,是由于客户端发出tcp连接请求后,一直在等待主机回应,但是主机关闭后,没有任何TCP回应,所以客户端一直等到tcp超时,就报告一个错误。
我的问题是这样我如果对RAC主机进行维护,不就影响业务运行了吗?RAC不会就是这样吧,有没有解决的办法呢?


只看该作者    顶部
离线 赵宇


来自 沈阳
精华贴数 2
个人空间 1804
技术积分 7225 (185)
社区积分 293 (1990)
注册日期 2004-11-14
论坛徽章:29
现任管理团队成员ITPUB元老ITPUB北京九华山庄2008年会纪念徽章2008北京奥运纪念徽章:篮球2008北京奥运纪念徽章:乒乓球生肖徽章2007版:兔
生肖徽章2007版:龙2008北京奥运纪念徽章:水球2008北京奥运纪念徽章:花样游泳2008北京奥运纪念徽章:手球2008北京奥运纪念徽章:自行车2008北京奥运纪念徽章:射箭

发表于 2007-11-9 11:56 
从现象来看是IP没有切换,你用cluvfy stage -post crsinst all 检查


__________________
最大的追求莫过于让自己稳重、冷静、沉着、思考多学习、多做事最大的放弃莫过于浮躁

我的空间
只看该作者    顶部
离线 stacyruirui
一般会员



精华贴数 0
个人空间 0
技术积分 137 (13274)
社区积分 3 (20622)
注册日期 2004-5-7
论坛徽章:0
      
      

发表于 2007-12-23 01:16 
If you use vip instead of ip address, in your tnsname.ora file, you can avoid this problem.

you have two cases in here.

1) shutdown instance, but listener still up in server1
when client connections connect to listener in server1, listener in server 1 will relocate those connections to instance in server2.

Check remote_listener in init parameter file

2) shutdown intances and listener in server1, but vip still up.
vip will inform the incoming connection to connect to the second ip address in tnsname.ora file.

You can try to use outbound_connect_timeout in sqlnet.ora file in client side.


只看该作者    顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问