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

From: Dag-Erling Smørgrav (des_at_des.no)
Date: 11/26/05

  • Next message: Charles Sprickman: "Re: Promise FastTrak RAID 5 support ?"
    To: matthew@digitalstratum.com
    Date: Sat, 26 Nov 2005 17:51:19 +0100
    
    

    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

    -- 
    Dag-Erling Smørgrav - des@des.no
    _______________________________________________
    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: Charles Sprickman: "Re: Promise FastTrak RAID 5 support ?"

    Relevant Pages

    • 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)
    • 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 ...
      (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 ... >>becomes the master? ... I'm not familiar with devd, but I'll certainly look into it. ...
      (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 ... enough to temporarily adjust the advbase setting higher on the master ... Or simply ifconfig down the carp interface on the master. ...
      (freebsd-hackers)