Alex wrote:
I'm trying to achieve load sharing.




________________________________
From: "[email protected]" <[email protected]>
To: General Linux-HA mailing list <[email protected]>
Sent: Tuesday, March 24, 2009 4:39:28 PM
Subject: Re: [Linux-HA] Duplicate ping

Alex wrote:
Hello.

I encountered the following problem:
I wanted to test how clusterIP works. So on 2 test machines I installed all the 
necessary rpm's. I followed the tutorials from the site to configure heartbeat 
and everything seems to be ok(I have two working nodes as shown by crm_mon). 
Next, using hb_gui I created an IP Addr2 resource cloned on both nodes.

The Ip of the resource is in the same network as the nodes. When the resource 
is started it raises a new interface on both nodes(I called it eth0:1 adding a 
NIC parameter).
Now when I ping that IP from one of the nodes I get an ICMP reply. One as it 
should... If I ping that IP from another host in the same subnet I three 
replies. One ICMP reply and two DUPs - duplicated. Shouldn't respond just one 
of the nodes maintaining the replicated resource? And how do you explain three 
responses - reply + 2 dups ?

Do you have any ideea why this is happening ?

Maybe I configured something wrong...

Alex Gavrila.


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
If you are just trying to achieve simple failover, you do not need to use a resource clone. Because it's cloned, it's starting on both nodes at the same time.

The default behavior of heartbeat is to allow a resource to run on any node, so there is no need to create the clone.

Brandon
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems



_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Maybe I am confused. I read this as you trying to put the same IP address on both nodes, at the same time.

You can't have the same IP address on the same network segment without causing all sorts of issues. If you are trying to load balance, I would recommend creating multiple A records, or running a simple load balancer script (Like perlbal, assuming this is http traffic)
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to