Skip to content

Commit da4b0bc

Browse files
committed
Added back the deleted sections
1 parent 33b7032 commit da4b0bc

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

articles/azure-cache-for-redis/cache-how-to-upgrade.md

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ ms.custom: template-how-to
1313

1414
# How to upgrade an existing Redis 4 cache to Redis 6
1515

16-
> [!IMPORTANT]
17-
> We are improving the upgrade experience and have temporarily disabled the Redis version upgrade. We recommend that you upgrade your caches starting in February 2023.
18-
1916
Azure Cache for Redis supports upgrading the version of your Azure Cache for Redis from Redis 4 to Redis 6. Upgrading is similar to regular monthly maintenance. Upgrading follows the same pattern as maintenance: First, the Redis version on the replica node is updated, followed by an update to the primary node. Your client application should treat the upgrade operation exactly like a planned maintenance event.
2017

2118
As a precautionary step, we recommend exporting the data from your existing Redis 4 cache and testing your client application with a Redis 6 cache in a lower environment before upgrading.
@@ -46,18 +43,37 @@ Before you upgrade, check the Redis version of a cache by selecting **Properties
4643

4744
## Upgrade using the Azure portal
4845

49-
> [!IMPORTANT]
50-
> We are improving the upgrade experience and have temporarily disabled the Redis version upgrade. We recommend that you upgrade your caches starting in February 2023.
46+
1. In the Azure portal, select the Azure Cache for Redis instance that you want to upgrade from Redis 4 to Redis 6.
47+
48+
1. On the left side of the screen, select **Advanced settings**.
49+
50+
1. If your cache instance is eligible to be upgraded, you should see the following blue banner. If you want to proceed, select the text in the banner.
51+
52+
:::image type="content" source="media/cache-how-to-upgrade/blue-banner-upgrade-cache.png" alt-text="Screenshot informing you that you can upgrade your cache to Redis 6 with additional features. Upgrading your cache instance cannot be reversed.":::
53+
54+
1. A dialog box displays a popup notifying you that upgrading is permanent and might cause a brief connection blip. Select **Yes** if you would like to upgrade your cache instance.
55+
56+
:::image type="content" source="media/cache-how-to-upgrade/dialog-version-upgrade.png" alt-text="Screenshot showing a dialog with more information about upgrading your cache with Yes selected.":::
57+
58+
1. To check on the status of the upgrade, navigate to **Overview**.
59+
60+
:::image type="content" source="media/cache-how-to-upgrade/upgrade-status.png" alt-text="Screenshot showing Overview in the Resource menu. Status shows cache is being upgraded.":::
5161

5262
## Upgrade using Azure CLI
5363

54-
> [!IMPORTANT]
55-
> We are improving the upgrade experience and have temporarily disabled the Redis version upgrade. We recommend that you upgrade your caches starting in February 2023.
64+
To upgrade a cache from 4 to 6 using the Azure CLI, use the following command:
65+
66+
```azurecli-interactive
67+
az redis update --name cacheName --resource-group resourceGroupName --set redisVersion=6
68+
```
5669

5770
## Upgrade using PowerShell
5871

59-
> [!IMPORTANT]
60-
> We are improving the upgrade experience and have temporarily disabled the Redis version upgrade. We recommend that you upgrade your caches starting in February 2023.
72+
To upgrade a cache from 4 to 6 using PowerShell, use the following command:
73+
74+
```powershell-interactive
75+
Set-AzRedisCache -Name "CacheName" -ResourceGroupName "ResourceGroupName" -RedisVersion "6"
76+
```
6177

6278
## Next steps
6379

0 commit comments

Comments
 (0)