Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Ask about KeepAlive on CentOS 6.4!

Posted on 2014-02-18
4
Medium Priority
?
417 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 1000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 19 hours left to enroll

927 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