Applies to: Kyvos Enterprise Kyvos Cloud (Managed Services on AWS) Kyvos Azure Marketplace
Kyvos AWS Marketplace Kyvos Single Node Installation (Kyvos SNI) Kyvos Free ( Limited offering for AWS)
...
When the cluster usage duration is not fixed, you must use load-based scaling. This type of scaling allows you to set rules to automatically scale up or scale down the query engines based on usage patterns. By managing cluster scaling, you can enhance the utilization of your cloud cluster and save on compute costs. Additionally, you can set rules to automatically shut down or start the BI Servers and Query Engines to optimize resource utilization further.
To implement a scale-down rule, you can configure a setting to automatically reduce the capacity of your Query Engines when no queries are being executed. Additionally, you can set a rule to automatically shut down the Query Engines and BI Servers if no query traffic is received for a specified period of time.
Similarly, for a scale-up rule, you can set a rule to automatically start the BI Servers and Query Engines with the required capacity when a specified number of queries are executed over a defined time period.
Info |
---|
Note
|
Cluster Scaling page to set load-based scaling
...
On this page, you can specify rules to scale down or scale up the query engines, as well as set rules to shut down or start the BI Servers and query engines.
Points to know
From Kyvos 2023.2 onwards, you can specify the time (in minutes) to hold the queries when query engines are started by using the QE_STARTUP_QUERY_HOLD_TIME property. Note that if the query engines become active before the configured time, the query will be served; otherwise, it will fail.
Upon completion of the Change Cluster State schedule, the load-based rules will be implemented automatically if they have been saved. If no rules have been saved on the Load screen, the cluster will run using the Change Cluster State capacity.
The scale-down rule implements when the cluster runs at full capacity. The Query Engines can scale down either from full to moderate capacity or from full to low capacity.
If the query engine scales down to moderate capacity, you cannot further scale down the Query Engine to low capacity.The Kyvos cluster and the Query Engines automatically scale up at full capacity due to any MOLAP query.
The Query Engines do not start for any ROLAP queries.
The scale-down duration cannot be less than 30 minutes.
The duration to shut down the query engine must be at least 30 minutes greater than the scale-down duration.
If the cluster is down and a query is executed, the first query triggers the cluster startup process, and all queries fail until the cluster is up and running. In this case, the following messages are displayed:
Message 1: "Could not serve the query as Query Engine Cluster is not available. Query Engine is launched. Please try after some time."
Message 2: "Could not serve the query as Query Engine Cluster is starting. Please try after some time."
During the transitioning period of Query Engines; such as scale-up, scale-down, or shut down; you can design and refine the semantic model because the Coordination Master is always up and running .
The following tables specify the approximate time required to complete the process during the transitioning period.
Aura tab collection | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
To set the scaling rules for the query engines, perform the following steps.
From the Toolbox, click Setup, and then click Cluster Scaling. The Cluster Scaling page is displayed.
On the page, select the Load option. The Load page is displayed.
To scale down the query engines, you must set the following rules:
Select the capacity option as Moderate, High, or Low from the list, and then set the time. You can also set the Shutdown rule for the query engines if no query is fired for a defined period.
Select Query Engines or BI Servers and Query Engines from the list, and then set the time.
If you want to scale up the query engines, you must set the following rules:
To start the BI Servers and query engines, select the capacity option as Moderate, High, or Low from the list when any query is fired.
To scale up the query engines with the desired capacity, you need to specify the number of queries and the duration for which the query engines should be scaled up.
Click Save.
Changing cluster state
...
Select whether the service should remain online or offline.
Click to select a query engine capacity.
Click Change Now.
The Schedule entry is displayed in the schedule.
Subscribe to notifications
Click the Actions menu (...) located in the upper right corner of a cluster scaling page, and then click Subscribe Cluster Events to subscribe to receive notifications for cluster events. These events include the cluster shutting down as per schedule, the cluster state scaling down due to Cluster scheduling, all query engines being up and in a running state, the cluster state scaling down, entity modifications, or a license expiring soon.
You can set up notifications and subscriptions as needed.
...