Solved

Ask about KeepAlive on CentOS 6.4!

Posted on 2014-02-18
4
415 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

623 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