no firewall rule between nodes
This commit is contained in:
parent
89128ccba5
commit
8ce8a16a0b
@ -7,6 +7,7 @@
|
|||||||
<file filelist='onesinglenode' name='/etc/one/sched.conf' rm='True'/>
|
<file filelist='onesinglenode' name='/etc/one/sched.conf' rm='True'/>
|
||||||
<file filelist='onesinglenode' name='/var/lib/one/remotes/etc/vnm/OpenNebulaNetwork.conf' rm='True' mkdir='True'/>
|
<file filelist='onesinglenode' name='/var/lib/one/remotes/etc/vnm/OpenNebulaNetwork.conf' rm='True' mkdir='True'/>
|
||||||
<file filelist='onesinglenode' name='/etc/one/auth/ldap_auth.conf'/>
|
<file filelist='onesinglenode' name='/etc/one/auth/ldap_auth.conf'/>
|
||||||
|
<file filelist='one_ha' name='/usr/share/eole/bastion/data/60-one' mode='755'/>
|
||||||
|
|
||||||
<service>opennebula</service>
|
<service>opennebula</service>
|
||||||
<service>opennebula-scheduler</service>
|
<service>opennebula-scheduler</service>
|
||||||
@ -233,6 +234,7 @@
|
|||||||
<target type='variable'>one_vip</target>
|
<target type='variable'>one_vip</target>
|
||||||
<target type='variable'>one_vip_mask</target>
|
<target type='variable'>one_vip_mask</target>
|
||||||
<target type='service_accesslist'>sunstone_xmlrpc</target>
|
<target type='service_accesslist'>sunstone_xmlrpc</target>
|
||||||
|
<target type='filelist'>one_ha</target>
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
<fill name='calc_val' target='one_vip_mask'>
|
<fill name='calc_val' target='one_vip_mask'>
|
||||||
|
5
tmpl/60-one
Normal file
5
tmpl/60-one
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
%for %%host in %%one_nodes
|
||||||
|
/sbin/iptables -A eth%%{one_node_int}-root -s %%host -p tcp --syn -j ACCEPT
|
||||||
|
%end for
|
Loading…
Reference in New Issue
Block a user