Comments (11)
I believe this patch is causing the problem:
from keepalived.
Try with following configuration
notify {
/etc/keepalived_notify.sh
}
But I am considering reverting original patch causing this issue.
from keepalived.
Do you see the same issue if you also revert 89f9102?
from keepalived.
I also reverted that patch and it works as expected.
from keepalived.
Changing to the altered syntax as suggested does work.
If the syntax is changed to require curly braces, shouldn't that be documented somewhere? The man page has the old syntax.
from keepalived.
Also, I noticed that with the changed syntax, the notify script is actually called twice at startup. In my test, I'm simply logging the invocations to a log file, and I see this:
Thu Jun 18 10:46:51 EDT 2015 Called with args: INSTANCE pcr-ny4-mktdata-relay MASTER 200
Thu Jun 18 10:46:51 EDT 2015 Called with args: INSTANCE pcr-ny4-mktdata-relay MASTER 200
Is that intended? That seems like another bug...
from keepalived.
Unless two state transitions have occurred, then no, the the notification script should only get invoked once.
from keepalived.
Well yes, that's my point. I simply started up keepalived, and it immediately made those 2 calls to the notify script indicating MASTER state. Should I open a separate bug for this?
from keepalived.
Yes, open a separate bug. Could you show me your configuration please? I'll repro this and try and figure out where it's going wrong.
from keepalived.
Ajschorr, I note that you already posted your config in your first post.
from keepalived.
Ah, sorry, I would have posted it again, but I opened a new issue #157 and assumed that you would see it there. It's pretty similar to what I posted above. But please take a look at #157 to see a bunch of debug info. I didn't dig deeper since I'm not familiar with the code base...
from keepalived.
Related Issues (20)
- The keepalived log shows SMTP status code = 553 when sending mail HOT 2
- vrrp mem leak when reload HOT 1
- keepalived instances without explicit interface cannot be monitored via DBus HOT 1
- Template 'keepalived.conf' in the etc folder is somewhat misleading HOT 2
- Does Authentication in VRRP Have Actual Meaning HOT 1
- vipv6 cannot load balance to the backend HOT 4
- VRRP Json dump readiness notifications HOT 2
- Question: Active-active Load balancing using ARP replies HOT 1
- Arp reply from illegal virtual interface HOT 2
- Error: no route to host when connect via VIP HOT 3
- Segmentation fault on keepalived HOT 3
- Keepalived occasionally fails SSL_CHECK HOT 1
- Dedicated log file HOT 1
- ability to specify using vmac_prefix for addresses not on the VRRP instance's interface. HOT 1
- One of the vrrp instance remains in FAULT state after reload HOT 3
- One health check for Multiple VIP with same real servers HOT 1
- fifo_write_vrrp_states_on_reload not always working HOT 1
- Reload segfaults if routes are defined HOT 2
- VIPs are not cleaned up when the keepaived process is killed. HOT 1
- Swap virtual_router_id of two vrrp instance(same interface) cause vip loss when reload HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keepalived.