You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 lines
5.2 KiB

  1. config global_defs
  2. # option alt_config_file "/etc/keepalived/keepalived.conf"
  3. # list notification_email "acassen@firewall.loc"
  4. # list notification_email "failover@firewall.loc"
  5. # list notification_email "sysadmin@firewall.loc"
  6. # option notification_email_from "Alexandre.Cassen@firewall.loc"
  7. # option smtp_server "192.168.200.1"
  8. # option smtp_connect_timeout "30"
  9. # option router_id "LVS_DEVEL"
  10. # option vrrp_mcast_group4 "224.0.0.18" # optional, default 224.0.0.18
  11. # option vrrp_mcast_group6 "f02::12" # optional, default ff02::12
  12. # option linkbeat_use_polling "1"
  13. # option vrrp_startup_delay "5"
  14. #config ipaddress
  15. # option name "ipaddress0"
  16. # option address "192.168.1.1/24"
  17. # option device "eth0"
  18. # option scope "global"
  19. #config ipaddress
  20. # option name "ipaddress1"
  21. # option address "192.168.1.2/24"
  22. # option device "eth1"
  23. # option scope "global"
  24. #config ipaddress
  25. # option name "ipaddress2"
  26. # option address "192.168.1.1/24"
  27. # option device "eth0"
  28. # option scope "link"
  29. #config ipaddress
  30. # option name "ipaddress3"
  31. # option address "192.168.1.2/24"
  32. # option device "eth2"
  33. # option scope "site"
  34. #config ipaddress
  35. # option name "ipaddress4"
  36. # option address "192.168.1.1/24"
  37. # option device "eth0"
  38. # option scope "host"
  39. #config ipaddress
  40. # option name "ipaddress5"
  41. # option address "192.168.1.2/24"
  42. # option device "eth0"
  43. # option scope "nowhere"
  44. #config route
  45. # option name "route0"
  46. # option address "192.168.1.1/24"
  47. # option gateway "192.168.0.1"
  48. # option device "eth0"
  49. #config route
  50. # option name "route1"
  51. # option address "192.168.2.1/24"
  52. # option gateway "192.168.0.1"
  53. # option device "eth0"
  54. #config route
  55. # option name "route2"
  56. # option address "127.0.0.1"
  57. # option blackhole "1"
  58. #config static_ipaddress
  59. # list address "ipaddress0"
  60. # list address "ipaddress1"
  61. #config static_routes
  62. # list route "route0"
  63. # list route "route1"
  64. #config vrrp_sync_group
  65. # option name "VI_sync_group_1"
  66. # list group "VI_1"
  67. # list group "VI_2"
  68. # option smtp_alert "1"
  69. # option notify_backup "<switch-backup-state-script>"
  70. # option notify_master "<switch-master-state-script>"
  71. # option notify_fault "<switch-fault-state-script>"
  72. # option notify "<switch-any-state-script>"
  73. # option global_tracking 1
  74. #config track_interface
  75. # option name "track_intf1"
  76. # option value "eth0"
  77. # option weight "1"
  78. #config track_interface
  79. # option name "track_intf2"
  80. # option value "eth1"
  81. # option weight "2"
  82. #config track_script
  83. # option name "track_script1"
  84. # option value "<script-file1>"
  85. # option weight "1"
  86. #config track_script
  87. # option name "track_script2"
  88. # option value "<script-file2>"
  89. # option weight "2"
  90. #config vrrp_instance
  91. # option name "VI_1"
  92. # option use_vmac "eth0"
  93. # option native_ipv6 "1"
  94. # option state "MASTER"
  95. # option interface "eth0"
  96. # list track_interface "track_intf1"
  97. # list track_interface "track_intf2"
  98. # list track_script "track_script1"
  99. # list track_script "track_script2"
  100. # option dont_track_primary "1"
  101. # list unicast_peer "192.168.0.1"
  102. # list unicast_peer "192.168.1.1"
  103. # list virtual_ipaddress "ipaddress2"
  104. # list virtual_ipaddress "ipaddress3"
  105. # list virtual_ipaddress_excluded "ipaddress4"
  106. # list virtual_ipaddress_excluded "ipaddress5"
  107. # list virtual_routes "route1"
  108. # list virtual_routes "route2"
  109. # option mcast_src_ip "224.0.0.1"
  110. # option unicast_src_ip "192.168.0.1"
  111. # option virtual_router_id "128"
  112. # option priority "128"
  113. # option advert_int "5"
  114. # option nopreempt "1"
  115. # option preempt_delay "500"
  116. # option debug "2"
  117. # option notify_backup "<switch-backup-state-script>"
  118. # option notify_master "<switch-master-state-script>"
  119. # option notify_fault "<switch-fault-state-script>"
  120. # option notify_stop "<switch-stop-state-script>"
  121. # option notify "<switch-any-state-script>"
  122. # option smtp_alert "1"
  123. # option accept "1"
  124. #config vrrp_script
  125. # option script "<script-file>"
  126. # option interval "5"
  127. # option weight "10"
  128. # option fall "2"
  129. # option rise "3"
  130. #config virtual_server
  131. # option enabled "1"
  132. # option ipaddr "192.168.200.2"
  133. # option port "80"
  134. # option fwmark "0x42"
  135. # option delay_loop "30"
  136. # valid values for lb_algo rr|wrr|lc|wlc
  137. # option lb_algo "rr"
  138. # valid values for lb_kind NAT|DR|TUN
  139. # option lb_kind "NAT"
  140. # option persistence_timeout "50"
  141. # option persistence_granularity "192.168.110.2"
  142. # option virtualhost "www.domain1.com"
  143. # valid values for protocol TCP|UDP
  144. # option protocol "TCP"
  145. # option sorry_server_ip "192.168.100.100"
  146. # option sorry_server_port "80"
  147. # list real_server "Server1"
  148. # list real_server "Server2"
  149. #config real_server
  150. # option enabled "1"
  151. # option name "Server1"
  152. # option weight "2"
  153. # option check "HTTP_GET"
  154. # only for check TCP_CHECK|HTTP_GET|SSL_GET
  155. # option connect_port "80"
  156. # option connect_timeout "3"
  157. # only for check MISC_CHECK
  158. # option misc_path "<user-defined-check-script>"
  159. # only for check HTTP_GET | SSL_GET
  160. # list url "url1"
  161. # list url "url2"
  162. # option nb_get_retry "3"
  163. # option delay_before_retry "2"
  164. #config real_server
  165. # option enabled "1"
  166. # option name "Server2"
  167. # option weight "2"
  168. # option check "TCP_CHECK"
  169. # option connect_port "80"
  170. # option connect_timeout "3"
  171. #config url
  172. # option name "url1"
  173. # option path "/testurl/test1.jsp"
  174. # option digest "11"
  175. #config url
  176. # option name "url2"
  177. # option path "/testurl/test2.jsp"
  178. # option digest "22"