Scenario: Creating a job definition for a job to run on x86 processors
In this scenario, a job is created to run the application, appx86. The application must run on a workstation with an x86 processor where the CPU usage between 3 and 30%. Load balancing is to be defined by an objective to keep CPU use on matching resources to a minimum.
About this task
Procedure
Results
<jsdl:jobDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jsdl="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdl"
xsi:schemaLocation="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdl JSDL.xsd"
description="Job to run on X86 processors" name="x86job">
<jsdl:application name="executable">
<jsdle:executable path="/opt/appx86">
</jsdle:executable>
</jsdl:application>
<jsdl:resources>
<jsdl:properties>
<jsdl:requirement propertyName="CPUUtilization">
<jsdl:range>
<jsdl:minimum>3</jsdl:minimum>
<jsdl:maximum>30</jsdl:maximum>
</jsdl:range>
</jsdl:requirement>
<jsdl:requirement propertyName="ProcessorType">
<jsdl:exact>x86</jsdl:exact>
</jsdl:requirement>
</jsdl:properties>
</jsdl:resources>
<jsdl:optimization name="JPT_JSDLOptimizationPolicyType">
<jsdl:objective propertyObjective="minimize"
resourcePropertyName="CPUUtilization"
resourceType="ComputerSystem"/>
</jsdl:optimization>
</jsdl:optimization>
</jsdl:jobDefinition>