Compare commits

...

3 Commits

Author SHA1 Message Date
zhangzhihan
86c3968c83 修改mrglobal.conf vlan filter配置 2020-05-08 10:59:24 +08:00
zhangzhihan
324fe13b05 修改部署bug 2020-05-07 20:55:12 +08:00
zhangzhihan
41b93a6d31 v20.4.01发布版本 2020-04-30 22:09:28 +08:00
10 changed files with 24 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ dynamic_maat_redis_server:
db: 0 db: 0
cert_store_server: cert_store_server:
address: "127.0.0.1" address: "192.168.100.1"
port: 9991 port: 9991
log_kafkabrokers: log_kafkabrokers:
@@ -25,8 +25,8 @@ log_minio:
fs_remote: fs_remote:
switch: 1 switch: 1
address: "127.0.0.1" address: "192.168.100.1"
port: 8125 port: 58125
######################################## ########################################
sapp: sapp:

View File

@@ -7,7 +7,7 @@ sz_buffer=0
jumbo_frame=1 jumbo_frame=1
max_rx_pkt_len=15360 max_rx_pkt_len=15360
clear_tx_flags=1 clear_tx_flags=1
vlan-filter=0 vlan-filter=1
vlan-id-allow={{ AllotAccess.virturlID_1 }},{{ AllotAccess.virturlID_2 }} vlan-id-allow={{ AllotAccess.virturlID_1 }},{{ AllotAccess.virturlID_2 }}
vlan-pvid=0 vlan-pvid=0
vlan-pvid-mode=2 vlan-pvid-mode=2

View File

@@ -22,7 +22,7 @@ clear_tx_flags=1
#vlan-pvid=0 #vlan-pvid=0
#vlan-pvid-mode=0 #vlan-pvid-mode=0
{% else %} {% else %}
vlan-filter=1 vlan-filter=0
vlan-id-allow=3811,3812,3813,3814,3821,3822,3823,3824,3831,3832,3833,3834,3841,3842,3843,3844 vlan-id-allow=3811,3812,3813,3814,3821,3822,3823,3824,3831,3832,3833,3834,3841,3842,3843,3844
vlan-pvid=0 vlan-pvid=0
vlan-pvid-mode=0 vlan-pvid-mode=0

Binary file not shown.

11
roles/sapp/files/sapp.service Executable file
View File

@@ -0,0 +1,11 @@
[Unit]
Description=sapp service
Requires=mrzcpd.service
After=mrzcpd.service
[Service]
WorkingDirectory=/home/mesasoft/sapp_run
ExecStart=/home/mesasoft/sapp_run/sapp
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target

View File

@@ -20,7 +20,7 @@
[business] [business]
./plug/business/kni/kni.inf ./plug/business/kni/kni.inf
./plug/business/fw_ssl/fw_ssl.inf ./plug/business/fw_ssl_plug/fw_ssl_plug.inf
./plug/business/fw_http_plug/fw_http_plug.inf ./plug/business/fw_http_plug/fw_http_plug.inf
./plug/business/fw_dns_plug/fw_dns_plug.inf ./plug/business/fw_dns_plug/fw_dns_plug.inf
./plug/business/fw_mail_plug/fw_mail_plug.inf ./plug/business/fw_mail_plug/fw_mail_plug.inf

View File

@@ -3,3 +3,10 @@ modprobe 8021q
vconfig add {{ nic_mgr.name }} 100 vconfig add {{ nic_mgr.name }} 100
vconfig set_flag {{ nic_mgr.name }}.100 1 1 vconfig set_flag {{ nic_mgr.name }}.100 1 1
ifconfig {{ nic_mgr.name }}.100 192.168.100.1 netmask 255.255.255.0 up ifconfig {{ nic_mgr.name }}.100 192.168.100.1 netmask 255.255.255.0 up
ethtool -K {{ nic_transparent_mode.internel_interface }} tso off
ethtool -K {{ nic_transparent_mode.internel_interface }} gso off
ethtool -K {{ nic_transparent_mode.internel_interface }} gro off
ethtool -K {{ nic_transparent_mode.externel_interface }} tso off
ethtool -K {{ nic_transparent_mode.externel_interface }} gso off
ethtool -K {{ nic_transparent_mode.externel_interface }} gro off