forked from ISTI-ansible-roles/ansible-roles
d4science-ghn-cluster: new infra dev VM. liferay cluster.
library/roles/iptables: snippet for the multicast part of tomcat clustering.
This commit is contained in:
parent
eff0a9746c
commit
93de42a333
|
@ -44,3 +44,4 @@ iptables_banned_default_policy: DROP
|
||||||
ganglia_enabled: False
|
ganglia_enabled: False
|
||||||
nagios_enabled: False
|
nagios_enabled: False
|
||||||
iptables_open_all_to_isti_nets: False
|
iptables_open_all_to_isti_nets: False
|
||||||
|
tomcat_cluster_enabled: False
|
||||||
|
|
|
@ -173,6 +173,13 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if tomcat_cluster_enabled %}
|
||||||
|
# tomcat cluster
|
||||||
|
-A INPUT -m pkttype --pkt-type multicast -d {{ tomcat_cluster_multicast_addr }} -j ACCEPT
|
||||||
|
-A INPUT -m state --state NEW -p tcp -m tcp --dport {{ tomcat_cluster_multicast_port }} -j ACCEPT
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{% if ganglia_enabled is defined %}
|
{% if ganglia_enabled is defined %}
|
||||||
{% if ganglia_enabled %}
|
{% if ganglia_enabled %}
|
||||||
{% if ganglia_gmond_cluster_port is defined %}
|
{% if ganglia_gmond_cluster_port is defined %}
|
||||||
|
|
Loading…
Reference in New Issue