Can piranha failover all ethernet interfaces?
Mark T. Dame
mdame at mfm.com
Fri Dec 14 22:52:34 UTC 2007
Brian Ghidinelli wrote:
>
> Mark T. Dame wrote:
>> Not directly. You will have to write a script to bring the extra
>> interfaces up or down and then use the start_cmd and stop_cmd settings
>> to call the script when the service fails over. I did something
>> similar for a MySQL server. I have two servers, each with two NICs,
>> one external and one internal. On failover, the floating IP for each
>> network to switch to the appropriate server. My service definition is:
>
> Mark, thanks for the response. So, if the heartbeat goes down which
> causes the external interface to be brought up on the standby, the
> failover will simultaneously be triggered and can execute a script to
> change the other NICs?
Correct.
> I have read conflicting info on whether or not you can have virtual
> servers and failover running at the same time. It sounds from your post
> like you do?
On these servers I only have failover running.
> Would you mind sharing your script as a starting point? It would be
> appreciated, thanks!
Attached lvs.cf and fos_failover.pl
-m
--
## Mark T. Dame <mailto:mdame at mfm.com>
## VP, Product Development
## MFM Software, Inc. (http://www.mfm.com/)
"In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move."
-- The Restaurant at the End of the Universe, Douglas Adams
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fos_failover.pl
URL: <http://listman.redhat.com/archives/piranha-list/attachments/20071214/f54a7897/attachment.pl>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lvs.cf
URL: <http://listman.redhat.com/archives/piranha-list/attachments/20071214/f54a7897/attachment.ksh>
More information about the Piranha-list
mailing list