On 17/10/13 11:51, Gaurav Gupta wrote:
> Hi All:
> I have 2 questions regarding configuring Linux HA with multiple interfaces 
> and multiple VIPs. 
> Let me explain my setup first; I have a two node cluster, "node1" and 
> "node2". Each of the node has 2 interfaces "eth0" and "eth1". I am using the 
> heartbeat service to monitor the interfaces and failover the VIPs configured 
> on each interfaces to the other node.
> - My first question is; I configure the HA cluster on both the interfaces (by 
> specifying both interfaces and VIPs in the haresource file). If one of the 
> interface goes down, the heartbeat service detects that the interface is down 
> but doesn't trigger the failover because it can connect to the secondary 
> machine over the second interface. Is it possible to create a setup where 
> heartbeat monitors both the interfaces but triggers a failover if ANY of the 
> interface is down?
> - My second question is; In my setup I manage 2 VIPs created on the interface 
> alias "eth0:0" and "eth1:0" by HA. I am able to configure the VIPs 
> appropriately and HA configures them on the primary machine. If I shutdown 
> the primary, both the VIPs are migrated to the secondary machine 
> successfully. Now I bring down one interface by "ifdown eth1" and later bring 
> it back up "ifup eth1", the heartbeat service first detects that interface is 
> down and later detects that it has come up, but it doesn't configure the VIP 
> when the interface is back up e.g. in this case "eth1:0" on the interface is 
> not created. I have to manually run the "IPaddr2" command to configure the 
> resource. Is there a way around this issue?
> Thanks in advance

Before you go much further, please seriously consider switching to
corosync + pacemaker. The heartbeat project has not been developed in a
long time and there are no plans to restart it. All projects should be
using corosync + pacemaker (or making plans to migrate to it).

digimer

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
_______________________________________________
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