|
Every singleton service is managed by a high availability group to which a policy is assigned at runtime. The assignment is done by comparing the match criteria of each of the available policies against the HA group name properties of the high availability group. The policy with the strongest match will be assigned to the HA group.
First the HAManager will find the set of policies that are eligible to govern the HA group. In order for a policy to be eligible, the match set must be a proper subset of the HA group name (all <name,value> pairs in the match set of an eligible policy must be in the name of the HA group). Secondly, the HAManager will choose the policy from the eligible list based on the number of matches. The eligible policy with the most name,value pair matches is selected.
Important: The results of these two steps must yield exactly one policy, otherwise the HAManager cannot assign a policy for the group. |