mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
keepalived: add ipvs uci support
Add uci ipvs support to keepalived. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -145,3 +145,57 @@ config global_defs
|
||||
# option fall "2"
|
||||
# option rise "3"
|
||||
|
||||
#config virtual_server
|
||||
# option enabled "1"
|
||||
# option ipaddr "192.168.200.2"
|
||||
# option port "80"
|
||||
# option fwmark "0x42"
|
||||
# option delay_loop "30"
|
||||
# valid values for lb_algo rr|wrr|lc|wlc
|
||||
# option lb_algo "rr"
|
||||
# valid values for lb_kind NAT|DR|TUN
|
||||
# option lb_kind "NAT"
|
||||
# option persistence_timeout "50"
|
||||
# option persistence_granularity "192.168.110.2"
|
||||
# option virtualhost "www.domain1.com"
|
||||
# valid values for protocol TCP|UDP
|
||||
# option protocol "TCP"
|
||||
# option sorry_server_ip "192.168.100.100"
|
||||
# option sorry_server_port "80"
|
||||
# list real_server "Server1"
|
||||
# list real_server "Server2"
|
||||
|
||||
#config real_server
|
||||
# option enabled "1"
|
||||
# option name "Server1"
|
||||
# option weight "2"
|
||||
# option check "HTTP_GET"
|
||||
# only for check TCP_CHECK|HTTP_GET|SSL_GET
|
||||
# option connect_port "80"
|
||||
# option connect_timeout "3"
|
||||
# only for check MISC_CHECK
|
||||
# option misc_path "<user-defined-check-script>"
|
||||
# only for check HTTP_GET | SSL_GET
|
||||
# list url "url1"
|
||||
# list url "url2"
|
||||
# option nb_get_retry "3"
|
||||
# option delay_before_retry "2"
|
||||
|
||||
#config real_server
|
||||
# option enabled "1"
|
||||
# option name "Server2"
|
||||
# option weight "2"
|
||||
# option check "TCP_CHECK"
|
||||
# option connect_port "80"
|
||||
# option connect_timeout "3"
|
||||
|
||||
#config url
|
||||
# option name "url1"
|
||||
# option path "/testurl/test1.jsp"
|
||||
# option digest "11"
|
||||
|
||||
#config url
|
||||
# option name "url2"
|
||||
# option path "/testurl/test2.jsp"
|
||||
# option digest "22"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user