Qlik Community

Qlik Server Side Extensions Discussions

Discussion Board for collaboration on Server-Side Extensions and Advanced Analytics Integration.

PoojaPrasad
Contributor II

How to enable R integration on Qlik Sense Enterprise with several nodes

Hello Experts,

We are trying to integrate R with Qlik Sense Enterprise having several nodes. We have installed R, Rserve, and SSEtoRserve on a separate server. Rserve and SSEtoRserve is running on that server. Our objective is to install R, Rserve and SSEtoRserve and keep them up and running on  one server and access that server by giving its name rather than localhost while adding 'Analytics Connection' on Qlik QMC. 

After the installation, when I am trying to check the decision tree app and other apps provided on https://github.com/qlik-oss/sse-r-plugin, I do not see any of them working. Please note I have imported both extensions given in the link on the Qlik.

I am wondering if we can achieve integrating R with Qlik Sense Enterprise with several nodes by redirecting them to a server with R, Rserve and SSEtoRserve up and running. If not, what could be the right way to integrate them with R.

 

1 Solution

Accepted Solutions
Partner
Partner

Re: How to enable R integration on Qlik Sense Enterprise with several nodes

Have you sest "grpcHost" to 0.0.0.0 to make the SSEPlugin reachable from the outside world? 

 

r_outsideworld.png

View solution in original post

5 Replies
Partner
Partner

Re: How to enable R integration on Qlik Sense Enterprise with several nodes

in the SSEtoRserve.exe.config you can define where your R Server is running. Default is 127.0.0.1  Port 6311(localhost)

r_server_location.png

So for multinode environments you have two deployment options:

 

- Install the SSEtoRserve Plugin on every Engine-Node. Change the SSEtoRserve.exe.config so they all point to the remote RServer

 

 

- Install the SSEtoRServe on the same Server as the RServer. Then you can keep the Default SSEtoRserve.exe.config.  Instead you change the Analytic Connection in the Qlik Sense QMC from http://localhost:50051 to http://yourRServer:50051

 

Best regards,

Roland

 

 

 

PoojaPrasad
Contributor II

Re: How to enable R integration on Qlik Sense Enterprise with several nodes

Hello Roland,

Thank you for your response.  We are trying to implement the second option you gave:

- Install the SSEtoRServe on the same Server as the RServer. Then you can keep the Default SSEtoRserve.exe.config.  Instead you change the Analytic Connection in the Qlik Sense QMC from http://localhost:50051 to http://yourRServer:50051

We have R, Rserve and SSEtoRServe on a virtual machine. Rserve and SSEtoRServe is running on that virtual machine server. We have given its name in the Analytics Connection in Qlik Sense QMC as shown below:

AnalyticConnection.PNG

We have also restarted the Qlik Engine service.

But we still dont see R packages working on the app, not even on the central node of the Enterprise. I was wondering how to confirm if Qlik Enterprise is even able to connect to the vm server.

Thank you for your help.

Partner
Partner

Re: How to enable R integration on Qlik Sense Enterprise with several nodes

Have you sest "grpcHost" to 0.0.0.0 to make the SSEPlugin reachable from the outside world? 

 

r_outsideworld.png

View solution in original post

Partner
Partner

Re: How to enable R integration on Qlik Sense Enterprise with several nodes

once you did that you can check if Telnet or PowerShell can reach the Service on port 50051

 

https://www.techtutsonline.com/powershell-alternative-telnet-command/

PoojaPrasad
Contributor II

Re: How to enable R integration on Qlik Sense Enterprise with several nodes

I set the "grpcHost" to 0.0.0.0 to make the SSEPlugin and its working for all the nodes. Thank you so much. 🙂