svr-pack-analyze.yml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. server:
  2. port: ${svr-pack-analyzer.server.port}
  3. management:
  4. port: ${server.port}
  5. elasticsearch:
  6. pool:
  7. init-size: 5
  8. max-size: 10
  9. logging:
  10. level:
  11. com:
  12. netflix: INFO
  13. org:
  14. springframework:
  15. web: INFO
  16. hibernate: ERROR
  17. apache: ERROR
  18. spring:
  19. datasource:
  20. driver-class-name: com.mysql.jdbc.Driver
  21. max-active: 20
  22. max-idle: 8
  23. min-idle: 8
  24. validation-query: SELECT 1
  25. test-on-borrow: true
  26. # REDIS
  27. redis:
  28. database: 0 # Database index used by the connection factory.
  29. port: 6379 # Redis server port.
  30. timeout: 0 # Connection timeout in milliseconds.
  31. #sentinel:
  32. # master: # Name of Redis server.
  33. # nodes: # Comma-separated list of host:port pairs.
  34. pool:
  35. max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  36. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  37. max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  38. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  39. # SOLR (SolrProperties)
  40. data:
  41. solr:
  42. repositories.enabled: true # Enable Solr repositories.
  43. fast-dfs:
  44. pool:
  45. init-size: 5
  46. max-size: 20
  47. wait-time: 500
  48. connect-timeout: 2
  49. network-timeout: 30
  50. charset: ISO8859-1
  51. http:
  52. tracker-http-port: 80
  53. anti-steal-token: no
  54. secret-key: FastDFS1234567890
  55. hadoop:
  56. hbase-properties:
  57. - hbase.zookeeper.property.clientPort: 2181
  58. - zookeeper.znode.parent: /hbase-unsecure
  59. user:
  60. name: root
  61. analyze:
  62. job:
  63. minSize: 2 #解析入库初始任务数
  64. maxSize: 10 #解析入库最大任务数
  65. cronExp: 0/4 * * * * ? #解析任务触发间隔表达式
  66. ---
  67. spring:
  68. profiles: dev
  69. datasource:
  70. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  71. username: chenweishan
  72. password: chenweishan
  73. redis:
  74. host: 172.19.103.47 # Redis server host.
  75. port: 6379
  76. password: redis!@456
  77. data:
  78. solr:
  79. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  80. metrics:
  81. export:
  82. statsd:
  83. host: 172.19.103.73
  84. port: 8125
  85. fast-dfs:
  86. tracker-server: 172.19.103.13:22122
  87. public-server: http://172.19.103.52
  88. elasticsearch:
  89. cluster-name: elasticsearch
  90. cluster-nodes: 172.17.110.17:9300
  91. hadoop:
  92. hbase-properties:
  93. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  94. ---
  95. spring:
  96. profiles: alpha
  97. # Mysql
  98. datasource:
  99. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  100. username: ha
  101. password: ha
  102. redis:
  103. host: 192.168.1.220 # Redis server host.
  104. data:
  105. solr:
  106. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  107. metrics:
  108. export:
  109. statsd:
  110. host: 192.168.1.221
  111. port: 8125
  112. fast-dfs:
  113. tracker-server: 172.19.103.54:22122
  114. public-server: http://172.19.103.54:22122
  115. elasticsearch:
  116. cluster-name: elasticsearch
  117. cluster-nodes: 172.17.110.17:9300
  118. hadoop:
  119. hbase-properties:
  120. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  121. ---
  122. spring:
  123. profiles: test
  124. datasource:
  125. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  126. username: weifuwu
  127. password: weifuwu
  128. redis:
  129. host: 172.19.103.47 # Redis server host.
  130. data:
  131. solr:
  132. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  133. metrics:
  134. export:
  135. statsd:
  136. host: 172.19.103.73
  137. port: 8125
  138. fast-dfs:
  139. tracker-server: 172.19.103.13:22122
  140. public-server: http://172.19.103.52:80
  141. elasticsearch:
  142. cluster-name: elasticsearch
  143. cluster-nodes: 172.17.110.17:9300
  144. hadoop:
  145. hbase-properties:
  146. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  147. ---
  148. spring:
  149. profiles: prod
  150. datasource:
  151. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  152. username: ha
  153. password: jkzlxm
  154. redis:
  155. host: 11.1.2.20 # Redis server host.
  156. data:
  157. solr:
  158. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  159. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  160. zk-host: node1.hde.jkzlehr.com,node2.hde.jkzlehr.com,node3.hde.jkzlehr.com:2181/solr
  161. metrics:
  162. export:
  163. statsd:
  164. host: localhost
  165. port: 8125
  166. fast-dfs:
  167. tracker-server: 11.1.2.9:22122
  168. public-server: http://ds.ehr.yihu.com:22122
  169. elasticsearch:
  170. cluster-name: elasticsearch
  171. cluster-nodes: 172.17.110.17:9300
  172. hadoop:
  173. hbase-properties:
  174. #- hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  175. - hbase.zookeeper.quorum: node1,node2,node3
  176. ---
  177. spring:
  178. profiles: prod_fz
  179. datasource:
  180. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  181. username: healthcloud
  182. password: GP8Qz4qU
  183. redis:
  184. host: 11.1.2.22 # Redis server host.
  185. port: 6390
  186. password: Kb6wKDQP1W4
  187. data:
  188. solr:
  189. zk-host: node1.ehr.h3c.com,node2.ehr.h3c.com,node3.ehr.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  190. metrics:
  191. export:
  192. statsd:
  193. host: localhost
  194. port: 8125
  195. fast-dfs:
  196. tracker-server: 11.1.2.9:22122
  197. public-server: http://11.1.2.9:80
  198. elasticsearch:
  199. cluster-name: elasticsearch
  200. cluster-nodes: 172.17.110.17:9300
  201. hadoop:
  202. hbase-properties:
  203. - hbase.zookeeper.quorum: node1.ehr.h3c.com,node2.ehr.h3c.com,node3.ehr.h3c.com
  204. ---
  205. spring:
  206. profiles: prod_sr
  207. datasource:
  208. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  209. username: healthcloud
  210. password: GP8Qz4qU
  211. redis:
  212. host: 10.176.97.5 # Redis server host.
  213. port: 6390
  214. password: q4YaQemf
  215. data:
  216. solr:
  217. #host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  218. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  219. zk-host: node1.hde.jkzlehr.com,node2.hde.jkzlehr.com,node3.hde.jkzlehr.com:2181/solr
  220. metrics:
  221. export:
  222. statsd:
  223. host: localhost
  224. port: 8125
  225. fast-dfs:
  226. tracker-server: 10.176.97.5:22122
  227. public-server: http://10.176.97.5:8888
  228. elasticsearch:
  229. cluster-name: elasticsearch
  230. cluster-nodes: 10.176.97.7:9300
  231. hadoop:
  232. hbase-properties:
  233. #- hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  234. - hbase.zookeeper.quorum: node1,node2,node3