Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
jct1
Contributor II
Contributor II

Unable to Configure & Register Nodes Using Qlik CLI

Hello,

I am attempting to perform a silent installation of Qlik Sense. We have got the product installed using the standard command line tools, but I am facing issues when performing the post-installation configuration using Qlik CLI.

I am trying to add nodes to the cluster and register them. I have tried the running the following commands from our Central Node:

  • New-QlikNode -hostname <hostname> -name Rimnode-1 -nodePurpose Development -engineEnabled -proxyEnabled -schedulerEnabled -printingEnabled
  • Register-QlikNode -hostname <hostname> -name Rimnode-1 -nodePurpose Development -engineEnabled -proxyEnabled -schedulerEnabled -printingEnabled -verbose

<hostname> swapped out with actual hostname.

The first command runs as expected, the node appears under Nodes in QMC, however I'm getting some web errors when running the second command. See partial error log below when PowerShell attempts to connect to qrs/servernodeconfiguration

  • Invoke-RestMethod : The remote server returned an error: (400) Bad Request
  • Invoke-RestMethod : The remote server returned an error: (404) Not Found.

Am I following the steps in the correct order? Should I be configuring/running anything from the Rimnode host first? I'm at a bit of a loss on this one and Get-Help seems practically useless for these commands.

Thanks,

James

Labels (1)
4 Replies
Levi_Turner
Employee
Employee

I never had success with the Register-QlikNode function but I have used this with success: https://gist.github.com/levi-turner/6edf4860d9c7b1c8729fbaeae295a0db

reid_burkhardt
Contributor
Contributor

I have been trying to use the New-QlikNode command that you reference in that link, and I am getting stuck on the error below.  Do you have any thoughts about what is causing this?  

$password = New-QlikNode -hostname server.corp.company.net -name newserver -nodePurpose Both -engineEnabled -proxyEnabled -schedulerEnabled -printingEnabled -failoverCandidate
Invoke-RestMethod : The remote server returned an error: (400) Bad Request.
At C:\Program Files\WindowsPowerShell\Modules\Qlik-Cli\1.19.2\functions\core.ps1:62 char:19
+ $result = Invoke-RestMethod @paramInvokeRestMethod @params
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Levi_Turner
Employee
Employee

Do you mind posting that over to GitHub (https://github.com/ahaydon/Qlik-Cli-Windows/issues) ? I ask because there's a more targeted distribution there towards the key developers.

Cheers

RonRhoades
Contributor
Contributor

was there ever a solution to this?  I'm experiencing this exact issue