Thank you so much Greg for your precise answer. It is working now.

Is it mandatory to use same ha.cf on both nodes? for example if names
of network interfaces are differenet, what is best to do?

Best wishes
Ali

On Mon, Dec 31, 2012 at 7:51 PM, Greg Woods <[email protected]> wrote:
> On Mon, 2012-12-31 at 15:09 +0330, Ali Masoudi wrote:
>
>> ucast eth3 192.168.50.17
>
> If you are using ucast, then you need one line for each node's IP in the
> ha.cf file. Either that or different ha.cf files on each node. What is
> needed is the IP of the other node, but heartbeat is smart enough to
> ignore ucast IP's that refer to the node it is running on, so the usual
> practice is to include two ucast lines, one for each node's IP, so that
> you can use the same ha.cf file on both nodes.
>
> --Greg
>
>
> _______________________________________________
> 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

Reply via email to