Search code examples
qliksense

Dedicate a node to a stream - Security rules


Can anyone let me know how to show a stream only in a specific node

i have a 2 nodes cluster.. and i would like to dedicate RIM01 specific to Stream1. RIM02 to Steam2. Meaning any request to that streams or apps in that stream should go to there nodes

So, if a go to RIM01 the Stream2 should be hidden etc...

  1. Central node

  2. RIM02 -- Repository + Engine

  3. RIM03 -- Repository + Engine + Scheduler

i tried lot of security rules like

Filter : ServerNodeConfiguration_,Stream_

(node.@NodeUse="dev") and (node.@NodeType=stream.@StreamType and !resource.stream.Empty())

or

Filter : ServerNodeConfiguration_,Stream_

((resource.resourcetype = "Nodes" and resource.name="RIM01")) and ((resource.name="test"))

but none of them work :/

Thanks


Solution

  • So, at present, load balancing in Qlik Sense applies to Apps, not Streams. Load Balancing routes apps to servers, whereas security rules govern stream visibility. And, unfortunately, there is not a clean mechanism to use node meta-data in security rules. All in all, there isn't a solution for hiding a stream on a given server.