mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
first commit
This commit is contained in:
commit
5352a2b94a
396 changed files with 10008 additions and 0 deletions
0
system/BASE_SOFT/KEEPALIVED/README.md
Normal file
0
system/BASE_SOFT/KEEPALIVED/README.md
Normal file
45
system/BASE_SOFT/KEEPALIVED/keepalived.conf
Normal file
45
system/BASE_SOFT/KEEPALIVED/keepalived.conf
Normal file
|
@ -0,0 +1,45 @@
|
|||
!! {{{ Global Definition
|
||||
global_defs {
|
||||
router_id idrouter
|
||||
}
|
||||
|
||||
!! {{{ VRRP
|
||||
vrrp_instance sev {
|
||||
state BACKUP
|
||||
interface bond0
|
||||
dont_track_primary
|
||||
track_interface {
|
||||
bond0
|
||||
}
|
||||
virtual_router_id 7
|
||||
nopreempt
|
||||
priority 100
|
||||
advert_int 2
|
||||
virtual_ipaddress {
|
||||
172.16.0.254 dev bond1.101
|
||||
88.88.88.88 dev bond0
|
||||
|
||||
}
|
||||
}
|
||||
!! }}} VRRP
|
||||
|
||||
|
||||
|
||||
!! }}} Global Definition
|
||||
|
||||
!!!! {{{ client conf
|
||||
virtual_server 88.88.88.88 80 {
|
||||
delay_loop 6
|
||||
lb_algo rr
|
||||
lb_kind NAT
|
||||
protocol TCP
|
||||
|
||||
real_server 10.0.0.253 80 {
|
||||
weight 1
|
||||
TCP_CHECK {
|
||||
connect_timeout 30
|
||||
}
|
||||
}
|
||||
}
|
||||
!!!! }}} client conf
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue