Comments (3)
I also add this param into /etc/sysctl.d/99-sysctl.conf and run sysctl -p command but problem still happen
net.ipv4.ip_nonlocal_bind=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.conf.all.arp_announce=1
from keepalived.
Log keepalived, using systemctl status keepalived command
● keepalived.service - LVS and VRRP High Availability Monitor
Loaded: loaded (/usr/lib/systemd/system/keepalived.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2023-10-04 10:06:02 +07; 6s ago
Process: 6486 ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 6487 (keepalived)
CGroup: /system.slice/keepalived.service
├─6487 /usr/sbin/keepalived -D
├─6488 /usr/sbin/keepalived -D
└─6489 /usr/sbin/keepalived -D
Oct 04 10:06:03 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) Changing effective priority from 100 to 102
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) Entering MASTER STATE
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) using locally configured advertisement interval (1000 milli-sec)
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) setting protocol VIPs.
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) Sending/queueing gratuitous ARPs on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
from keepalived.
I have tested your configuration using v1.3.5 and ping 10.55.123.9
works for me. I suspect this is not a keepalived issue, since the address is being added to interface eth0.
I suggest you try this without using keepalived by executing ip addr add 10.55.123.9/24 dev eth0
and then seeing if the ping and telnet work.
You will probably need to check things like your firewall (iptables), routing etc. You might find wireshark/tcpdump helps you see what is happening. Tools like traceroute can help see where packets are being dropped.
from keepalived.
Related Issues (20)
- What is the correct way to disable preempt for keepalived HOT 4
- vrrp_script; Cannot find script docker in path - disabling HOT 3
- The old virtual_ipaddress_excluded has not been deleted after reconfig vlan interface HOT 9
- keepalived Docker Image Build Failed HOT 8
- unable to recover from split brain problem HOT 6
- Configure virtual server only on master but not on backups HOT 5
- v2.2.8: nopreempt is configured, the notify_xxx method will not be triggered. HOT 2
- One-off symlink resolution causes fragile setups on NixOS HOT 6
- Add documentation for notify script option HOT 1
- restart keepalived not work , systemd: Can't open PID file /etc/keepalived/logs/keepalived.pid (yet?) after start: No such file or directory HOT 1
- restart keepalived donot work, Can't open PID file /var/run/keepalived.pid (yet?) after start: No such file or directory HOT 1
- Need to know why both VMs became MASTER instead of a clean failover HOT 6
- Keepalived High Availability Issue: Both Nodes Selected as Master in RHOSP 16.2 Setup HOT 3
- keepalived standby not receiving advertise packets HOT 1
- keepalived can't call notify_master script timely HOT 4
- Last status of misc check sometimes not updated in keepalived_check.data HOT 5
- Do not go to FAULT state when announce link is down HOT 1
- TCP disconnection upon master switchover HOT 3
- SLAVE unknown state HOT 2
- 2.3.0 crashes if using /etc/keepalived/keepalived.conf HOT 5
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.