State transitions and notify scripts
"Ryan O'Hara" <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
A colleague of mine mentioned that notify scripts, specifically notify_backup, is run before the transition is complete. For example, the notify_master script is run before the VIP has been added to an interface. I'm running some tests now and tracing the code. Is this expected behavior? A quick glance at the code caused me to wonder if it is just sending a netlink message to add the VIP(s) to an interface and then returning. I should know more later today. On a related note, I suspect changing this such that the notify_master script is run after the VIP is up could break configuration where the assumption is that it runs at the start of a state transition. In this case, we'd probably need something like "notify_master_post". Thoughts? Ryan ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk