You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hypernode-platform/autoscaling/how-does-horizontal-autoscaling-work.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,10 @@
1
1
---
2
2
myst:
3
3
html_meta:
4
-
description: Learn how autoscaling dynamically adjusts server resources based on CPU usage metrics, allowing efficient workload management without manual intervention. Configure thresholds, durations, and understand the workflow for horizontal autoscaling without downtime on Hypernode.
4
+
description: Learn how autoscaling dynamically adjusts server resources based
5
+
on CPU usage metrics, allowing efficient workload management without manual
6
+
intervention. Configure thresholds, durations, and understand the workflow for
7
+
horizontal autoscaling without downtime on Hypernode.
5
8
title: How does horizontal Autoscaling work? | Hypernode
6
9
---
7
10
@@ -12,7 +15,7 @@ This article explains how Horizontal autoscaling works, what the requirements ar
12
15
## How does it work
13
16
14
17
With horizontal autoscaling, additional Hypernodes will be added automatically to your main Hypernode at peak times. The extra Hypernodes will be used as PHP fpm workers.
15
-
Since there are no configuration or IP changes needed, Horizontal autoscaling is zero-downtime.
18
+
Since there's no configuration or IP changes needed, Horizontal autoscaling has zero-downtime.
16
19
17
20
For Horizontal autoscaling you can configure some conditions. If the conditions are met from the configured settings in the Control Panel, Horizontal autoscaling will be triggered.
18
21
You can configure the following conditions:
@@ -39,21 +42,25 @@ This approach selects the longer duration between user-defined settings or the f
39
42
40
43
### Downscaling
41
44
42
-
If the monitor agent noticed if one Hypernode will be removed, the used resources will stay below the configured thresholds, the downscale operation will be triggered.
45
+
If the monitor agent notices that the used resources are below the configured thresholds, the downscale operation will begin. This will lead to removing the additional servers that are no longer needed.
46
+
43
47
Downscale will happen by detaching the autoscaling instances from the main Hypernode one by one.
44
-
After a downscale operation has completed, there will be a cooldown of 15 minutes to monitor the behaviour of the newly available resources before downscale again.
48
+
After a downscale operation has been completed, there will be a cooldown of 15 minutes to monitor the behaviour of the newly available resources before downscaling again.
49
+
45
50
If the amount of used resources is still below the configured threshold, another downscale operation will be triggered.
51
+
46
52
If there is need for extra resources instead, extra resources will be added again.
47
53
48
54
## Horizontal autoscaling requirements
49
55
50
56
Horizontal autoscaling is available on all the Falcon cloud plans (OpenStack).
57
+
51
58
Next to the provider, horizontal autoscaling does have a couple of additional requirements.
52
59
53
60
### Supported CMS
54
61
55
62
Horizontal autoscaling is available for Magento2.
56
-
To make use of Horizontal autoscaling, there are a couple of other requirements the Hypernode and the application should met:
63
+
To make use of Horizontal autoscaling, there are a couple of other requirements the Hypernode and the application should meet:
57
64
58
65
### Operating system
59
66
@@ -133,7 +140,7 @@ More information about [Elasticsearch o Hypernode](../../hypernode-platform/tool
133
140
Please make sure RabbitMQ host is set to `rabbitmqmaster` in the Magento2 configuration file at `<magento_root>/app/etc/env.php`
134
141
More information about [RabbitMQ o Hypernode](../../best-practices/database/how-to-run-rabbitmq-on-hypernode.md)
135
142
136
-
### Make sure we use MySQL 5.7 or higher
143
+
### Make sure to use MySQL 5.7 or higher
137
144
138
145
The configured MySQL version should be 5.7 or above. You can check the enabled MySQL version by running the following command.
139
146
@@ -147,9 +154,10 @@ Example output if MySQL version is 8.0:
147
154
mysql_version is set to value 8.0
148
155
```
149
156
150
-
If your MySQL version is still set to 5.6, you can consider [upgrade](../mysql/how-to-use-mysql-on-hypernode.md) the MySQL version to a supported version for autoscaling.
157
+
If your MySQL version is still set to 5.6, you can consider [upgrading](../mysql/how-to-use-mysql-on-hypernode.md) the MySQL version to a supported version for autoscaling.
151
158
152
159
After the version validation, please verify the MySQL host is set to `mysqlmaster`. You can verify this by running `cat app/etc/env.php | grep -i mysql | grep -i host` from the magento root.
160
+
153
161
You should see something similar to `'host' => 'mysqlmaster',`. If this is not the case please make sure the database connection host is set to `mysqlmaster` instead of `localhost` or `127.0.0.1` in the magento configuration file at `<magento_root>/app/etc/env.php`.
0 commit comments