groups.conf 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. # Test configuration file
  2. group {
  3. name=raid
  4. model=nplusm
  5. preferred-active-units=3
  6. maximum-active-instances=3
  7. preferred-standby-units=2
  8. maximum-standby-instances=4
  9. clccli_path=/home/sdake/amfb-dec/test
  10. binary_path=/home/sdake/amfb-dec/test
  11. component_restart_probation=100000
  12. component_restart_max=4
  13. unit_restart_probation=200000
  14. unit_restart_max=6
  15. unit {
  16. name=SU_1
  17. component {
  18. name=comp_a_in_su_1
  19. comptype=sa_aware
  20. bn=testamf1
  21. instantiate=clc_cli_script
  22. terminate=clc_cli_script
  23. cleanup=clc_cli_script
  24. }
  25. component {
  26. name=comp_b_in_su_1
  27. comptype=sa_aware
  28. bn=testamf1
  29. instantiate=clc_cli_script
  30. terminate=clc_cli_script
  31. cleanup=clc_cli_script
  32. }
  33. }
  34. unit {
  35. name=SU_2
  36. component {
  37. name=comp_a_in_su_2
  38. comptype=sa_aware
  39. bn=testamf1
  40. instantiate=clc_cli_script
  41. terminate=clc_cli_script
  42. cleanup=clc_cli_script
  43. }
  44. component {
  45. name=comp_b_in_su_2
  46. comptype=sa_aware
  47. bn=testamf1
  48. instantiate=clc_cli_script
  49. terminate=clc_cli_script
  50. cleanup=clc_cli_script
  51. }
  52. }
  53. unit {
  54. name=SU_3
  55. component {
  56. name=comp_a_in_su_3
  57. comptype=sa_aware
  58. bn=testamf1
  59. instantiate=clc_cli_script
  60. terminate=clc_cli_script
  61. cleanup=clc_cli_script
  62. }
  63. component {
  64. name=comp_b_in_su_3
  65. comptype=sa_aware
  66. bn=testamf1
  67. instantiate=clc_cli_script
  68. terminate=clc_cli_script
  69. cleanup=clc_cli_script
  70. }
  71. }
  72. unit {
  73. name=SU_4
  74. component {
  75. name=comp_a_in_su_4
  76. comptype=sa_aware
  77. bn=testamf1
  78. instantiate=clc_cli_script
  79. terminate=clc_cli_script
  80. cleanup=clc_cli_script
  81. }
  82. component {
  83. name=comp_b_in_su_4
  84. comptype=sa_aware
  85. bn=testamf1
  86. instantiate=clc_cli_script
  87. terminate=clc_cli_script
  88. cleanup=clc_cli_script
  89. }
  90. }
  91. unit {
  92. name=SU_5
  93. component {
  94. name=comp_a_in_su_5
  95. comptype=sa_aware
  96. bn=testamf1
  97. instantiate=clc_cli_script
  98. terminate=clc_cli_script
  99. cleanup=clc_cli_script
  100. }
  101. component {
  102. name=comp_b_in_su_5
  103. comptype=sa_aware
  104. bn=testamf1
  105. instantiate=clc_cli_script
  106. terminate=clc_cli_script
  107. cleanup=clc_cli_script
  108. }
  109. }
  110. serviceinstance {
  111. name = siaa
  112. }
  113. serviceinstance {
  114. name = sibb
  115. }
  116. serviceinstance {
  117. name = sicc
  118. }
  119. # serviceinstance {
  120. # name = sidd
  121. # }
  122. # serviceinstance {
  123. # name = side
  124. # }
  125. # serviceinstance {
  126. # name = sidf
  127. # }
  128. }
  129. healthcheck {
  130. key = key1
  131. period = 500
  132. maximum_duration = 550
  133. }
  134. healthcheck {
  135. key = key2
  136. period = 2000
  137. maximum_duration = 250
  138. }
  139. healthcheck {
  140. key = key3
  141. period = 3000
  142. maximum_duration = 350
  143. }