修改部分部署bug,调整双臂模式部署
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
maat_redis_server:
|
maat_redis_server:
|
||||||
address: "192.168.40.83"
|
address: "192.168.40.168"
|
||||||
port: 7002
|
port: 7002
|
||||||
db: 0
|
db: 0
|
||||||
|
|
||||||
dynamic_maat_redis_server:
|
dynamic_maat_redis_server:
|
||||||
address: "192.168.40.83"
|
address: "192.168.40.168"
|
||||||
port: 7002
|
port: 7002
|
||||||
db: 0
|
db: 0
|
||||||
|
|
||||||
@@ -13,10 +13,10 @@ cert_store_server:
|
|||||||
port: 9991
|
port: 9991
|
||||||
|
|
||||||
log_kafkabrokers:
|
log_kafkabrokers:
|
||||||
address: "192.168.40.85:9092"
|
address: "192.168.40.169:9092"
|
||||||
|
|
||||||
log_minio:
|
log_minio:
|
||||||
address: "192.168.40.85;"
|
address: "192.168.40.168;"
|
||||||
port: 9090
|
port: 9090
|
||||||
|
|
||||||
fs_remote:
|
fs_remote:
|
||||||
@@ -57,7 +57,7 @@ kni:
|
|||||||
enabled: 1
|
enabled: 1
|
||||||
tfe:
|
tfe:
|
||||||
nr_threads: 32
|
nr_threads: 32
|
||||||
mc_cache_eth: ens1.100
|
mc_cache_eth: lo
|
||||||
keykeeper:
|
keykeeper:
|
||||||
mode: "normal"
|
mode: "normal"
|
||||||
no_cache: 0
|
no_cache: 0
|
||||||
@@ -74,7 +74,7 @@ nic_data_incoming:
|
|||||||
name: tun_kni
|
name: tun_kni
|
||||||
address: 127.0.0.1
|
address: 127.0.0.1
|
||||||
nic_inner_ctrl:
|
nic_inner_ctrl:
|
||||||
name: lo
|
name: eth0.100
|
||||||
nic_traffic_mirror:
|
nic_traffic_mirror:
|
||||||
name: lo
|
name: lo
|
||||||
use_mrzcpd: 0
|
use_mrzcpd: 0
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ ansible_user=root
|
|||||||
package_source=local
|
package_source=local
|
||||||
|
|
||||||
[pc-as-tun-mode]
|
[pc-as-tun-mode]
|
||||||
192.168.40.139
|
192.168.40.138
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ supervised no
|
|||||||
#
|
#
|
||||||
# Creating a pid file is best effort: if Redis is not able to create it
|
# Creating a pid file is best effort: if Redis is not able to create it
|
||||||
# nothing bad happens, the server will start and run normally.
|
# nothing bad happens, the server will start and run normally.
|
||||||
pidfile /var/run/redis_7001.pid
|
pidfile /var/run/redis_6379.pid
|
||||||
|
|
||||||
# Specify the server verbosity level.
|
# Specify the server verbosity level.
|
||||||
# This can be one of:
|
# This can be one of:
|
||||||
@@ -160,7 +160,7 @@ loglevel notice
|
|||||||
# Specify the log file name. Also the empty string can be used to force
|
# Specify the log file name. Also the empty string can be used to force
|
||||||
# Redis to log on the standard output. Note that if you use standard
|
# Redis to log on the standard output. Note that if you use standard
|
||||||
# output for logging but daemonize, logs will be sent to /dev/null
|
# output for logging but daemonize, logs will be sent to /dev/null
|
||||||
logfile "/home/ceiec/maat-redis/7001/7001.log"
|
logfile "/home/tsg/cert-redis/6379/6379.log"
|
||||||
|
|
||||||
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
||||||
# and optionally update the other syslog parameters to suit your needs.
|
# and optionally update the other syslog parameters to suit your needs.
|
||||||
@@ -244,7 +244,7 @@ dbfilename dump.rdb
|
|||||||
# The Append Only File will also be created inside this directory.
|
# The Append Only File will also be created inside this directory.
|
||||||
#
|
#
|
||||||
# Note that you must specify a directory here, not a file name.
|
# Note that you must specify a directory here, not a file name.
|
||||||
dir /home/ceiec/maat-redis/7001/
|
dir /home/tsg/cert-redis/6379/
|
||||||
|
|
||||||
################################# REPLICATION #################################
|
################################# REPLICATION #################################
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
|
|
||||||
/usr/local/bin/redis-server /home/ceiec/cert-redis/6379/6379.conf
|
/usr/local/bin/redis-server /home/tsg/cert-redis/6379/6379.conf
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ enabled = 1
|
|||||||
dev_eth_symbol = {{ nic_to_tfe.tfe2.name }}
|
dev_eth_symbol = {{ nic_to_tfe.tfe2.name }}
|
||||||
ip_addr = 192.168.100.4
|
ip_addr = 192.168.100.4
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
[tfe_cmsg_receiver]
|
[tfe_cmsg_receiver]
|
||||||
listen_eth = {{ nic_inner_ctrl.name }}
|
listen_eth = {{ nic_inner_ctrl.name }}
|
||||||
listen_port = 2475
|
listen_port = 2475
|
||||||
|
|||||||
@@ -4,9 +4,14 @@
|
|||||||
src: "{{ role_path }}/files/vconfig-1.9-16.el7.x86_64.rpm"
|
src: "{{ role_path }}/files/vconfig-1.9-16.el7.x86_64.rpm"
|
||||||
dest: /tmp
|
dest: /tmp
|
||||||
|
|
||||||
|
- name: "create /opt/tsg/env"
|
||||||
|
file:
|
||||||
|
path: /opt/tsg/env
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: "template setup script"
|
- name: "template setup script"
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/files/setup.j2"
|
src: "{{ role_path }}/templates/setup.j2"
|
||||||
dest: "/opt/tsg/env/setup"
|
dest: "/opt/tsg/env/setup"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
@@ -18,7 +23,7 @@
|
|||||||
|
|
||||||
- name: "template tsg-env_stop"
|
- name: "template tsg-env_stop"
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/files/tsg-env_stop.j2"
|
src: "{{ role_path }}/templates/tsg-env_stop.j2"
|
||||||
dest: "/opt/tsg/env/tsg-env_stop"
|
dest: "/opt/tsg/env/tsg-env_stop"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user