<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Load balancing specific apps on a specific node in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1609456#M14314</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Our setup is:&lt;/P&gt;&lt;P&gt;Qlik Sense enterprise April 2019 patch 1&lt;/P&gt;&lt;P&gt;4 nodes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Node 1: all services installed, acts as central node&lt;/LI&gt;&lt;LI&gt;Node 2: should handle reloads and load balancing for all non-super-user apps&lt;/LI&gt;&lt;LI&gt;Node 3: Proxy node which has 1 virtual proxy that should be used by all users&lt;/LI&gt;&lt;LI&gt;Node 4: alls services installed, should handle all reloads and load balancing for all super-user app&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We want to set up load balancing rules based on app.owner so that all apps that are owned by super-users will be reloaded and load balanced only by Node 4 and all other apps should be load balanced by Node 1 and Node 2.&lt;BR /&gt;&lt;BR /&gt;Is this possible, and in that case, how do we write the rules?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Petter Grundström&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:04:24 GMT</pubDate>
    <dc:creator>petgr138</dc:creator>
    <dc:date>2024-11-16T05:04:24Z</dc:date>
    <item>
      <title>Load balancing specific apps on a specific node</title>
      <link>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1609456#M14314</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Our setup is:&lt;/P&gt;&lt;P&gt;Qlik Sense enterprise April 2019 patch 1&lt;/P&gt;&lt;P&gt;4 nodes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Node 1: all services installed, acts as central node&lt;/LI&gt;&lt;LI&gt;Node 2: should handle reloads and load balancing for all non-super-user apps&lt;/LI&gt;&lt;LI&gt;Node 3: Proxy node which has 1 virtual proxy that should be used by all users&lt;/LI&gt;&lt;LI&gt;Node 4: alls services installed, should handle all reloads and load balancing for all super-user app&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We want to set up load balancing rules based on app.owner so that all apps that are owned by super-users will be reloaded and load balanced only by Node 4 and all other apps should be load balanced by Node 1 and Node 2.&lt;BR /&gt;&lt;BR /&gt;Is this possible, and in that case, how do we write the rules?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Petter Grundström&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1609456#M14314</guid>
      <dc:creator>petgr138</dc:creator>
      <dc:date>2024-11-16T05:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing specific apps on a specific node</title>
      <link>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1609851#M14332</link>
      <description>&lt;P&gt;How are you defining a super-user? A group? A custom property? A role? Some combination of those three?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 13:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1609851#M14332</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-08-06T13:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing specific apps on a specific node</title>
      <link>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1609856#M14333</link>
      <description>&lt;P&gt;A super-user is a member of a specific AD group i.e. user.group&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 14:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1609856#M14333</guid>
      <dc:creator>petgr138</dc:creator>
      <dc:date>2019-08-06T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing specific apps on a specific node</title>
      <link>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1611998#M14361</link>
      <description>&lt;P&gt;With all things rules related, there are multiple ways of accomplishing this. The way that I'd go about it is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Disable the Load Balancing Rule named&amp;nbsp;ResourcesOnNonCentralNodes
&lt;UL&gt;
&lt;LI&gt;This rule sends all apps not in the monitoring apps stream to all RIMs&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Find the user.group you're interested in using. Example:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="user.group.png" style="width: 501px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16929i8F5B35AC06DF689F/image-size/large?v=v2&amp;amp;px=999" role="button" title="user.group.png" alt="user.group.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;Create a custom property (name is arbitrary; value should match the group you're using). Example:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="lb-custom_property.png" style="width: 629px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16930i002DD6E1CBC8411E/image-size/large?v=v2&amp;amp;px=999" role="button" title="lb-custom_property.png" alt="lb-custom_property.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Apply that custom property to the node or nodes that you want to target.
&lt;UL&gt;
&lt;LI&gt;Example syntax:&amp;nbsp;((resource.owner.group=node.@group) or (resource.owner.group!="QlikTeamAdmin" and node.@group.Empty()))
&lt;UL&gt;
&lt;LI&gt;Explanation: Match the custom property on the node to the user's group OR send all apps owned by users who aren't in the single group to any node or nodes which does not have the previously created custom property assigned&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Example:&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="lb-nodes.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16934iF76CFABE0E6AABA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="lb-nodes.png" alt="lb-nodes.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Write an appropriate rule. Example:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="lb-rule.png" style="width: 705px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16936iE980A45FB8833746/image-size/large?v=v2&amp;amp;px=999" role="button" title="lb-rule.png" alt="lb-rule.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 13:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1611998#M14361</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-08-13T13:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing specific apps on a specific node</title>
      <link>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1613909#M14410</link>
      <description>&lt;P&gt;Will this ensure that the apps owned by the super users are always load balanced by the specific node and that they can't be load balanced by the central node?&lt;BR /&gt;Qlik Help says this:&lt;BR /&gt;&lt;SPAN&gt;"The default algorithm used for load balancing is round-robin, where the load is evenly distributed between the available nodes on the multi-node site. However, any subsequent sessions from the same user/client will open on the current engine node, instead of following the round-robin."&lt;BR /&gt;&lt;/SPAN&gt;Which would indicate that if a super user starts a session which is load balanced by the central node, all the subsequent sessions, including ones for apps owned by the super user.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 14:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1613909#M14410</guid>
      <dc:creator>petgr138</dc:creator>
      <dc:date>2019-08-19T14:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Load balancing specific apps on a specific node</title>
      <link>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1614835#M14434</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt; Will this ensure that the apps owned by the super users are always load balanced by the specific node and that they can't be load balanced by the central node?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the example the apps own by super users would be available on the node with the name&amp;nbsp;&lt;STRONG&gt;RIM1&lt;/STRONG&gt;. You cannot selectively exclude applications from the Central node (this is from the load balancing rule named&amp;nbsp;ResourcesOnCentralNode which is uneditable).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; "The default algorithm used for load balancing is round-robin, where the load is evenly distributed between the available nodes on the multi-node site. However, any subsequent sessions from the same user/client will open on the current engine node, instead of following the round-robin."&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt; Which would indicate that if a super user starts a session which is load balanced by the central node, all the subsequent sessions, including ones for apps owned by the super user.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, taking a step back, load balancing rules distribute apps across servers / compute resources. They do not govern what a user can see. That's handled by security rules. With that in mind, with that style of rule, any user who can view an app which is owned by a super user would use the compute resources on RIM1. Any other app which a user can see would use the compute resources on RIM2.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 13:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Load-balancing-specific-apps-on-a-specific-node/m-p/1614835#M14434</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-08-21T13:12:54Z</dc:date>
    </item>
  </channel>
</rss>

