Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add old version Keepalived v1.3.5 #150

Open
anch665 opened this issue Jan 9, 2024 · 1 comment
Open

Add old version Keepalived v1.3.5 #150

anch665 opened this issue Jan 9, 2024 · 1 comment

Comments

@anch665
Copy link

anch665 commented Jan 9, 2024

ip_address is determined incorrectly
keepalived_vrrp_state{environment="PROD", iname="gql_5111", instance="server01", intf="ens192", ip_address="10.72.63.100/32", job="keepalived", vrid="100"}

cat /tmp/keepalived.data
------< VRRP Topology >------
VRRP Instance = gql_5111
VRRP Version = 2
State = MASTER
Last transition = 1698874220 (Thu Nov 2 00:30:20 2023)
Listening device = ens192
Using src_ip = 10.72.63.101
Gratuitous ARP delay = 5
Gratuitous ARP repeat = 5
Gratuitous ARP refresh = 0
Gratuitous ARP refresh repeat = 1
Gratuitous ARP lower priority delay = 5
Gratuitous ARP lower priority repeat = 5
Send advert after receive lower priority advert = true
Send advert after receive higher priority advert = false
Virtual Router ID = 100
Priority = 110
Advert interval = 1 sec
Accept = enabled
Preempt = enabled
Promote_secondaries = disabled
Authentication type = SIMPLE_PASSWORD
Password = 1111
Tracked scripts = 1
VRRP Script = chk_nginx_service
Command = /usr/sbin/pidof nginx
Interval = 2 sec
Weight = -10
Rise = 1
Full = 1
Insecure = no
uid:gid = 0:0
Status = GOOD
Interface weight -10
Virtual IP = 1
10.72.63.100/32 dev ens192 scope global

cat /tmp/keepalived.stats
VRRP Instance: gql_5111
Advertisements:
Received: 293
Sent: 25349905
Became master: 54
Released master: 53
Packet Errors:
Length: 0
TTL: 0
Invalid Type: 0
Advertisement Interval: 0
Address List: 0
Authentication Errors:
Invalid Type: 0
Type Mismatch: 0
Failure: 0
Priority Zero:
Received: 0
Sent: 0

@clwluvw
Copy link
Collaborator

clwluvw commented Jan 14, 2024

Hi - Can you please also share your expected IP?
what I see in your keepalived.data output seems the IP has been assigned correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants