From 8ef455dfd67639e371e0e12d6c760ded9bd86a5a Mon Sep 17 00:00:00 2001 From: Martijn Eichelsheim Date: Mon, 20 Oct 2025 13:08:30 +0200 Subject: [PATCH 1/7] Add documentation for Valkey --- .../tools/how-to-use-valkey-on-hypernode.md | 55 +++++++++++++++++++ documentation_urls.txt | 1 + 2 files changed, 56 insertions(+) create mode 100644 docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md diff --git a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md new file mode 100644 index 00000000..72c1c225 --- /dev/null +++ b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md @@ -0,0 +1,55 @@ +--- +myst: + html_meta: + description: 'With Composer, you can easily install, update or remove dependencies. + Read here how to use Composer 2 on our Hypernode platform. ' + title: How to use Componsor 2 on Hypernode? +redirect_from: + - /en/support/solutions/articles/48001184546-how-to-use-composer-2-on-your-hypernode/ +--- + +--- +myst: + html_meta: + description: 'In this article we will explain how to use Valkey on Hypernode. ' + title: How to use Valkey? | Hypernode +redirect_from: + - /en/hypernode/tools/how-to-use-valkey-on-hypernode/ +--- + + + +# How to use Valkey on your Hypernode + +This article explains how to use Valkey on our Hypernode platform. + +## What is Valkey? + +Valkey is a Redis-compatible in-memory store. On Hypernode, **Valkey-8** is available on Debian Bookworm single-node setups. +Valkey is supported by the latest Magento releases and you don't need to make any configuration changes within Magento when switching from Redis to Valkey. + + +## Changing from Redis to Valkey + +Your Hypernode is configured with Redis by default. +Changing from Redis to Valkey is pretty easy on Hypernode. You can use the `hypernode-systemctl` command-line tool to change from Redis to Valkey. + +```console +app@levka6-appname-magweb-cmbl:~$ hypernode-systemctl settings valkey_enabled true +Operation was successful and is being processed. Please allow a few minutes for the settings to be applied. Run 'livelog' to see the progress. +``` + +It may take a few minutes for the changes to be applied. You can monitor the progress by running `hypernode-log`. +Once the process is complete, Valkey will be enabled and Redis will be disabled on your Hypernode. + +## Using Valkey tools + +Redis comes by default with a bunch of useful tools pre-installed on Hypernode, like `redis-cli` and `redis-benchmark`. +Once you have switched to Valkey, you can use the `valkey-cli` and `valkey-benchmark` tools instead. +However, to make it even more easy, we made sure that the `redis-cli` and `redis-benchmark` commands are symlinked to their Valkey counterparts when Valkey is enabled. +In this way you can keep using the same commands you are used to. + +## How to configure Valkey in Magento 2 + +The configuration for Valkey is the same as for Redis. +You can follow our [Magento 2 Redis configuration guide](../../ecommerce-applications/magento-2/how-to-configure-redis-for-magento-2.md) to configure Valkey for Magento 2. diff --git a/documentation_urls.txt b/documentation_urls.txt index d08418e8..572eb06c 100644 --- a/documentation_urls.txt +++ b/documentation_urls.txt @@ -173,6 +173,7 @@ article: https://support.hypernode.com/en/hypernode/tools/how-to-use-node-js-and article: https://support.hypernode.com/en/hypernode/tools/how-to-use-periodic-tasks-cronjobs-on-hypernode/ article: https://support.hypernode.com/en/hypernode/tools/how-to-use-supervisor/ article: https://support.hypernode.com/en/hypernode/tools/how-to-use-the-hypernode-systemctl-cli-tool/ +article: https://support.hypernode.com/en/hypernode/tools/how-to-use-valkey-on-hypernode/ article: https://support.hypernode.com/en/hypernode/tools/hypernode-cli-tools-and-magerun-plugins/ article: https://support.hypernode.com/en/hypernode/tools/unblocking-and-accessing-magmi-for-hypernode/ article: https://support.hypernode.com/en/hypernode/varnish/how-to-enable-varnish-on-hypernode/ From 45b165f15c255d7d4670f400db98245808b2ce39 Mon Sep 17 00:00:00 2001 From: Martijn Eichelsheim Date: Mon, 20 Oct 2025 13:09:50 +0200 Subject: [PATCH 2/7] Remove duplicate meta data --- .../tools/how-to-use-valkey-on-hypernode.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md index 72c1c225..48794ee4 100644 --- a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md @@ -1,13 +1,3 @@ ---- -myst: - html_meta: - description: 'With Composer, you can easily install, update or remove dependencies. - Read here how to use Composer 2 on our Hypernode platform. ' - title: How to use Componsor 2 on Hypernode? -redirect_from: - - /en/support/solutions/articles/48001184546-how-to-use-composer-2-on-your-hypernode/ ---- - --- myst: html_meta: From 1f34edf3f8352799cafe8622fec5ea224e4f5038 Mon Sep 17 00:00:00 2001 From: Martijn Eichelsheim Date: Mon, 20 Oct 2025 13:13:26 +0200 Subject: [PATCH 3/7] mdformat --- .../tools/how-to-use-valkey-on-hypernode.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md index 48794ee4..e0f8ffaf 100644 --- a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md @@ -18,10 +18,9 @@ This article explains how to use Valkey on our Hypernode platform. Valkey is a Redis-compatible in-memory store. On Hypernode, **Valkey-8** is available on Debian Bookworm single-node setups. Valkey is supported by the latest Magento releases and you don't need to make any configuration changes within Magento when switching from Redis to Valkey. - ## Changing from Redis to Valkey -Your Hypernode is configured with Redis by default. +Your Hypernode is configured with Redis by default. Changing from Redis to Valkey is pretty easy on Hypernode. You can use the `hypernode-systemctl` command-line tool to change from Redis to Valkey. ```console @@ -35,11 +34,11 @@ Once the process is complete, Valkey will be enabled and Redis will be disabled ## Using Valkey tools Redis comes by default with a bunch of useful tools pre-installed on Hypernode, like `redis-cli` and `redis-benchmark`. -Once you have switched to Valkey, you can use the `valkey-cli` and `valkey-benchmark` tools instead. +Once you have switched to Valkey, you can use the `valkey-cli` and `valkey-benchmark` tools instead. However, to make it even more easy, we made sure that the `redis-cli` and `redis-benchmark` commands are symlinked to their Valkey counterparts when Valkey is enabled. In this way you can keep using the same commands you are used to. ## How to configure Valkey in Magento 2 -The configuration for Valkey is the same as for Redis. +The configuration for Valkey is the same as for Redis. You can follow our [Magento 2 Redis configuration guide](../../ecommerce-applications/magento-2/how-to-configure-redis-for-magento-2.md) to configure Valkey for Magento 2. From 08e2c22e83cbbd1cd107ea2ff20ea40c89a268ff Mon Sep 17 00:00:00 2001 From: Martijn Eichelsheim Date: Mon, 20 Oct 2025 13:54:11 +0200 Subject: [PATCH 4/7] Make it less dependend on magento --- docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md index e0f8ffaf..724bb2d1 100644 --- a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md @@ -16,7 +16,7 @@ This article explains how to use Valkey on our Hypernode platform. ## What is Valkey? Valkey is a Redis-compatible in-memory store. On Hypernode, **Valkey-8** is available on Debian Bookworm single-node setups. -Valkey is supported by the latest Magento releases and you don't need to make any configuration changes within Magento when switching from Redis to Valkey. +Since Valkey is a drop-in replacement for Redis, it can be used in the same applications as Redis. ## Changing from Redis to Valkey From 70d947405ccadc5bbce9c567b24250691c1817dc Mon Sep 17 00:00:00 2001 From: Martijn Eichelsheim Date: Mon, 20 Oct 2025 15:36:36 +0200 Subject: [PATCH 5/7] Removed metadata --- .../tools/how-to-use-valkey-on-hypernode.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md index 724bb2d1..6a19bc34 100644 --- a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md @@ -1,13 +1,4 @@ ---- -myst: - html_meta: - description: 'In this article we will explain how to use Valkey on Hypernode. ' - title: How to use Valkey? | Hypernode -redirect_from: - - /en/hypernode/tools/how-to-use-valkey-on-hypernode/ ---- - # How to use Valkey on your Hypernode @@ -24,7 +15,7 @@ Your Hypernode is configured with Redis by default. Changing from Redis to Valkey is pretty easy on Hypernode. You can use the `hypernode-systemctl` command-line tool to change from Redis to Valkey. ```console -app@levka6-appname-magweb-cmbl:~$ hypernode-systemctl settings valkey_enabled true +app@abcdef-appname-magweb-cmbl:~$ hypernode-systemctl settings valkey_enabled true Operation was successful and is being processed. Please allow a few minutes for the settings to be applied. Run 'livelog' to see the progress. ``` From 63663a37f8f54be7bb01b233874d6091d628de08 Mon Sep 17 00:00:00 2001 From: Martijn Eichelsheim Date: Mon, 20 Oct 2025 15:38:29 +0200 Subject: [PATCH 6/7] mdformat --- docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md index 6a19bc34..51e5ac3a 100644 --- a/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-valkey-on-hypernode.md @@ -1,5 +1,3 @@ - - # How to use Valkey on your Hypernode This article explains how to use Valkey on our Hypernode platform. From 472d88b8722e2e6d902d2fecabfa272c4346307b Mon Sep 17 00:00:00 2001 From: Martijn Eichelsheim Date: Mon, 20 Oct 2025 15:39:30 +0200 Subject: [PATCH 7/7] Remove uri from documentation_urls --- documentation_urls.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/documentation_urls.txt b/documentation_urls.txt index 572eb06c..d08418e8 100644 --- a/documentation_urls.txt +++ b/documentation_urls.txt @@ -173,7 +173,6 @@ article: https://support.hypernode.com/en/hypernode/tools/how-to-use-node-js-and article: https://support.hypernode.com/en/hypernode/tools/how-to-use-periodic-tasks-cronjobs-on-hypernode/ article: https://support.hypernode.com/en/hypernode/tools/how-to-use-supervisor/ article: https://support.hypernode.com/en/hypernode/tools/how-to-use-the-hypernode-systemctl-cli-tool/ -article: https://support.hypernode.com/en/hypernode/tools/how-to-use-valkey-on-hypernode/ article: https://support.hypernode.com/en/hypernode/tools/hypernode-cli-tools-and-magerun-plugins/ article: https://support.hypernode.com/en/hypernode/tools/unblocking-and-accessing-magmi-for-hypernode/ article: https://support.hypernode.com/en/hypernode/varnish/how-to-enable-varnish-on-hypernode/