[Linux-cluster] IP not failing over

Lon Hohberger lhh at redhat.com
Fri Jul 27 17:09:42 UTC 2007


On Thu, Jul 26, 2007 at 02:30:05PM -0500, James Wilson wrote:
> Can someone point why my virtual ip is not failing over. Any help is 
> appreciated.

>                <resources>
>                        <ip address="192.168.5.4" monitor_link="1"/>
>                </resources>
>                <service autostart="1" domain="dolphins-drbd1" 
> name="dolphins-svc-drbd1" recovery="restart">
>                        <ip ref="192.168.5.4"/>
>                </service>
>                <service autostart="1" domain="dolphins-drbd2" 
> name="dolphins-svc-drbd2" recovery="restart">
>                        <ip ref="192.168.5.4"/>
>                </service>

You can't reference an IP in multiple services; the second reference is
ignored.  See:

  rg_test test /etc/cluster/cluster.conf &> /tmp/foo.out
  less /tmp/foo.out

The services should be independent and able to coexist.  If they are not
cohabitable, you need to use restricted domains to prevent them from
coexisting.

-- Lon

-- 
Lon Hohberger - Software Engineer - Red Hat, Inc.




More information about the Linux-cluster mailing list