| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- # Test configuration file
- group {
- name=raid
- model=nplusm
- preferred-active-units=2
- maximum-active-instances=2
- preferred-standby-units=2
- maximum-standby-instances=4
- clccli_path=/tmp/trunktest/test
- binary_path=/tmp/trunktest/test
- component_restart_probation=100000
- component_restart_max=4
- unit_restart_probation=200000
- unit_restart_max=6
- unit {
- name=SU_1
- component {
- name=comp_a_in_su_1
- comptype=sa_aware
- bn=testamf1
- instantiate=clc_cli_script
- terminate=clc_cli_script
- cleanup=clc_cli_script
- csi_type_name {
- name=for_comp_a_x
- }
- csi_type_name {
- name=for_comp_a_y
- }
- }
- component {
- name=comp_b_in_su_1
- comptype=sa_aware
- bn=testamf1
- instantiate=clc_cli_script
- terminate=clc_cli_script
- cleanup=clc_cli_script
- csi_type_name {
- name=for_comp_b
- }
- }
- }
- unit {
- name=SU_2
- component {
- name=comp_a_in_su_2
- comptype=sa_aware
- bn=testamf1
- instantiate=clc_cli_script
- terminate=clc_cli_script
- cleanup=clc_cli_script
- csi_type_name {
- name=for_comp_a_x
- }
- csi_type_name {
- name=for_comp_a_y
- }
- }
- component {
- name=comp_b_in_su_2
- comptype=sa_aware
- bn=testamf1
- instantiate=clc_cli_script
- terminate=clc_cli_script
- cleanup=clc_cli_script
- csi_type_name {
- name=for_comp_b
- }
- }
- }
- unit {
- name=SU_3
- component {
- name=comp_a_in_su_3
- comptype=sa_aware
- bn=testamf1
- instantiate=clc_cli_script
- terminate=clc_cli_script
- cleanup=clc_cli_script
- csi_type_name {
- name=for_comp_a_x
- }
- csi_type_name {
- name=for_comp_a_y
- }
- }
- component {
- name=comp_b_in_su_3
- comptype=sa_aware
- bn=testamf1
- instantiate=clc_cli_script
- terminate=clc_cli_script
- cleanup=clc_cli_script
- csi_type_name {
- name=for_comp_b
- }
- }
- }
- unit {
- name=SU_4
- component {
- name=comp_a_in_su_4
- comptype=sa_aware
- bn=testamf1
- instantiate=clc_cli_script
- terminate=clc_cli_script
- cleanup=clc_cli_script
- csi_type_name {
- name=for_comp_a_x
- }
- csi_type_name {
- name=for_comp_a_y
- }
- }
- component {
- name=comp_b_in_su_4
- comptype=sa_aware
- bn=testamf1
- instantiate=clc_cli_script
- terminate=clc_cli_script
- cleanup=clc_cli_script
- csi_type_name {
- name=for_comp_b
- }
- }
- }
- serviceinstance {
- name = SI_1
- csi_descriptor {
- csi_name=csi_ax_in_si_1
- type_name=for_comp_a_x
- name_value {
- name=good_health_limit
- value=0
- }
- name_value {
- name=ax_attr2
- value=ax1_val2
- }
- }
- csi_descriptor {
- csi_name=csi_ay_in_si_1
- type_name=for_comp_a_y
- name_value {
- name=ay_attr1
- value=ay1_val1
- }
- name_value {
- name=ay_attr2
- value=ay1_val2
- }
- }
- csi_descriptor {
- csi_name=csi_b_in_si_1
- type_name=for_comp_b
- name_value {
- name=good_health_limit
- value=0
- }
- name_value {
- name=b_attr2
- value=b1_val2
- }
- }
- }
- serviceinstance {
- name = SI_2
- csi_descriptor {
- csi_name=csi_ax_in_si_2
- type_name=for_comp_a_x
- name_value {
- name=good_health_limit
- value=10
- }
- name_value {
- name=ax_attr2
- value=ax2_val2
- }
- }
- csi_descriptor {
- csi_name=csi_b_in_si_2
- type_name=for_comp_b
- name_value {
- name=good_health_limit
- value=0
- }
- name_value {
- name=b_attr2
- value=b2_val2
- }
- }
- csi_descriptor {
- csi_name=csi_ay_in_si_2
- type_name=for_comp_a_y
- name_value {
- name=ay_attr1
- value=ay2_val1
- }
- name_value {
- name=ay_attr2
- value=ay2_val2
- }
- }
- }
- # serviceinstance {
- # name = sibb
- # }
- # serviceinstance {
- # name = sicc
- # }
- # serviceinstance {
- # name = sidd
- # }
- # serviceinstance {
- # name = side
- # }
- # serviceinstance {
- # name = sidf
- # }
- }
- healthcheck {
- key = key1
- period = 500
- maximum_duration = 550
- }
- healthcheck {
- key = key2
- period = 2000
- maximum_duration = 250
- }
- healthcheck {
- key = key3
- period = 3000
- maximum_duration = 350
- }
|