Resource group preference for owned resources

With the multidimensional scheduling policy, you can specify multiple resource groups in one resource plan and define a preference at the consumer level for each resource group that contains owned resources. When preference is enabled, the resource orchestrator tries to use resources from resource groups with higher preference before using ones from resource groups with lesser preference.

Preference levels range from 1 to 10, with 1 being the most preferred. If a consumer does not specify a preference level for a resource group, the value is inherited from its parent. If the root consumer and its children do not define the preference level, the children use the preference defined at the plan level.

Preference level is also taken into account when borrowers borrow resources. Consumers borrow resources that are non-preferred by the owner first. In this sense, the preference level has a global value. The preference level for borrowers are taken into account during resource assignment only.

If two resource groups have the same preference level, the resource orchestrator randomly uses resources from those preferred resource groups. Preference levels defined for a leaf consumer apply to the ownership resource of its consumer. If the resource is not used by the consumer and lent out, the borrower of the resource does not observe the preference level. A preference level defined for a non-leaf consumer applies to its own private pool; it also serves as the default preference level for its children.

Child consumers can overwrite the preference level for its owned resource, if needed. The preference level defined for a child consumer applies to its owned resources but is not extended to the share pool.