# 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.

# Requirements

# 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:

  1. Open licpoll.xml in the Components directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\Components.

  2. Locate and change the value of object node max-instances.

    licpoll.xml
     82|	<Object>
     83|		<Name>max-instances</Name>
     84|		<Description>Max number of concurrent LicPoll processes</Description>
     85|		<Value type="Int">6</Value>
     86|	</Object>
  3. Save the changes.

  4. Open a command prompt with Administrator level privileges.

  5. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd C:\Program Files\OpeniT\Core\bin
  6. Update the configuration file, run the command:

    Command Syntax
     openit_confbuilder --client
  1. Open licpoll.xml in the Components directory, which is by default in /var/opt/openit/etc/Components.

  2. Locate and change the value of object node max-instances.

    licpoll.xml
     82|	<Object>
     83|		<Name>max-instances</Name>
     84|		<Description>Max number of concurrent LicPoll processes</Description>
     85|		<Value type="Int">6</Value>
     86|	</Object>
  3. Save the changes.

  4. Go to the bin directory, which is by default in /var/opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /var/opt/openit/bin
  5. 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:

  1. Open licpoll.xml in the Components directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\Components.

  2. Locate the max-instances object node then add an extreme-weight-threshold after it.

    licpoll.xml
     82|	<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>
  3. Save the changes.

  4. Open a command prompt with Administrator level privileges.

  5. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd C:\Program Files\OpeniT\Core\bin
  6. Update the configuration file, run the command:

    Command Syntax
     openit_confbuilder --client
  1. Open licpoll.xml in the Components directory, which is by default in /var/opt/openit/etc/Components.

  2. Locate the max-instances object node then add an extreme-weight-threshold after it.

    licpoll.xml
     82|	<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>
  3. Save the changes.

  4. Go to the bin directory, which is by default in /var/opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /var/opt/openit/bin
  5. Update the configuration file, run the command:

    Command Syntax
     ./openit_confbuilder --client

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close