groups.conf 964 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # Test configuration file
  2. group {
  3. name=raid
  4. model=nplusm
  5. active-units=1
  6. backup-units=2
  7. unit {
  8. name=raidA
  9. component {
  10. name=comp_a_in_su_x
  11. model=x_active
  12. }
  13. component {
  14. name=comp_b_in_su_x
  15. model = x_active
  16. }
  17. }
  18. unit {
  19. name=raidB
  20. component {
  21. name=comp_a_in_su_y
  22. model=x_active
  23. }
  24. component {
  25. name=comp_b_in_su_y
  26. model = x_active
  27. }
  28. }
  29. unit {
  30. name=raidC
  31. component {
  32. name=comp_a_in_su_z
  33. model=x_active
  34. }
  35. component {
  36. name=comp_b_in_su_z
  37. model = x_active
  38. }
  39. }
  40. # protection group has the same name as a component service instance
  41. # if one entity of a component service instance fails, the entire
  42. # service unit fails over to another service unit in the service
  43. # instance
  44. protection {
  45. name = pgA
  46. member = comp_a_in_su_x
  47. member = comp_a_in_su_y
  48. member = comp_a_in_su_z
  49. }
  50. protection {
  51. name = pgB
  52. member = comp_b_in_su_x
  53. member = comp_b_in_su_y
  54. member = comp_b_in_su_z
  55. }
  56. }