Ranking consumers in order of priority

If you have critical workload to run, you can ensure resources are available to a consumer by assigning a high rank to that consumer. Note that if all consumers have a high ranking, any advantage one may have over another is nullified. Be selective in assigning a high consumer rank to a consumer.

Before you begin

  • You must either be a cluster administrator or a consumer administrator for this branch to modify a consumer rank.
  • You must have created at least one consumer before you can set any priorities (rank).

About this task

Consumer rank and the resource group or groups assigned to that consumer work in collaboration. Even if you set a consumer’s rank high, the resource group must have the resources available. You can also enable borrowing from other consumers to make sure any unowned resources are assigned to your high-ranking consumer.

Procedure

  1. From the cluster management console Dashboard, select Resources > Resource Planning (Slot) > Resource Plans.
  2. Under Consumer Rank, rank as many consumers as you want.

    Specify any non-negative whole number, where 0 is the highest priority. Priority settings are relative to one another within the resource group.

    Tip: New consumers and existing consumers that do not have an assigned rank are set to a default rank (10000), specified by the EGO_CONSUMER_PRIORITY_DEFAULT parameter in ego.conf. If EGO_CONSUMER_PRIORITY_DEFAULT is removed, all consumers have the highest possible rank (0). For more information, see ego.conf reference.
  3. Click Apply.
  4. From the drop-down list of resource groups, switch resource groups until you have set consumer priorities for all resource groups within the consumer tree.

What to do next

You may want to enable and specify details for lending and borrowing for this leaf consumer and its siblings, taking into consideration the priority you have set them.

For example, if you have set a low priority for a consumer, you may wish to enable lending with no limits for it, and then enable borrowing from this consumer in the borrowing details of all other consumers. Doing this maximizes the effectiveness of your resource distribution, lending and borrowing policies, and priority settings. In this example, low-priority slots are dynamically lent out to higher-priority consumers as required.