#
Configuring Licpoll Load Balancer
Licpoll Load Balancer is a program that balances out the number of licpoll
jobs with the number of servers or products to poll by creating scheduler jobs for running licpoll
based on the configured products in licpoll.xml
, the defined maximum instances, and the defined weight threshold.
As a scheduler job, it runs:
- when the scheduler starts
- 10 minutes before the start of every hour
- when the scheduler job that runs the license configuration builder ends
The following sections will guide you on configuring the Licpoll Load Balancer behavior.
This task requires support's assistance. Please coordinate with them to ensure a smooth process.
#
Requirements
- Open iT Core Server
- Activated Licpoll Load Balancer
#
Configuring Max Instances
The maximum number of jobs the Licpoll Load Balancer can create is ten (10) by default. To change it, follow these steps:
Open
licpoll.xml
in the Components directory, which is by default inC:\Program Files\OpeniT\Core\Configuration\Components
.Locate and change the value of object node
max-instances
.licpoll.xml82| <Object> 83| <Name>max-instances</Name> 84| <Description>Max number of concurrent LicPoll processes</Description> 85| <Value type="Int">6</Value> 86| </Object>
Save the changes.
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:Command Syntaxcd $BIN_DIR
Examplecd C:\Program Files\OpeniT\Core\bin
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --client
Open
licpoll.xml
in the Components directory, which is by default in/var/opt/openit/etc/Components
.Locate and change the value of object node
max-instances
.licpoll.xml82| <Object> 83| <Name>max-instances</Name> 84| <Description>Max number of concurrent LicPoll processes</Description> 85| <Value type="Int">6</Value> 86| </Object>
Save the changes.
Go to the bin directory, which is by default in
/var/opt/openit/bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd /var/opt/openit/bin
Update the configuration file, run the command:
Command Syntax./openit_confbuilder --client
#
Configuring Weight Threshold
Any product that exceeds the weight threshold defined is given a job of its own, aside from the specified max-instances
. The weight threshold is 120 by default. To change it, follow these steps:
Open
licpoll.xml
in the Components directory, which is by default inC:\Program Files\OpeniT\Core\Configuration\Components
.Locate the
max-instances
object node then add anextreme-weight-threshold
after it.licpoll.xml82| <Object> 83| <Name>max-instances</Name> 84| <Description>Max number of concurrent LicPoll processes</Description> 85| <Value type="Int">6</Value> 86| </Object> 87| 88| <Object> 89| <Name>extreme-weight-threshold</Name> 90| <Description>The weight threshold for extremely huge products</Description> 91| <Value type="Int">200</Value> 92| </Object>
Save the changes.
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:Command Syntaxcd $BIN_DIR
Examplecd C:\Program Files\OpeniT\Core\bin
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --client
Open
licpoll.xml
in the Components directory, which is by default in/var/opt/openit/etc/Components
.Locate the
max-instances
object node then add anextreme-weight-threshold
after it.licpoll.xml82| <Object> 83| <Name>max-instances</Name> 84| <Description>Max number of concurrent LicPoll processes</Description> 85| <Value type="Int">6</Value> 86| </Object> 87| 88| <Object> 89| <Name>extreme-weight-threshold</Name> 90| <Description>The weight threshold for extremely huge products</Description> 91| <Value type="Int">200</Value> 92| </Object>
Save the changes.
Go to the bin directory, which is by default in
/var/opt/openit/bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd /var/opt/openit/bin
Update the configuration file, run the command:
Command Syntax./openit_confbuilder --client