ahaydon / Qlik-Cli-Windows

Qlik-Cli for Windows
https://adamhaydon.uk/Qlik-Cli-Windows/
GNU General Public License v2.0
110 stars 51 forks source link

Updating virtual proxy #184

Closed abdulvajid4525 closed 1 year ago

abdulvajid4525 commented 2 years ago

Hi, Q.No1) I need to update only loadbalancingservernodes in virtual proxy. In the current scenario our system SAML sso authentication Update-QlikVirtualProxy -id jgdfahbfbajkbfjabasbbfa -loadBalancingServerNodes Central whether this step is correct? Q.No2) I need to add more nodes in loadBalancingServerNodes eg: Update-QlikVirtualProxy -id jgdfahbfbajkbfjabasbbfa -loadBalancingServerNodes Central,rim1 What is the correct syntax. Please help on both points

abdulvajid4525 commented 2 years ago

Can you please hep on it as soon as possible. *In the current scenario our system is using SAML sso authentication--just a correction

countnazgul commented 2 years ago

The loadBalancingServerNodes parameter should be array of either node id or node host name

image

abdulvajid4525 commented 2 years ago

okay...the syntax will be Update-QlikVirtualProxy -id jgdfahbfbajkbfjabasbbfa -loadBalancingServerNodes id1, id2

can you please confirm on this

countnazgul commented 2 years ago

Yep. Combination is also possible

Update-QlikVirtualProxy -id jgdfahbfbajkbfjabasbbfa -loadBalancingServerNodes id1,id2,HostName1

abdulvajid4525 commented 2 years ago

Can you please confirm that the above syntax will not update any other parameters except loadBalancingServerNodes in the respective virtual proxy.

countnazgul commented 2 years ago

Correct. Only the loadBalancingServerNodes will be updated. Qlik-cli will first get the full info about the object (in this case virtual proxy), update (locally) the required sections (based on the provided arguments) and will send the altered object back to Qlik