Solved

Ask about KeepAlive on CentOS 6.4!

Posted on 2014-02-18
4
413 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
ID: 39867001
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
ID: 39867226
OK, Thanks Sandy, I will check it.
0
 
LVL 2

Author Comment

by:ldvhai
ID: 39869059
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
ID: 39900541
Thanks for your anwser.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

830 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