Solved

Ask about KeepAlive on CentOS 6.4!

Posted on 2014-02-18
4
408 Views
Last Modified: 2014-03-03
Hi All,

I am using KeepAlive on CentOS 6.4, 02 servers running FailOver, information of Servers below:

1. Server-1: 172.16.1.2 (VIP: 172.16.1.5)
2. Server-2: 172.16.1.3 (VIP: 172.16.1.5)

Issue-1:
When I down the ETH0 on Server-1 (Shell>ifconfig eth0 down), after a long time, the Server-2 couldn't get the IP 172.16.1.5 (it isn't work) & after I UP ETH0 and MUST START KeepAlive on the Server-1, it works OK with IP 172.16.1.5

The LOG: "receive an invalid ip number count associated with VRID!"

Issue-2:
When Power-Off the Server-1 and around 5s the Server-2 get the IP 172.16.1.5, then it works OK and when I Power-On the Server-1 again, the Server-1 get the IP 172.16.1.5 from Server-2.

My question:
What's happened? Please give me your solution.

Thanks in advances.

LDVHAI.
0
Comment
Question by:ldvhai
  • 3
4 Comments
 
LVL 13

Accepted Solution

by:
Sandy earned 500 total points
Comment Utility
Check the priority defined for the VIP among nodes. So to me it seems like your system1 is having higher precedence and also check the voting structure of resources.

TY/SA
0
 
LVL 2

Author Comment

by:ldvhai
Comment Utility
OK, Thanks Sandy, I will check it.
0
 
LVL 2

Author Comment

by:ldvhai
Comment Utility
HI Sandy,

I found problems of KeepAlived that I asked above:
The Group ID on the System-1 is the same with System-2 and I changed Group ID of System-1 & System-2. It works OK.

- System-1: Server-1 & Server-2
- System-2: Server-1 & Server-2 (due to I copied the configure files from System-1 & applied them to System-2, only changed the IP and didn't change Group ID between System-1 & System-2).

Thanks for your answer.
0
 
LVL 2

Author Closing Comment

by:ldvhai
Comment Utility
Thanks for your anwser.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now