|
|||
17.9 Grid Usage Policies
17.9.1 Grid Usage Policy OverviewMoab allows extensive control over how peers interact. These controls allow the following:
Example
In the above example, the default RM job template is still in place to address unspecified job attributes. However, minimum and maximum job templates are also specified. Specifically, jobs from the peer interface master will only be accepted if they request no more than 16 processors and 16 hours of walltime. Further, jobs will only be accepted if they explicitly or implicitly request the master_acc account and either the external or urgent QOS. 17.9.2 Peer Job Resource LimitsBoth source and destination peers can limit the types of jobs they will allow in terms of resources requested, services provided, job duration, applications used, etc using Moab's job profile feature. Using this method, one or more job profiles can be created on either the source or destination side, and Moab can be configured to allow or reject jobs based on whether or not the jobs meet the specified jobs profile as in the following example:
Using the ALLOWJOBLIST and REJECTJOBLIST attributes, the following rules apply:
17.9.3 Usage Limits via Peer CredentialsWith peer interfaces, destination clusters willing to accept remote jobs can map these jobs onto a select subset of users, accounts, QoS's, and queues. With the ability to lock these jobs into certain credentials comes the ability to apply any arbitrary credential constraints, priority adjustments, and resource limitations normally available within cluster management. Specifically, the following can be accomplished:
17.9.4 Using General Policies in a Grid EnvironmentWhile Moab does provide a number of unique grid-based policies for use in a grid environment, the vast majority of available management tools come from the transparent application of cluster policies. Cluster-level policies such as job prioritization, node allocation, fairshare, usage limits, reservations, preemption, and allocation management all just work and can be applied in a grid in exactly the same manner. The one key concept to understand that is in a master-slave based grid, these policies apply across the entire grid, in a peer-based grid, these policies apply only to local workload and resources. 17.9.4.1 Source Cluster PoliciesIn many cases, organizations are interested in treating jobs dirrently based on their point of origin. This can be accomplished by assigning and/or keying off of a unique credential associated with the remote workload. For example, a site may wish to constrain jobs from a remote cluster to only a portion of the total available cluster cycles. This could be accomplished using usage limits, fairshare targets, fairshare caps, reservations, or allocation management based policies. The examples below show 3 different approaches for constraining remote resource access. Example 1: Constraining Remote Resource Access via Fairshare CapsExample 2: Constraining Remote Resource Access via Fairshare Targets and PreemptionExample 3: Constraining Remote Resource Access via Priority and Usage LimitsSee Also
|
|||
| © 2001-2008 Cluster Resources, Incorporated | |||