Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
jpjust
Specialist
Specialist

Master and Slave scheduler

Hi All,

In my Qliksense environment, I have central and RIM.

When I review some of the reload tasks in QMC, I can notice that some tasks runs on Central and some on RIM node. The qlik document says the following:

If a Qlik Sense Scheduler Service (QSS) runs on a rim node, the QSS is considered to be a slave QSS. When receiving a task ID from the master QSS, the slave QSS reads the task from the local repository database and executes the task. When a slave QSS completes a task, it returns the task state (successful or fail) to the master QSS.

What I understood from the above is, if there is an RIM node with scheduler service running, the reload task by default will always runs on the scheduler node but in my case, few reload tasks runs on central and few on RIM.

I have attached my central and RIM node configuration below. Can you please take a look and let me know if there is anything else needs to be done so my reload tasks always hit the RIM node. If additional information / details required, please let me know.

Thanks

Central Node & RIM Node

RIMNode.jpgCentral.jpg

1 Solution

Accepted Solutions
Bastien_Laugiero

Hi, 

Yes sorry the terms has changed but you are correct in that case both nodes will be able reload task.

And the one that has "Manager" as well is also the one that decides which task will run on which node.

Bastien Laugiero
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.

View solution in original post

4 Replies
Bastien_Laugiero

Hello, 

This will depends on the Scheduler configuration you have implemented under QMC -> Scheduler. 

There is three scheduler roles in Qlik Sense 

  • Master:  sends the task to a slave QSS within the site.
  • Slave: receives the task from the master QSS and executes the task.
  • Master and slave: when the master QSS also acts a slave QSS.

Based on your description it sounds like the central node is set to "Master and Slave"

If you don't want your Central node to execute tasks, then you can change the configuration to "Master"

Note: When doing that the Monitoring apps will fail to reload. Here is an article to fix it https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-Enterprise-Move-reloads-to-RIM-nodes-and-exc...

Hope this helps! 

Bastien Laugiero
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.
jpjust
Specialist
Specialist
Author

Hi Bastien,

Thanks for your response and the link,

When I looked at the schedulers, the Prod node Type is set to Manager and Worker and Rim (Load balancer) node is set to Worker.

So this means that the reload tasks can be shared between both the nodes?

Bastien_Laugiero

Hi, 

Yes sorry the terms has changed but you are correct in that case both nodes will be able reload task.

And the one that has "Manager" as well is also the one that decides which task will run on which node.

Bastien Laugiero
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.
jpjust
Specialist
Specialist
Author

Thanks. One last question.

When an app is reloaded from hub, the script log gets generated on the server under C:\ProgramData\QlikSense\Log\Script

But when that app is reloaded from QMC, the script log gets generated under \ArchivedLogs\Servername 

May I know the retention policies of the script logs?

Is my understanding correct?