Skip to content

Commit

Permalink
added missing lvs dr
Browse files Browse the repository at this point in the history
  • Loading branch information
kiemlicz committed Jan 26, 2024
1 parent f37f512 commit c22bf94
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions salt/lvs/realserver/dr/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{% from "lvs/map.jinja" import lvs with context %}
lvs_read_server_{{ lvs.realservers.ifc }}_rp_filter:
sysctl.present:
- name: net.ipv4.conf.{{ lvs.realservers.ifc }}.rp_filter
- value: 2
lvs_real_server_{{ lvs.realservers.ifc }}_arp_ignore:
sysctl.present:
- name: net.ipv4.conf.{{ lvs.realservers.ifc }}.arp_ignore
- value: 1
lvs_real_server_{{ lvs.realservers.ifc }}_arp_announce:
sysctl.present:
- name: net.ipv4.conf.{{ lvs.realservers.ifc }}.arp_announce
- value: 2

0 comments on commit c22bf94

Please sign in to comment.