Answer the question
In order to leave comments, you need to log in
Keepalived setup on hetzner, can't reach virtual IP?
Hello.
I'm sorry, I'm not very good at this topic.
I'm trying to set up keepalived on hetzner cloud.
There are 4 machines, they are all on the same network. A cluster is deployed on 3 machines. On the fourth, I want to deploy a web application that will knock on the cluster.
In general, I deployed a postgres cluster, among other things, I use keepalived. The problem is that the virtual IP is not pinged from the fourth machine.
Network 10.0.0.0/24
The keepalived settings on the machines are identical
global_defs {
router_id ocp_vrrp
}
vrrp_script haproxy_check {
script "/bin/kill -0 `cat /var/run/haproxy/haproxy.pid`"
interval 2
weight 2
}
vrrp_instance VI_1 {
interface ens10
virtual_router_id 133
priority 100
advert_int 2
state BACKUP
virtual_ipaddress {
10.0.0.100/24
}
track_script {
haproxy_check
}
authentication {
auth_type PASS
auth_pass pass
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question