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

From: Dominic Marks (dom_at_goodforbusiness.co.uk)
Date: 11/26/05

  • Next message: David S. Madole: "Re: Running a shell script on becoming the CARP master?"
    To: freebsd-hackers@freebsd.org, matthew@digitalstratum.com
    Date: Sat, 26 Nov 2005 15:34:28 +0000
    
    

    On Saturday 26 November 2005 15:14, Matthew Hagerty wrote:
    > Greetings,
    >
    > Are there any hooks into CARP to run a shell script when a machine
    > becomes the master? Also, is there a way to force a machine to become
    > the master without powering off the current master (for example to do
    > maintenance on the current master)?

    I believe there was supposed to be a utility for this sort of thing
    but I haven't seen or heard anything about it. In the mean time a
    program which read the data could probably be built from the ifconfig
    code quite simply. It would be really nice if there were kevent
    notifications for CARP events.

    > Thanks,
    > 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"
    >

    -- 
    Dominic Marks
    _______________________________________________
    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: David S. Madole: "Re: Running a shell script on becoming the CARP master?"

    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?
      ... >>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 ... > becomes the master? ...
      (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)
    • 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)