mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-01-18 07:06:23 +00:00
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@5 fd59a12c-fef9-0310-b244-a6a79926bd2f
59 lines
964 B
Plaintext
59 lines
964 B
Plaintext
# Test configuration file
|
|
|
|
group {
|
|
name=raid
|
|
model=nplusm
|
|
active-units=1
|
|
backup-units=2
|
|
|
|
unit {
|
|
name=raidA
|
|
component {
|
|
name=comp_a_in_su_x
|
|
model=x_active
|
|
}
|
|
component {
|
|
name=comp_b_in_su_x
|
|
model = x_active
|
|
}
|
|
}
|
|
unit {
|
|
name=raidB
|
|
component {
|
|
name=comp_a_in_su_y
|
|
model=x_active
|
|
}
|
|
component {
|
|
name=comp_b_in_su_y
|
|
model = x_active
|
|
}
|
|
}
|
|
unit {
|
|
name=raidC
|
|
component {
|
|
name=comp_a_in_su_z
|
|
model=x_active
|
|
}
|
|
component {
|
|
name=comp_b_in_su_z
|
|
model = x_active
|
|
}
|
|
}
|
|
# protection group has the same name as a component service instance
|
|
# if one entity of a component service instance fails, the entire
|
|
# service unit fails over to another service unit in the service
|
|
# instance
|
|
protection {
|
|
name = pgA
|
|
member = comp_a_in_su_x
|
|
member = comp_a_in_su_y
|
|
member = comp_a_in_su_z
|
|
}
|
|
protection {
|
|
name = pgB
|
|
member = comp_b_in_su_x
|
|
member = comp_b_in_su_y
|
|
member = comp_b_in_su_z
|
|
}
|
|
}
|