Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I plan to optimize the use of my virtual machine in Azure. Currently I have a single node deployment. Whenever I miscalculate the needs of the server and RAM or CPU overflows I need to turn off the VM to change size. Then when there is a low traffic I have a big sized VM which isn't used even in it's half potential.
In Azure there is something called autoscale which automatically adds VM nodes of the same size when the threshold is met either to size up or down the scale of VMs. I can't find anything about it in the Qlik Community. I'm not sure if it's possible and how it really works. Would I need to configure everything everytime a new VM node is added or removed? Seems pointless then.
I am also thinking about creating a two node deployment and writing a powershell script which would change the size of the second VM based on the RAM and CPU use. Every time a VM is resized it must be restarted but with two node system Qlik Sense should be still running if one VM is restarted, right?
I'd really appreciate any input in this matter.
Hello,
I have not tested it myself but there are two types of auto scale in Azure:
Regarding scaling up, I believe you will at least need to restart your Qlik Sense Engine service so that it can pick up the updated resources.
Regarding scaling out, you could leverage the silent install feature with the QRS API to automatically deploy Qlik Sense and add it to your environment configured. Idea is that once a a new VM is added to your Azure Cluster, a post install script will be launched to install and deploy Qlik Sense. A few resource that could help you:
Hope this helps!
Hello,
I have not tested it myself but there are two types of auto scale in Azure:
Regarding scaling up, I believe you will at least need to restart your Qlik Sense Engine service so that it can pick up the updated resources.
Regarding scaling out, you could leverage the silent install feature with the QRS API to automatically deploy Qlik Sense and add it to your environment configured. Idea is that once a a new VM is added to your Azure Cluster, a post install script will be launched to install and deploy Qlik Sense. A few resource that could help you:
Hope this helps!