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
+49-43Lines changed: 49 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,9 @@ We will divide them between Hypernode-specific and Application-specific requirem
63
63
64
64
#### Operating system
65
65
66
-
- The operating system of the Hypernode should be Debian Bookworm. If you would like to upgrade the os of your Hypernode, feel free to contact our support team for help. https://www.hypernode.com/en/contact/
66
+
Horizontal autoscaling is only available on Hypernodes with the Debian Bookworm operating system.
67
+
68
+
If you would like to upgrade the operating system of your Hypernode, feel free to [contact our support team](https://www.hypernode.com/en/contact/) for help.
67
69
68
70
#### Make sure the Hypernode is a production plan
69
71
@@ -75,32 +77,20 @@ To make use of Horizontal autoscaling, Varnish should be enabled and configured
75
77
You can check if Varnish is enabled on your Hypernode by running
Verify that your VCL has the health probe disabled. While we do support the health probe, we do not recommend to use it in a basic setup.
88
+
The health probe can be removed by removing the `.probe` from your `backend default` section in the VCL file.
89
+
If you do, however, want to use the health probe, make sure that you set the backend host to `127.0.0.1` instead of `localhost`.
94
90
95
-
The output should show `varnish` as backend. If it is configured as something else (like `localhost` or `127.0.0.1`), you can update it by running which sets the backend host to `varnish` instead.
91
+
Additionally, make sure the IP range `10.0.0.0/24` is allowed under the `acl purge` section in the Varnish VCL file. The `acl purge` section should look like the following:
Additionally make sure the IP range `10.0.0.0/24` is set to the `acl_purge` section in the Varnish VCL file. The `acl_purge` section should look something similar:loaded Varnish VCL.
102
-
103
-
```console
93
+
```vcl
104
94
acl purge {
105
95
"localhost";
106
96
"10.0.0.0/24";
@@ -112,12 +102,7 @@ acl purge {
112
102
The configured MySQL version should be 5.7 or above. You can check the enabled MySQL version by running the following command.
Make sure Redis session is configured as [described](../../ecommerce-applications/magento-2/how-to-configure-redis-for-magento-2.md#configure-magento-2-to-use-redis-as-the-session-store) in our docs
175
163
Please notice the Redis host in the setup documentation. The Redis host should be set to `redismaster` instead of `localhost` or `127.0.0.1`.
176
164
177
165
#### Make sure Elasticsearch/Opensearch is configured properly
178
166
179
-
Please make sure Elasticsearch or Opensearch host is set to `elasticsearchmaster` in the Magento2 configuration file at `<magento_root>/app/etc/env.php`
180
-
More information about [Elasticsearch on Hypernode](../../hypernode-platform/tools/how-to-use-elasticsearch-on-hypernode.md)
167
+
Please make sure Elasticsearch or Opensearch host is set to `elasticsearchmaster` your Magento 2 configuration.
168
+
169
+
To set the hostname, you can run the following command for OpenSearch:
More information about [Elasticsearch on Hypernode](../../hypernode-platform/tools/how-to-use-elasticsearch-on-hypernode.md).
181
182
182
183
#### Make sure RabbitMQ configured properly
183
184
184
-
Please make sure RabbitMQ host is set to `rabbitmqmaster` in the Magento2 configuration file at `<magento_root>/app/etc/env.php`
185
-
More information about [RabbitMQ o Hypernode](../../best-practices/database/how-to-run-rabbitmq-on-hypernode.md)
185
+
Please make sure RabbitMQ host is set to `rabbitmqmaster` in the Magento 2 configuration file at `<magento_root>/app/etc/env.php`
186
+
More information about [RabbitMQ on Hypernode](../../best-practices/database/how-to-run-rabbitmq-on-hypernode.md)
186
187
187
-
There is a rabbitmq user provisioned by Hypernode called hypernode-admin as a non-default user. But you can also configure RabbitMQ with a new different user of your own.
188
-
But please make sure to configure RabbitMQ without the default guest user.
188
+
There is a rabbitmq user provisioned by Hypernode called `hypernode-admin` as a non-default user, but you can also configure RabbitMQ with a new different user of your own.
189
+
Please make sure to configure RabbitMQ without the default guest user.
189
190
190
-
#### Make sure Database storage is disabled & Remote storage is enabled and configured.
191
+
For example, you can run the following command to change your RabbitMQ config in Magento 2:
191
192
192
-
Please make sure to enable remote storage for your application and configure it correctly as only AWS-s3 remote storage drivers are supported.
193
+
```bash
194
+
bin/magento setup:config:set \
195
+
--amqp-host="rabbitmqmaster" \
196
+
--amqp-user="my_rabbitmq_user" \
197
+
--amqp-password="my_rabbitmq_password"
198
+
```
193
199
194
200
#### Make sure database storage is disabled & remote storage is enabled and configured
0 commit comments