So the mod_cluster configuration stuff will below to the ServerGroup correct?
Since all servers in a ServerGroup would use the same mod_cluster configuration, at a minimum the ServerGroup will have a mapping of a domain level element onto the ServerGroup.
<domain> <mod_cluster_config name="foo">...</mod_cluster_config> <server-group name="group1"> <mod_cluster ref="foo"/> </server-group>
The above is just to illustrate what I meant; nothing in this post should be taken as suggested element names etc.
That approach is useful for reducing verbosity cases where the same config may be re-used across multiple server groups.
At a maximum, the entire mod_cluster_config could be a child element of server-group, but that can be verbose if multiple ServerGroups exist that are nearly identical.
If there are just a few things that are likely to change at the ServerGroup level, then an approach is to have the main config at the domain level and then fill in variable pieces at the ServerGroup:
<domain> <mod_cluster_config name="foo">...</mod_cluster_config> <server-group name="group1"> <mod_cluster ref="foo" some_term_other_than_domain="group1"/> </server-group>