Resource Groups
The notion of a "resource group" in Allocator is useful when you have a resource that is derived from multiple sources.
For example, you have some licenses of spice in India and some other license of the same spice in Russia, and you want to manage the aggregate of those license through Allocator.
#
# Fragment of vovlad/config.tcl
#
LA::DefineResourceGroup "WAN:Spice" {
#
# Two components in this group.
#
LA::AddResource "India:spice" FLEXLM/IN/spice ""
LA::AddResource "Russia:spice" FLEXLM/RU/spice ""
}
This results in a resource map called "WAN:Spice" which is derived from the "OR'ing" of the licenses from India and the licenses from Russia, in addition to the individual resources called India:spice and Russia:spice.
By defining resource groups, Allocator can take into account the out-of-queue usage for the components when computing the allocation of the group.
#
# Fragment of vovlad/config.tcl
#
LA::SetResourceWeight "RU" "India:spice" DO_NOT_SHARE