Skip to main content

Creating load balancing rules with custom properties

Your company has a number of multi-node Qlik Sense installations, and you need to create load balancing rules for all of your nodes. You can set load balancing rules on individual nodes. However, given the multi-node scenario, it will be easier to manage load balancing if you group nodes.

The following example will show how you can group nodes by function. Let's assume that you want to create load balancing rules to load balance each site node with the apps published on the corresponding departments' streams on the central node.

Tip noteThe same method can be applied to schedulers, proxies, and engines.
  1. Create a custom property called Departments.

    1. Apply the custom property to the resource types Nodes and Streams.

    2. Create the following values for the custom property Departments: Sales, Development, and Test.

  2. Add the custom property Departments to nodes.

    1. Select the appropriate nodes in the Nodes overview using multi-select.

    2. Click Edit.

    3. In the Custom properties section, set custom property Departments to Sales.

    4. Repeat for the departments Development and Test.

  3. Add the custom property Departments to streams.

    1. Select the appropriate streams in the Streams overview using multi-select.

    2. Click Edit.

    3. In the Custom properties section, set custom property Departments to Sales.

    4. Repeat for the departments Development and Test.

  4. Create a load balancing rule that enables Sales nodes to load balance apps in the Sales streams on the central node.
    1. Create a load balancing rule for the resource App_* with the following condition (in the Advanced section):

      node.@Department= Sales and resource.stream.@Department = Sales

      This means that the load balancing rule will apply to all apps in streams that have the custom property Departments set to the value Sales.

    2. Repeat for all departments.

You have now made it possible to administer node load balancing using departments.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!