如何configurationcluster.conf用于故障转移路由两个networking?

我在一个具有互联网连接的“外部”子网和两个“内部”子网之间进行路由,在运行CentOS 6.4的Linux机器上使用iptables转发:

单路由器

我想现在使用红帽集群套件( rgmanagercman )将此路由器复制到HAconfiguration中:

路由器对

使用此cluster.conf可以在两台主机之间获得浮动IP地址:

 <resources> <ip address="192.168.1.1" monitor_link="1"/> <ip address="192.168.2.1" monitor_link="1"/> <ip address="192.168.3.1" monitor_link="1"/> </resources> <service autostart="1" name="ha-routing" recovery="restart"> <ip ref="192.168.1.1"/> <ip ref="192.168.2.1"/> <ip ref="192.168.3.1"/> </service> 

但是,如果其中一个内部networking出现故障,整个服务将无法启动,有效的解除了其他networking的连接。

我尝试将IP分离成单独的服务,都使用外部IP:

 <service autostart="1" name="ha-routing-a" recovery="restart"> <ip ref="192.168.1.1"/> <ip ref="192.168.2.1"/> </service> <service autostart="1" name="ha-routing-b" recovery="restart"> <ip ref="192.168.1.1"/> <ip ref="192.168.3.1"/> </service> 

在这种情况下,如果内部networking出现故障,集群服务将closures,外部地址将被删除,所以似乎仍然会杀死其他内部networking。

双方为两个networking获得故障转移路由的最佳configuration是什么?