[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

Ask about KeepAlive on CentOS 6.4!

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
ldvhai
Asked:
ldvhai
  • 3
1 Solution
 
SandyCommented:
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
 
ldvhaiAuthor Commented:
OK, Thanks Sandy, I will check it.
0
 
ldvhaiAuthor Commented:
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
 
ldvhaiAuthor Commented:
Thanks for your anwser.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now