关于cluster_interconnect的设置

[复制链接]
查看11 | 回复9 | 2008-6-23 01:01:58 | 显示全部楼层 |阅读模式
最近一直有一个问题比较困惑,就是10g rac一般要使用心跳线作为private network,如果private network出现问题,数据库会DOWN
但是在实际工作中经常要考虑单点故障问题
1)操作系统可以实现多个网卡绑定到一个IP
2)但是要通过交换机连接网络,假设交换机出现问题,有什么技术手段可以实现冗于呢???
自己做测试
节点一
eth1 192.168.10.105
eht2 192.168.142.2
节点二
eth1 192.168.10.106
eht2 192.168.142.4
alter system set cluster_interconnect='192.168.10.105:192.168.142.2' scope=spfile sid='orcl1';
alter system set cluster_interconnect='192.168.10.106:192.168.142.4' scope=spfile sid='orcl2';
做oradebug ipc的时候,发现oracle走192.168.142.网段
然后ifconfig eth2 down,将第二个节点的网卡down掉,发现节点2运行有问题
数据库不能实现cluster_interconnect的failover
1)所以在这里想请教有没有高手实现过cluster_interconnect走两个ip,实现failover的
2)有没有高手了解如果实现交换机的failover
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
不懂,帮顶.
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
According to
http://download.oracle.com/docs/ ... 02/b14207/intro.htm
"If you define more than one interconnect, then they must all be in an up state, just as if their IP addresses were specified in the initialization parameter, CLUSTER_INTERCONNECTS. Oracle RAC does not fail over between cluster interconnects; if one is down then the instances using them will not start.
Oracle recommends that you use a logical Internet Protocol (IP) address that is available across all private networks, and that you take advantage of any available third party network interface cards that provide bonding to enable network failover by configuring them according to the vendor's instructions."
That's from Oracle 10gR2 Windows RAC documentation. I can't find the keyword cluster_interconnects (note it's plural) in Linux 10gR2 documentation. The old 9i Note:183340.1 says this parameter does not apply to Linux.
I hate to repeat. So many of you on this forum keep forgetting to tell us the detailed Oracle version, and in this case equally important, OS and its version. It makes it hard for us to help you. Can't you all make a mark on your wall or somewhere you can easily see saying something like "Always state Oracle version when posting a message!!!" Some of you are not 初级会员 and make the same mistake.
Yong Huang
[ 本帖最后由 Yong Huang 于 2008-7-26 21:38 编辑 ]
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
All os version
1) my test env is linux
2)But some product db OS env is AIX,HP UNIX
So I want know which tech can resolve if switch is Down?????
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
原帖由 blueocean926 于 2008-7-27 04:17 发表
All os version
1) my test env is linux
2)But some product db OS env is AIX,HP UNIX
So I want know which tech can resolve if switch is Down?????

Do your homework. Look up this parameter in documentation written for the specific OS and version. Different versions and different OSes have different comments. Some don't even support this parameter, such as Linux. If you want to test, test on a supported platform. But even on those, the parameter does not do failover. Read my quote above carefully.
Yong Huang
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
1)所以在这里想请教有没有高手实现过cluster_interconnect走两个ip,实现failover的
具体没做过,只是基于Oracle的话,我想只要你两个IP都不down就成了(OS层Failover),本身oracle你设置两个IP应该是不能failover的
2)有没有高手了解如果实现交换机的failover
用好点的交换机都可以实现failover的吧
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
在主流平台上,支持哪些网卡绑定技术呢?
我知道AIX平台下的ethernetchanel是支持的,其他的平台呢?有谁知道
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
网卡的单点故障是可以消除的,可以通过主机上两块物理网卡绑定成一块逻辑网卡来处理。确实如楼主所讲,交换机的单点故障是比较麻烦的。其实是可以这么做的:交换机也用两台,主机上两块物理网卡绑定成一个逻辑网卡,但是两个物理网卡再分别连接到这两个交换机上。我们试过QLOGIC INFINIBAND基于RDS的方案,这么做是不可行的,没法透明切换。因为一块网卡坏掉了,另外一块网卡是连接到另外一台交换机上,而原来所有的节点的内部互联是基于原先正常工作的交换机上,交换机没法子做到透明切换。现在我想假如双网卡配置成双ACTIVE的模式,那么这样有可能是可行的,不过需要测试。原来我们网卡是配置成ACTIVE-STANDBY模式的,是有一些问题。
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
原帖由 happyplus 于 2008-10-10 13:48 发表
在主流平台上,支持哪些网卡绑定技术呢?
我知道AIX平台下的ethernetchanel是支持的,其他的平台呢?有谁知道

LINUX上也可以,基本主流的OS平台应该是都可以的。
回复

使用道具 举报

千问 | 2008-6-23 01:01:58 | 显示全部楼层
而假如两块网卡都接到同一交换机上,那么这两块网卡坏掉一块则不影响,当然还会有短暂性的延迟。有条件的话建议测试一下,呵呵。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行