Authored by Your Name

新增wallet日志同步

1 # inventory file for az2 1 # inventory file for az2
2 -# auto generated at 2019-07-15 12:47:28 2 +# auto generated at 2019-09-24 14:05:28
3 3
4 [nameservers] 4 [nameservers]
5 172.31.9.217 5 172.31.9.217
@@ -101,6 +101,10 @@ @@ -101,6 +101,10 @@
101 172.31.70.75 101 172.31.70.75
102 102
103 103
  104 +[java-wallet]
  105 +172.31.70.75
  106 +
  107 +
104 [java-wechat] 108 [java-wechat]
105 172.31.70.36 109 172.31.70.36
106 110
1 # inventory file for az1 1 # inventory file for az1
2 -# auto generated at 2019-07-15 12:47:28 2 +# auto generated at 2019-09-24 14:05:28
3 3
4 [nameservers] 4 [nameservers]
5 10.66.4.18 5 10.66.4.18
@@ -154,6 +154,11 @@ @@ -154,6 +154,11 @@
154 10.66.70.45 154 10.66.70.45
155 155
156 156
  157 +[java-wallet]
  158 +10.66.70.26
  159 +10.66.70.57
  160 +
  161 +
157 [java-wechat] 162 [java-wechat]
158 10.66.70.223 163 10.66.70.223
159 10.66.70.42 164 10.66.70.42
@@ -255,6 +255,22 @@ @@ -255,6 +255,22 @@
255 roles: 255 roles:
256 - java-rsyslog 256 - java-rsyslog
257 257
  258 +# rsyslog config for java wallet
  259 +- hosts: java-wallet
  260 + vars:
  261 + rsyslog_module: wallet
  262 + rsyslog_files:
  263 + - transfer_notify
  264 + - warn-log
  265 + - debug-log
  266 + - request-timeout
  267 + - request-stat
  268 + - database-timeout
  269 +
  270 + remote_user: root
  271 + roles:
  272 + - java-rsyslog
  273 +
258 - hosts: java-messagecontroller 274 - hosts: java-messagecontroller
259 vars: 275 vars:
260 rsyslog_module: yoho-message-controller 276 rsyslog_module: yoho-message-controller
@@ -36,6 +36,7 @@ host_group = { "nginx": "java-nginx", @@ -36,6 +36,7 @@ host_group = { "nginx": "java-nginx",
36 "yohobuy_promotion": "java-promotion", 36 "yohobuy_promotion": "java-promotion",
37 "yohobuy_product": "java-product", 37 "yohobuy_product": "java-product",
38 "yoho_message": "java-message", 38 "yoho_message": "java-message",
  39 + "yoho_wallet": "java-wallet",
39 "yoho_sns": "java-sns", 40 "yoho_sns": "java-sns",
40 41
41 "yohobuy_brower": "java-brower", 42 "yohobuy_brower": "java-brower",