Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a keeplived setup working on RHEL 5.5 working file.

Below is strace of keepalived master, which is reading advertisements off the network and sends its advertisement to the network.

socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
sendmsg(8, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("224.0.0.18")}, msg_iov(1)=[{"E\0\0('\0\0\0\377p\247\361\nj\1\370\340\0\0\22!\16\370\1\0\1\332\212\nj\1\372\0\0\0\0\0\0\0\0", 40}], msg_controllen=0, msg_flags=0}, MSG_DONTROUTE) = 40
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9

This whole setup is replicated at another site, with a few changes in sysctl to install Oracle Database. Keepalived in this case is not able to read packets off the network and just sends its own advertisements.

Below is the strace of that keepalived instance.

sendmsg(11, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("224.0.0.18")}, msg_iov(1)=[{"E\0\0(\16*\0\0\377p[u\n\7g\255\340\0\0\22!\16d\1\0\1\t9\n\7g\257\0\0\0\0\0\0\0\0", 40}], msg_controllen=0, msg_flags=0}, MSG_DONTROUTE) = 40
sendmsg(11, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("224.0.0.18")}, msg_iov(1)=[{"E\0\0(\16+\0\0\377p[t\n\7g\255\340\0\0\22!\16d\1\0\1\t9\n\7g\257\0\0\0\0\0\0\0\0", 40}], msg_controllen=0, msg_flags=0}, MSG_DONTROUTE) = 40
sendmsg(11, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("224.0.0.18")}, msg_iov(1)=[{"E\0\0(\16,\0\0\377p[s\n\7g\255\340\0\0\22!\16d\1\0\1\t9\n\7g\257\0\0\0\0\0\0\0\0", 40}], msg_controllen=0, msg_flags=0}, MSG_DONTROUTE) = 40

What could have gone wrong? Os is the same, network is the same (except IP), keepalived version and rpm are the same. Any pointers?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.