- Beranda
- Komunitas
- Tech
- Internet Service & Networking
tanya instalasi keepalived


TS
wiliarko
tanya instalasi keepalived
gan ane minta tolong gimana cara pake keepalived di redhat, ane udah instal terus ane seting tapi masih belum up gan, begini konfigurasinya
master :
vrrp_script chk_ping{
script "ping -c 1 10.23.32.1"
interval 2 # check every 2 seconds
weight 2 # add 2 points of prio if OK
}
vrrp_instance VI_1{
interface bond0
state MASTER
virtual_router_id 44
priority 101
authentication{
auth_type PASS
auth_pass password
}
virtual_ipaddress{
10.23.32.145 }
track_script{
chk_ping
}
}
backup :
vrrp_script chk_ping{
script "ping -c 1 10.23.32.1"
interval 2
weight 2
}
vrrp_instance VI_1{
interface bond0
state BACKUP
virtual_router_id 44
priority 100
authentication{
auth_type PASS
auth_pass password
}
virtual_ipaddress{
10.23.32.145 dev bond0
}
track_script{
chk_ping
}
}
hasil lognya

master :
vrrp_script chk_ping{
script "ping -c 1 10.23.32.1"
interval 2 # check every 2 seconds
weight 2 # add 2 points of prio if OK
}
vrrp_instance VI_1{
interface bond0
state MASTER
virtual_router_id 44
priority 101
authentication{
auth_type PASS
auth_pass password
}
virtual_ipaddress{
10.23.32.145 }
track_script{
chk_ping
}
}
backup :
vrrp_script chk_ping{
script "ping -c 1 10.23.32.1"
interval 2
weight 2
}
vrrp_instance VI_1{
interface bond0
state BACKUP
virtual_router_id 44
priority 100
authentication{
auth_type PASS
auth_pass password
}
virtual_ipaddress{
10.23.32.145 dev bond0
}
track_script{
chk_ping
}
}
hasil lognya

0
445
1


Komentar yang asik ya
Urutan
Terbaru
Terlama


Komentar yang asik ya
Komunitas Pilihan