agent.cfg 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. #[sms1]
  6. ##mandatory
  7. #clusterName=Voting
  8. #nodeName=Voting1
  9. #sql=SELECT * FROM (select * from mo where action_type = 20 order by mo_id) where mod(mo_id, %nbMembers%) = %order% and rownum <= 200
  10. #initialHosts=127.0.0.1[8201]
  11. #ip=127.0.0.1
  12. #port=1321
  13. #timeout=12000000
  14. #checkInterval=500
  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.VoteProcess
  19. #dbprocess_class=com.vas.portal.utils.database.DbProcessor
  20. #instances=2
  21. #module=0
  22. #exhchange=false
  23. #db_name=dbapp
  24. #
  25. #[sms2]
  26. ##mandatory
  27. #clusterName=GenerateLuckyCode
  28. #nodeName=GenerateLuckyCode1
  29. #sql=Select * from processed_date where type_process = 2
  30. #initialHosts=127.0.0.1[8202]
  31. #ip=127.0.0.1
  32. #port=1322
  33. #timeout=12000000
  34. #checkInterval=60000
  35. ##allow or disallow to log timeout and loaded records
  36. #extraLog=true
  37. #protocolStack=../etc/tcp.xml
  38. #process_class=com.vas.portal.process.GenerateLuckyCode
  39. #dbprocess_class=com.vas.portal.utils.database.DbReport
  40. #instances=1
  41. #module=0
  42. #exhchange=false
  43. #db_name=dbapp
  44. #[sms3]
  45. ##mandatory
  46. #clusterName=PrizeProcess
  47. #nodeName=PrizeProcess
  48. #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
  49. #initialHosts=127.0.0.1[8203]
  50. #ip=127.0.0.1
  51. #port=1323
  52. #timeout=12000000
  53. #checkInterval=60000
  54. ##allow or disallow to log timeout and loaded records
  55. #extraLog=true
  56. #protocolStack=../etc/tcp.xml
  57. #process_class=com.vas.portal.process.PrizeProcess
  58. #dbprocess_class=com.vas.portal.utils.database.DbReport
  59. #instances=1
  60. #module=0
  61. #exhchange=false
  62. #db_name=dbapp
  63. #[sms4]
  64. ##mandatory
  65. #clusterName=ExecutePrize
  66. #nodeName=ExecutePrize
  67. #sql=Select * from execute_prize where mod(id, %nbMembers%) = %order% and rownum <= 100
  68. #initialHosts=127.0.0.1[8204]
  69. #ip=127.0.0.1
  70. #port=1324
  71. #timeout=12000000
  72. #checkInterval=500
  73. ##allow or disallow to log timeout and loaded records
  74. #extraLog=true
  75. #protocolStack=../etc/tcp.xml
  76. #process_class=com.vas.portal.process.ExecutePrize
  77. #dbprocess_class=com.vas.portal.utils.database.DbExecute
  78. #instances=1
  79. #module=0
  80. #exhchange=false
  81. #db_name=dbapp
  82. #[sms3]
  83. ##mandatory
  84. #clusterName=CdrRechargeSftp
  85. #nodeName=CdrRechargeSftp1
  86. #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
  87. #initialHosts=127.0.0.1[8203]
  88. #ip=127.0.0.1
  89. #port=1323
  90. #timeout=12000000
  91. #checkInterval=500
  92. ##allow or disallow to log timeout and loaded records
  93. #extraLog=true
  94. #protocolStack=../etc/tcp.xml
  95. #process_class=com.vas.portal.process.CdrRechargeSftp
  96. #dbprocess_class=com.vas.portal.utils.database.DbReport
  97. #instances=1
  98. #module=0
  99. #exhchange=false
  100. #db_name=dbapp
  101. #[sms5]
  102. ##mandatory
  103. #clusterName=PrizeProcessOnline
  104. #nodeName=PrizeProcessOnline
  105. #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)
  106. #initialHosts=127.0.0.1[8205]
  107. #ip=127.0.0.1
  108. #port=1325
  109. #timeout=12000000
  110. #checkInterval=1000
  111. ##allow or disallow to log timeout and loaded records
  112. #extraLog=true
  113. #protocolStack=../etc/tcp.xml
  114. #process_class=com.vas.portal.process.PrizeProcessOnline
  115. #dbprocess_class=com.vas.portal.utils.database.DbReport
  116. #instances=1
  117. #module=0
  118. #exhchange=false
  119. #db_name=dbapp
  120. #
  121. #
  122. #[sms6]
  123. ##mandatory
  124. #clusterName=PrepairDailyPrize
  125. #nodeName=PrepairDailyPrize
  126. #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
  127. #initialHosts=127.0.0.1[8206]
  128. #ip=127.0.0.1
  129. #port=1326
  130. #timeout=12000000
  131. #checkInterval=1000
  132. ##allow or disallow to log timeout and loaded records
  133. #extraLog=true
  134. #protocolStack=../etc/tcp.xml
  135. #process_class=com.vas.portal.process.PrepairDailyPrize
  136. #dbprocess_class=com.vas.portal.utils.database.DbReport
  137. #instances=1
  138. #module=0
  139. #exhchange=false
  140. #db_name=dbapp
  141. #[sms1]
  142. ##mandatory
  143. #clusterName=ImportSignal
  144. #nodeName=ImportSignal1
  145. #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
  146. #initialHosts=127.0.0.1[8205]
  147. #ip=127.0.0.1
  148. #port=1325
  149. #timeout=12000000
  150. #checkInterval=500
  151. ##allow or disallow to log timeout and loaded records
  152. #extraLog=true
  153. #protocolStack=../etc/tcp.xml
  154. #process_class=com.vas.luckycall.process.ImportSignal
  155. #dbprocess_class=com.vas.portal.utils.database.DbReport
  156. #instances=2
  157. #module=0
  158. #exhchange=false
  159. #db_name=dbapp
  160. #
  161. #
  162. [sms2]
  163. #mandatory
  164. clusterName=SignalProcess
  165. nodeName=node1_SignalProcess
  166. sql=select * from (Select * from call_signal order by id) where mod(calling_number, %nbMembers%) = %order% and rownum <= 100
  167. initialHosts=127.0.0.1[8206]
  168. ip=127.0.0.1
  169. port=1326
  170. timeout=1200000
  171. checkInterval=500
  172. #allow or disallow to log timeout and loaded records
  173. extraLog=true
  174. protocolStack=../etc/tcp.xml
  175. process_class=com.vas.luckycall.process.SignalProcess
  176. dbprocess_class=com.vas.portal.utils.database.DbSignal
  177. instances=1
  178. db_name=dbapp
  179. #[sms3]
  180. ##mandatory
  181. #clusterName=RenewSpinTimes
  182. #nodeName=node1_RenewSpinTimes
  183. #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
  184. #initialHosts=127.0.0.1[8208]
  185. #ip=127.0.0.1
  186. #port=1328
  187. #timeout=1200000
  188. #checkInterval=500
  189. ##allow or disallow to log timeout and loaded records
  190. #extraLog=true
  191. #protocolStack=../etc/tcp.xml
  192. #process_class=com.vas.luckycall.process.RenewSpinTimes
  193. #dbprocess_class=com.vas.portal.utils.database.DbExtend
  194. #instances=1
  195. #db_name=dbapp
  196. #[sms3]
  197. ##mandatory
  198. #clusterName=PrizeProcess
  199. #nodeName=node1_PrizeProcess
  200. #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')
  201. #initialHosts=127.0.0.1[8208]
  202. #ip=127.0.0.1
  203. #port=1328
  204. #timeout=1200000
  205. #checkInterval=6000
  206. ##allow or disallow to log timeout and loaded records
  207. #extraLog=true
  208. #protocolStack=../etc/tcp.xml
  209. #process_class=com.vas.portal.process.PrizeProcess
  210. #dbprocess_class=com.vas.portal.utils.database.DbReport
  211. #instances=1
  212. #db_name=dbapp
  213. #[sms3]
  214. ##mandatory
  215. #clusterName=ExecutePrize
  216. #nodeName=node1_ExecutePrize
  217. #sql=select * from (Select * from execute_prize order by id) where mod(id, %nbMembers%) = %order% and rownum <= 100
  218. #initialHosts=127.0.0.1[8208]
  219. #ip=127.0.0.1
  220. #port=1328
  221. #timeout=1200000
  222. #checkInterval=6000
  223. ##allow or disallow to log timeout and loaded records
  224. #extraLog=true
  225. #protocolStack=../etc/tcp.xml
  226. #process_class=com.vas.portal.process.ExecutePrize
  227. #dbprocess_class=com.vas.portal.utils.database.DbExecute
  228. #instances=1
  229. #db_name=dbapp