Re: Running a shell script on becoming the CARP master?

From: Matthew Hagerty (matthew_at_digitalstratum.com)
Date: 11/27/05

  • Next message: Matthew Hagerty: "Re: Running a shell script on becoming the CARP master?"
    Date: Sat, 26 Nov 2005 21:50:16 -0500
    To: Dag-Erling Smørgrav <des@des.no>
    
    

    Dag-Erling Smørgrav wrote:

    >Matthew Hagerty <matthew@digitalstratum.com> writes:
    >
    >
    >>Are there any hooks into CARP to run a shell script when a machine
    >>becomes the master?
    >>
    >>
    >
    >Have you tried using devd to catch the link up / down event on the
    >carp interface?
    >
    >DES
    >
    >

    I'm not familiar with devd, but I'll certainly look into it.

    Matthew

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Matthew Hagerty: "Re: Running a shell script on becoming the CARP master?"

    Relevant Pages

    • CARP state changes and devd.conf
      ... I see mention of CARP as a device-type in the devd.conf documentation ... changes in the CARP interface. ... devd to "see" these changes. ...
      (freebsd-stable)
    • Re: CARP-related error on 5.4RC3
      ... Sorry to follow up on my own post, but more CARP weirdness on 5.4RC3. ... When I reboot the master, the backup quickly takes over -- just as you ... > above the carp interfaces. ...
      (freebsd-stable)
    • Re: CARP not balancing automatically
      ... I need one carp interface to be master and one backup on box A, and the opposite master/backup on box B. Or am I totally misunderstanding with the preemtp sysctl is for? ... other host: ...
      (freebsd-stable)
    • Re: Running a shell script on becoming the CARP master?
      ... On Saturday 26 November 2005 15:14, Matthew Hagerty wrote: ... > Are there any hooks into CARP to run a shell script when a machine ... > the master without powering off the current master (for example to do ... notifications for CARP events. ...
      (freebsd-hackers)
    • Re: Running a shell script on becoming the CARP master?
      ... >>Are there any hooks into CARP to run a shell script when a machine ... >>the master without powering off the current master (for example to do ... >notifications for CARP events. ... I was looking at the ifconfig output and it certainly could be parsed ...
      (freebsd-hackers)