agent.cfg 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. reducedWarn=Cluster changes, a few members have out from the cluster.
  2. increasedWarn=Cluster changes, a few members have joined the cluster.
  3. changedClusterCannotConnectDbWarn=Cluster changes, cluster has one node. This node cann't connect database.
  4. changedClusterCannotConnectDbWarn2=Cluster changes, cluster has many nodes. This node cann't connect database.
  5. [sms6]
  6. #mandatory
  7. clusterName=ToolCmdGenerator
  8. nodeName=ToolCmdGenerator
  9. sql=Select * from processed_date where type_process = 43 and not exists (select * from processed_date where type_process = 43 and last_process >= sysdate - 1/1440)
  10. initialHosts=127.0.0.1[8206]
  11. ip=127.0.0.1
  12. port=1326
  13. timeout=12000000
  14. checkInterval=10000
  15. #allow or disallow to log timeout and loaded records
  16. extraLog=true
  17. protocolStack=../etc/tcp.xml
  18. process_class=com.vas.portal.process.ToolCmdGenerator
  19. dbprocess_class=com.vas.portal.utils.database.DbReport
  20. instances=1
  21. module=0
  22. exhchange=false
  23. db_name=dbapp
  24. [sms7]
  25. #mandatory
  26. clusterName=ToolExecuteCmd
  27. nodeName=ToolExecuteCmd
  28. sql=Select * from (select * from tool_play where play_time <= sysdate order by play_time) where mod(id, %nbMembers%) = %order% and rownum <= 100
  29. initialHosts=127.0.0.1[8203]
  30. ip=127.0.0.1
  31. port=1323
  32. timeout=12000000
  33. checkInterval=30000
  34. #allow or disallow to log timeout and loaded records
  35. extraLog=true
  36. protocolStack=../etc/tcp.xml
  37. process_class=com.vas.portal.process.ToolExecuteCmd
  38. dbprocess_class=com.vas.portal.utils.database.DbToolPlay
  39. instances=1
  40. module=0
  41. exhchange=false
  42. db_name=dbapp
  43. #[sms2]
  44. ##mandatory
  45. #clusterName=GenerateLuckyCode
  46. #nodeName=GenerateLuckyCode1
  47. #sql=Select * from processed_date where type_process = 2
  48. #initialHosts=127.0.0.1[8202]
  49. #ip=127.0.0.1
  50. #port=1322
  51. #timeout=12000000
  52. #checkInterval=60000
  53. ##allow or disallow to log timeout and loaded records
  54. #extraLog=true
  55. #protocolStack=../etc/tcp.xml
  56. #process_class=com.vas.portal.process.GenerateLuckyCode
  57. #dbprocess_class=com.vas.portal.utils.database.DbReport
  58. #instances=1
  59. #module=0
  60. #exhchange=false
  61. #db_name=dbapp
  62. #[sms3]
  63. ##mandatory
  64. #clusterName=PrizeProcess
  65. #nodeName=PrizeProcess
  66. #sql=Select * from processed_date where type_process = 3 and not exists (select * from processed_date where type_process = 3 and last_process >= trunc(sysdate)) and to_number(to_char(sysdate,'hh24')) >= 0
  67. #initialHosts=127.0.0.1[8203]
  68. #ip=127.0.0.1
  69. #port=1323
  70. #timeout=12000000
  71. #checkInterval=60000
  72. ##allow or disallow to log timeout and loaded records
  73. #extraLog=true
  74. #protocolStack=../etc/tcp.xml
  75. #process_class=com.vas.portal.process.PrizeProcess
  76. #dbprocess_class=com.vas.portal.utils.database.DbReport
  77. #instances=1
  78. #module=0
  79. #exhchange=false
  80. #db_name=dbapp
  81. #[sms4]
  82. ##mandatory
  83. #clusterName=ExecutePrize
  84. #nodeName=ExecutePrize
  85. #sql=Select * from execute_prize where mod(id, %nbMembers%) = %order% and rownum <= 100
  86. #initialHosts=127.0.0.1[8204]
  87. #ip=127.0.0.1
  88. #port=1324
  89. #timeout=12000000
  90. #checkInterval=500
  91. ##allow or disallow to log timeout and loaded records
  92. #extraLog=true
  93. #protocolStack=../etc/tcp.xml
  94. #process_class=com.vas.portal.process.ExecutePrize
  95. #dbprocess_class=com.vas.portal.utils.database.DbExecute
  96. #instances=1
  97. #module=0
  98. #exhchange=false
  99. #db_name=dbapp
  100. #[sms3]
  101. ##mandatory
  102. #clusterName=CdrRechargeSftp
  103. #nodeName=CdrRechargeSftp1
  104. #sql=Select * from processed_date where type_process = 1 and not exists (select * from processed_date where type_process = 1 and last_process >= sysdate - 1/1440) and to_number(to_char(sysdate,'hh24')) >= 0
  105. #initialHosts=127.0.0.1[8203]
  106. #ip=127.0.0.1
  107. #port=1323
  108. #timeout=12000000
  109. #checkInterval=500
  110. ##allow or disallow to log timeout and loaded records
  111. #extraLog=true
  112. #protocolStack=../etc/tcp.xml
  113. #process_class=com.vas.portal.process.CdrRechargeSftp
  114. #dbprocess_class=com.vas.portal.utils.database.DbReport
  115. #instances=1
  116. #module=0
  117. #exhchange=false
  118. #db_name=dbapp
  119. #[sms5]
  120. ##mandatory
  121. #clusterName=PrizeProcessOnline
  122. #nodeName=PrizeProcessOnline
  123. #sql=Select * from processed_date where type_process = 4 and not exists (select * from processed_date where type_process = 4 and last_process > sysdate -5/1440)
  124. #initialHosts=127.0.0.1[8205]
  125. #ip=127.0.0.1
  126. #port=1325
  127. #timeout=12000000
  128. #checkInterval=1000
  129. ##allow or disallow to log timeout and loaded records
  130. #extraLog=true
  131. #protocolStack=../etc/tcp.xml
  132. #process_class=com.vas.portal.process.PrizeProcessOnline
  133. #dbprocess_class=com.vas.portal.utils.database.DbReport
  134. #instances=1
  135. #module=0
  136. #exhchange=false
  137. #db_name=dbapp
  138. #
  139. #
  140. #[sms6]
  141. ##mandatory
  142. #clusterName=PrepairDailyPrize
  143. #nodeName=PrepairDailyPrize
  144. #sql=Select * from processed_date where type_process = 13 and not exists (select * from processed_date where type_process = 13 and last_process >= trunc(sysdate)) and to_number(to_char(sysdate,'hh24')) >= 0
  145. #initialHosts=127.0.0.1[8206]
  146. #ip=127.0.0.1
  147. #port=1326
  148. #timeout=12000000
  149. #checkInterval=1000
  150. ##allow or disallow to log timeout and loaded records
  151. #extraLog=true
  152. #protocolStack=../etc/tcp.xml
  153. #process_class=com.vas.portal.process.PrepairDailyPrize
  154. #dbprocess_class=com.vas.portal.utils.database.DbReport
  155. #instances=1
  156. #module=0
  157. #exhchange=false
  158. #db_name=dbapp
  159. #[sms1]
  160. ##mandatory
  161. #clusterName=ImportSignal
  162. #nodeName=ImportSignal1
  163. #sql=Select * from processed_date where type_process = 22 and not exists (select * from processed_date where type_process = 22 and last_process >= sysdate - 5/86400) and to_number(to_char(sysdate,'hh24')) >= 0
  164. #initialHosts=127.0.0.1[8205]
  165. #ip=127.0.0.1
  166. #port=1325
  167. #timeout=12000000
  168. #checkInterval=500
  169. ##allow or disallow to log timeout and loaded records
  170. #extraLog=true
  171. #protocolStack=../etc/tcp.xml
  172. #process_class=com.vas.luckycall.process.ImportSignal
  173. #dbprocess_class=com.vas.portal.utils.database.DbReport
  174. #instances=2
  175. #module=0
  176. #exhchange=false
  177. #db_name=dbapp
  178. #
  179. #
  180. #[sms2]
  181. ##mandatory
  182. #clusterName=SignalProcess
  183. #nodeName=node1_SignalProcess
  184. #sql=select * from (Select * from call_signal order by id) where mod(calling_number, %nbMembers%) = %order% and rownum <= 100
  185. #initialHosts=127.0.0.1[8206]
  186. #ip=127.0.0.1
  187. #port=1326
  188. #timeout=1200000
  189. #checkInterval=500
  190. ##allow or disallow to log timeout and loaded records
  191. #extraLog=true
  192. #protocolStack=../etc/tcp.xml
  193. #process_class=com.vas.luckycall.process.SignalProcess
  194. #dbprocess_class=com.vas.portal.utils.database.DbSignal
  195. #instances=1
  196. #db_name=dbapp
  197. #[sms3]
  198. ##mandatory
  199. #clusterName=RenewSpinTimes
  200. #nodeName=node1_RenewSpinTimes
  201. #sql=select * from (Select * from reg_info where product_name = 'WEEKLY' and status = 1 and expire_time > sysdate and (last_extend is null or last_extend < trunc(sysdate)) order by register_id) where mod(register_id, %nbMembers%) = %order% and rownum <= 100
  202. #initialHosts=127.0.0.1[8208]
  203. #ip=127.0.0.1
  204. #port=1328
  205. #timeout=1200000
  206. #checkInterval=500
  207. ##allow or disallow to log timeout and loaded records
  208. #extraLog=true
  209. #protocolStack=../etc/tcp.xml
  210. #process_class=com.vas.luckycall.process.RenewSpinTimes
  211. #dbprocess_class=com.vas.portal.utils.database.DbExtend
  212. #instances=1
  213. #db_name=dbapp
  214. #[sms3]
  215. ##mandatory
  216. #clusterName=PrizeProcess
  217. #nodeName=node1_PrizeProcess
  218. #sql=Select * from processed_date where type_process = 20 and not exists (select * from processed_date where type_process = 20 and last_process >= trunc(sysdate)-6) and trunc(sysdate) = trunc(sysdate,'iw')
  219. #initialHosts=127.0.0.1[8208]
  220. #ip=127.0.0.1
  221. #port=1328
  222. #timeout=1200000
  223. #checkInterval=6000
  224. ##allow or disallow to log timeout and loaded records
  225. #extraLog=true
  226. #protocolStack=../etc/tcp.xml
  227. #process_class=com.vas.portal.process.PrizeProcess
  228. #dbprocess_class=com.vas.portal.utils.database.DbReport
  229. #instances=1
  230. #db_name=dbapp
  231. #[sms3]
  232. ##mandatory
  233. #clusterName=ExecutePrize
  234. #nodeName=node1_ExecutePrize
  235. #sql=select * from (Select * from execute_prize order by id) where mod(id, %nbMembers%) = %order% and rownum <= 100
  236. #initialHosts=127.0.0.1[8208]
  237. #ip=127.0.0.1
  238. #port=1328
  239. #timeout=1200000
  240. #checkInterval=6000
  241. ##allow or disallow to log timeout and loaded records
  242. #extraLog=true
  243. #protocolStack=../etc/tcp.xml
  244. #process_class=com.vas.portal.process.ExecutePrize
  245. #dbprocess_class=com.vas.portal.utils.database.DbExecute
  246. #instances=1
  247. #db_name=dbapp