This page is intentionally hidden from navigation but remains accessible via direct link. It is retained for internal reference purposes only and may contain outdated or transitional content.
LoadManager
The loadmanager (openit_loadmanager
) is an application that manages the sequence of the data processing jobs. The processes could be pending, queued, running, finished, blocked, or garbage.
Loadmanager runs in the background of the Open iT server by default, following its recommended behavior. But if needed, you can configure and run it manually with the following instructions.
You need support's assistance to do this. Please coordinate with them to make sure everything goes smoothly.
Requirements
- Open iT Core Server
- Administrative Rights
Configuring the Loadmanager
To configure how much CPU usage the loadmanager can utilize, follow these steps:
- Windows
- Unix
-
Go to the Components directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\Components
, and openloadmanager.xml
. -
Configure the maximum available cores you want the loadmanager to utilize. a. Locate object node
max-cores
under object nodeloadmanager
and set its value to the maximum available cores you want the loadmanager to utilize.loadmanager.xml<Object>
<Name>max-cores</Name>
<Description>Maximum available cores the LoadManager can utilize. (Zero means utilize all available cores.)</Description>
<Value type="Integer">0</Value>noteZero (0) means the loadmanager will utilize all available cores. This number can be the actual number of cores or higher if hyper-threading is active in the CPU.
b. Locate object node
limitation
underloadmanager.max-cores
and set its value to tune loadmanager for a more optimal run.<div style={{"counter-reset": "line-count 44"}}>
```xml {4} title="loadmanager.xml" showLineNumbers
<Object>
<Name>limitation</Name>
<Description>For when max-cores is set to zero. If the value is a negative integer, reduce max value by at most this number of cores. (Will not reduce down to zero!) If the value is an integer followed by '%', then utilize this percentage of the total available cores.</Description>
<Value type="String">80%</Value>
```
</div>
:::info[note]
Specifying a negative integer will subtract from the total number of available cores, while a percentage value will do a relative subtraction.
::: -
Configure the maximum available cores you want the queued heavy jobs to utilize.
NOTEProcessing of the following data types are considered heavy jobs:
a. Locate object node
max-cores
under object nodequeue_heavy
and set its value:loadmanager.xml<Object>
<Name>max-cores</Name>
<Description>The maximum cores this queue can utilize. (A value of zero means the generic max-cores will be used.)</Description>
<Value type="Integer">0</Value>NOTEZero (0) means the maximum defined by the overall setting, (e.g., If max-cores=0 and limitation=80% on a 20 core machine, there will be 16 cores available for the queued jobs).
b. Locate object node
limitation
underqueue_heavy.max-cores
and set its value:loadmanager.xml<Object>
<Name>limitation</Name>
<Description>For when max-cores is set to zero. If the value is a negative integer, reduce max value by at most this number of cores. (Will not reduce down to zero!) If the value is an integer followed by '%', then utilize this percentage of the total available cores.</Description>
<Value type="String">30%</Value>NOTESpecifying a negative integer will subtract from the total number of available cores, while a percentage value will do a relative subtraction.
-
Configure the maximum available cores you want the queued normal jobs to utilize.
a. Locate object node
max-cores
under object nodequeue_normal
and set its value:loadmanager.xml<Object>
<Name>max-cores</Name>
<Description>The maximum cores this queue can utilize. (A value of zero means the generic max-cores will be used.)</Description>
<Value type="Integer">0</Value>NOTEZero (0) means the maximum defined by the overall setting, (e.g., If max-cores=0 and limitation=80% on a 20 core machine, there will be 16 cores available for the queued jobs).
b. Locate object node
limitation
underqueue_normal.max-cores
and set its value:loadmanager.xml<Object>
<Name>limitation</Name>
<Description>For when max-cores is set to zero. If the value is a negative integer, reduce max value by at most this number of cores. (Will not reduce down to zero!) If the value is an integer followed by '%', then utilize this percentage of the total available cores.</Description>
<Value type="String">100%</Value>NOTESpecifying a negative integer will subtract from the total number of available cores, while a percentage value will do a relative subtraction.
-
Save the file.
-
Open a command prompt with Administrator level privileges.
-
Go to the bin directory:
Examplecd C:\Program Files\OpeniT\Core\bin
-
Update the configuration file:
Command Syntaxopenit_confbuilder --server
-
Go to the Components directory, which is by default in
/var/opt/openit/etc/Components
, and openloadmanager.xml
. -
Configure the maximum available cores you want the loadmanager to utilize. a. Locate object node
max-cores
under object nodeloadmanager
and set its value to the maximum available cores you want the loadmanager to utilize.loadmanager.xml<Object>
<Name>max-cores</Name>
<Description>Maximum available cores the LoadManager can utilize. (Zero means utilize all available cores.)</Description>
<Value type="Integer">0</Value>NOTEZero (0) means the loadmanager will utilize all available cores. This number can be the actual number of cores or higher if hyper-threading is active in the CPU.
b. Locate object node
limitation
underloadmanager.max-cores
and set its value to tune loadmanager for a more optimal run.loadmanager.xml<Object>
<Name>limitation</Name>
<Description>For when max-cores is set to zero. If the value is a negative integer, reduce max value by at most this number of cores. (Will not reduce down to zero!) If the value is an integer followed by '%', then utilize this percentage of the total available cores.</Description>
<Value type="String">80%</Value>NOTESpecifying a negative integer will subtract from the total number of available cores, while a percentage value will do a relative subtraction.
-
Configure the maximum available cores you want the queued heavy jobs to utilize.
NOTEProcessing of the following data types are considered heavy jobs:
a. Locate object node
max-cores
under object nodequeue_heavy
and set its value:loadmanager.xml<Object>
<Name>max-cores</Name>
<Description>The maximum cores this queue can utilize. (A value of zero means the generic max-cores will be used.)</Description>
<Value type="Integer">0</Value>NOTEZero (0) means the maximum defined by the overall setting, (e.g., If max-cores=0 and limitation=80% on a 20 core machine, there will be 16 cores available for the queued jobs).
b. Locate object node
limitation
underqueue_heavy.max-cores
and set its value:loadmanager.xml<Object>
<Name>limitation</Name>
<Description>For when max-cores is set to zero. If the value is a negative integer, reduce max value by at most this number of cores. (Will not reduce down to zero!) If the value is an integer followed by '%', then utilize this percentage of the total available cores.</Description>
<Value type="String">30%</Value>NOTESpecifying a negative integer will subtract from the total number of available cores, while a percentage value will do a relative subtraction.
-
Configure the maximum available cores you want the queued normal jobs to utilize.
a. Locate object node
max-cores
under object nodequeue_normal
and set its value:loadmanager.xml<Object>
<Name>max-cores</Name>
<Description>The maximum cores this queue can utilize. (A value of zero means the generic max-cores will be used.)</Description>
<Value type="Integer">0</Value>NOTEZero (0) means the maximum defined by the overall setting, (e.g., If max-cores=0 and limitation=80% on a 20 core machine, there will be 16 cores available for the queued jobs).
b. Locate object node
limitation
underqueue_normal.max-cores
and set its value:loadmanager.xml<Object>
<Name>limitation</Name>
<Description>For when max-cores is set to zero. If the value is a negative integer, reduce max value by at most this number of cores. (Will not reduce down to zero!) If the value is an integer followed by '%', then utilize this percentage of the total available cores.</Description>
<Value type="String">100%</Value>NOTESpecifying a negative integer will subtract from the total number of available cores, while a percentage value will do a relative subtraction.
-
Save the file.
-
Go to the bin directory:
Examplecd /opt/openit/bin
-
Update the configuration file:
Command Syntax./openit_confbuilder --server
Running the Loadmanager
- Windows
- Unix
-
Open a command prompt with Administrator level privileges.
-
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin
, run the command:Examplecd C:\Program Files\OpeniT\Core\bin
-
Run the command:
Command Syntaxopenit_loadmanager <parameter 1> <parameter 2>...<parameter n>
Optional Parameters
Name Description --help
Use this parameter to display the help text. --version
Use this parameter to display the application version information. --debug <arg>
Use this parameter to specify the debug level.
Possible values are:- 1 - info
- 2 - debug
- 3 - warning
- 4 - verbose
- 5 - trace
-c <arg>
Use this parameter to specify the path of the configuration file to use instead of the default. --pend <arg>
Use this parameter to specify the base directory name of the pending jobs. --que <arg>
Use this parameter to specify the base directory name of the queued jobs. --run <arg>
Use this parameter to specify the base directory name of the running jobs. --fin <arg>
Use this parameter to specify the base directory name of the finished jobs. --block <arg>
Use this parameter to specify the base directory name of the blocked jobs. --garbage <arg>
Use this parameter to specify the base directory name of the garbage job files. --maxcores <arg>
Use this parameter to specify the maximum number of cores to be used. --allow-dependencies
Use this parameter for loadmanager to allow job dependencies. Optional Parameters for Running LoadManager
-
Go to the bin directory, which is by default in
/opt/openit/bin
, run the command:Examplecd /opt/openit/bin
-
Run the command:
Command Syntax./openit_loadmanager <parameter 1> <parameter 2>...<parameter n>
Optional Parameters:
Name Description --help
Use this parameter to display the help text. --version
Use this parameter to display the binary version information. --debug <arg>
Use this parameter to specify the debug level.
Possible values are:- 1 - info
- 2 - debug
- 3 - warning
- 4 - verbose
- 5 - trace
-c <arg>
Use this parameter to specify the path of the configuration file to use instead of the default. --pend <arg>
Use this parameter to specify the base directory name of the pending jobs. --que <arg>
Use this parameter to specify the base directory name of the queued jobs. --run <arg>
Use this parameter to specify the base directory name of the running jobs. --fin <arg>
Use this parameter to specify the base directory name of the finished jobs. --block <arg>
Use this parameter to specify the base directory name of the blocked jobs. --garbage <arg>
Use this parameter to specify the base directory name of the garbage job files. --maxcores <arg>
Use this parameter to specify the maximum number of cores to be used. --allow-dependencies
Use this parameter for loadmanager to allow job dependencies. Optional Parameters for Running LoadManager