Chris,

You can do it in a number of ways, but I normally configure a fixed IP
for both eth0 and eth1 (internal & external) then haresources handles
all of the floating/failover ips i.e.

firewall.foo.com     10.10.10.1 10.10.10.4 10.10.10.5 192.168.1.1    ldirectord

heartbeat figures out which interfaces to use (as you already have the
fixed ips in your normal start up scripts).





2009/3/5 Chris Price <[email protected]>
>
> (first off please excuse my ascii art formatting 'fail' in my original post).
>
> Yes, I was just looking at the ldirectord docs, and that will handle my LVS 
> pools nicely on failover.
>
> I'm still curious to see how I can confgure the failover of both the 
> 10.10.10.1 external ip resource and the 192.168.1.1 ip resource.
>
> Can I have a line in haresources like
>
> firewall.foo.com     10.10.10.1/eth0 192.168.1.1/eth1
>
> To handle the failover of both the external 'floater' and the internal 
> 'floater'?
>
> What about if I have multiple external 'floater' ip's? Can I specifiy them on 
> the same line in haresources in a fashion like:
>
> firewall.foo.com     10.10.10.1/eth0 10.10.10.4/eth0 10.10.10.5/eth0 
> 192.168.1.1/eth1
>
>
> I'm starting to think that what I may want is just failover for the internal 
> 192.168.1.1/eth1 'floater' since it has no LVS attachments and then use 
> ldirector to fail over the 10.10.10.1/eth0 as 10.10.10.1 will be a LVS 
> VirtualIP balanced across internal 192.168.1.xxx boxes.
>
>
> Malcolm Turnbull wrote:
>>
>> Chris,
>>
>> Normally you would just put ldirectord or keepalived in your
>> haresources (crm?) file (assuming you are using a health checking
>> framework for LVS?)
>> Or you can just start them and leave them running all the time on both
>> nodes (as they are pretty much stateless)
>>
>>
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems



--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/
_______________________________________________
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