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: articles/azure-cache-for-redis/cache-administration.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ This article describes how to do administration tasks such as [rebooting](#reboo
19
19
20
20
On the left, **Reboot** allows you to reboot one or more nodes of your cache. This reboot capability enables you to test your application for resiliency if there's a failure of a cache node.
21
21
22
+
> [!IMPORTANT]
23
+
> Reboot is not yet available for the Enterprise tier. Reboot is available for all other tiers.
24
+
>
25
+
22
26
:::image type="content" source="media/cache-administration/cache-administration-reboot-2.png" alt-text="Screenshot that highlights the Reboot menu option":::
23
27
24
28
Select the nodes to reboot and select **Reboot**.
@@ -44,6 +48,7 @@ The effect on your client applications varies depending on which nodes you reboo
44
48
*[Can I reboot the cache to clear client connections?](#can-i-reboot-the-cache-to-clear-client-connections)
45
49
*[Will I lose data from my cache if I do a reboot?](#will-i-lose-data-from-my-cache-if-i-do-a-reboot)
46
50
*[Can I reboot my cache using PowerShell, CLI, or other management tools?](#can-i-reboot-my-cache-using-powershell-cli-or-other-management-tools)
51
+
*[Can I reboot my Enterprise cache?](#can-i-reboot-my-enterprise-cache)
47
52
48
53
### Which node should I reboot to test my application?
49
54
@@ -68,6 +73,10 @@ If you reboot just one of the nodes, data isn't typically lost, but it still mig
68
73
69
74
Yes, for PowerShell instructions see [To reboot an Azure Cache for Redis](cache-how-to-manage-redis-cache-powershell.md#to-reboot-an-azure-cache-for-redis).
70
75
76
+
### Can I reboot my Enterprise cache?
77
+
78
+
No. Reboot isn't available for the Enterprise tier yet. Reboot is available for Basic, Standard and Premium tiers.The settings that you see on the Resource menu under **Administration** depend on the tier of your cache. You don't see **Reboot** when using a cache from the Enterprise tier.
79
+
71
80
## Schedule updates
72
81
73
82
On the left, **Schedule updates** allows you to choose a maintenance window for your cache instance. A maintenance window allows you to control the day(s) and time(s) of a week during which the VM(s) hosting your cache can be updated. Azure Cache for Redis will make a best effort to start and finish updating Redis server software within the specified time window you define.
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-configure.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: flang-msft
5
5
6
6
ms.service: cache
7
7
ms.topic: conceptual
8
-
ms.date: 08/22/2017
8
+
ms.date: 02/02/2022
9
9
ms.author: franlanglois
10
10
ms.custom: devx-track-azurepowershell
11
11
@@ -27,7 +27,7 @@ Azure Cache for Redis settings are viewed and configured on the **Azure Cache fo
27
27
28
28

29
29
30
-
You can view and configure the following settings using the **Resource Menu**.
30
+
You can view and configure the following settings using the **Resource Menu**. The settings that you see depend on the tier of your cache. For example, you don't see **Reboot** when using the Enterprise tier.
31
31
32
32
*[Overview](#overview)
33
33
*[Activity log](#activity-log)
@@ -142,7 +142,7 @@ For more information about `maxmemory` policies, see [Eviction policies](https:/
142
142
143
143
The **maxmemory-reserved** setting configures the amount of memory, in MB per instance in a cluster, that is reserved for non-cache operations, such as replication during failover. Setting this value allows you to have a more consistent Redis server experience when your load varies. This value should be set higher for workloads that write large amounts of data. When memory is reserved for such operations, it's unavailable for storage of cached data.
144
144
145
-
The **maxfragmentationmemory-reserved** setting configures the amount of memory, in MB per instance in a cluster, that is reserved to accommodate for memory fragmentation. When you set this value, you to have a more consistent Redis server experience when the cache is full or close to full and the fragmentation ratio is high. When memory is reserved for such operations, it's unavailable for storage of cached data.
145
+
The **maxfragmentationmemory-reserved** setting configures the amount of memory, in MB per instance in a cluster, that is reserved to accommodate for memory fragmentation. When you set this value, the Redis server experience is more consistent when the cache is full or close to full and the fragmentation ratio is high. When memory is reserved for such operations, it's unavailable for storage of cached data.
146
146
147
147
One thing to consider when choosing a new memory reservation value (**maxmemory-reserved** or **maxfragmentationmemory-reserved**) is how this change might affect a cache that is already running with large amounts of data in it. For instance, if you have a 53-GB cache with 49 GB of data, then change the reservation value to 8 GB, this change will drop the max available memory for the system down to 45 GB. If either your current `used_memory` or your `used_memory_rss` values are higher than the new limit of 45 GB, then the system will have to evict data until both `used_memory` and `used_memory_rss` are below 45 GB. Eviction can increase server load and memory fragmentation. For more information on cache metrics such as `used_memory` and `used_memory_rss`, see [Available metrics and reporting intervals](cache-how-to-monitor.md#available-metrics-and-reporting-intervals).
148
148
@@ -265,7 +265,7 @@ Select **Firewall** to view and configure firewall rules for cache.
You can specify firewall rules with a start and end IP address range. When firewall rules are configured, only client connections from the specified IP address ranges can connect to the cache. When a firewall rule is saved, there is a short delay before the rule is effective. This delay is typically less than one minute.
268
+
You can specify firewall rules with a start and end IP address range. When firewall rules are configured, only client connections from the specified IP address ranges can connect to the cache. When a firewall rule is saved, there's a short delay before the rule is effective. This delay is typically less than one minute.
269
269
270
270
> [!IMPORTANT]
271
271
> Connections from Azure Cache for Redis monitoring systems are always permitted, even if firewall rules are configured.
@@ -311,7 +311,7 @@ Export allows you to export the data stored in Azure Cache for Redis to Redis co
311
311
312
312
### Reboot
313
313
314
-
The **Reboot** on the left allows you to reboot the nodes of your cache. This reboot capability enables you to test your application for resiliency if there is a failure of a cache node.
314
+
The **Reboot**item on the left allows you to reboot the nodes of your cache. This reboot capability enables you to test your application for resiliency if there's a failure of a cache node.
@@ -322,8 +322,7 @@ If you have a premium cache with clustering enabled, you can select which shards
322
322
To reboot one or more nodes of your cache, select the desired nodes and select **Reboot**. If you have a premium cache with clustering enabled, select the shard(s) to reboot and then select **Reboot**. After a few minutes, the selected node(s) reboot, and are back online a few minutes later.
323
323
324
324
> [!IMPORTANT]
325
-
> Reboot is now available for all pricing tiers. For more information and instructions, see [Azure Cache for Redis administration - Reboot](cache-administration.md#reboot).
326
-
>
325
+
> Reboot is not yet available for the Enterprise tier. Reboot is available for all other tiers. For more information and instructions, see [Azure Cache for Redis administration - Reboot](cache-administration.md#reboot).
327
326
>
328
327
329
328
## Monitoring
@@ -393,11 +392,11 @@ New Azure Cache for Redis instances are configured with the following default Re
393
392
| --- | --- | --- |
394
393
|`databases`|16 |The default number of databases is 16 but you can configure a different number based on the pricing tier.<sup>1</sup> The default database is DB 0, you can select a different one on a per-connection basis using `connection.GetDatabase(dbid)` where `dbid` is a number between `0` and `databases - 1`. |
395
394
|`maxclients`|Depends on the pricing tier<sup>2</sup> |This value is the maximum number of connected clients allowed at the same time. Once the limit is reached Redis closes all the new connections, returning a 'max number of clients reached' error. |
396
-
|`maxmemory-policy`|`volatile-lru`|Maxmemory policy is the setting for how Redis selects what to remove when `maxmemory` (the size of the cache offering you selected when you created the cache) is reached. With Azure Cache for Redis the default setting is `volatile-lru`, which removes the keys with an expiration set using an LRU algorithm. This setting can be configured in the Azure portal. For more information, see [Memory policies](#memory-policies). |
395
+
|`maxmemory-policy`|`volatile-lru`|Maxmemory policy is the setting used by Redis to select what to remove when `maxmemory` (the size of the cache offering you selected when you created the cache) is reached. With Azure Cache for Redis the default setting is `volatile-lru`, which removes the keys with an expiration set using an LRU algorithm. This setting can be configured in the Azure portal. For more information, see [Memory policies](#memory-policies). |
397
396
|`maxmemory-samples`|3 |To save memory, LRU and minimal TTL algorithms are approximated algorithms instead of precise algorithms. By default Redis checks three keys and picks the one that was used less recently. |
398
397
|`lua-time-limit`|5,000 |Max execution time of a Lua script in milliseconds. If the maximum execution time is reached, Redis logs that a script is still in execution after the maximum allowed time, and starts to reply to queries with an error. |
399
398
|`lua-event-limit`|500 |Max size of script event queue. |
400
-
|`client-output-buffer-limit``normalclient-output-buffer-limit``pubsub`|0 0 032mb 8mb 60 |The client output buffer limits can be used to force disconnection of clients that are not reading data from the server fast enough for some reason. A common reason is that a Pub/Sub client can't consume messages as fast as the publisher can produce them. For more information, see [https://redis.io/topics/clients](https://redis.io/topics/clients). |
399
+
|`client-output-buffer-limit``normalclient-output-buffer-limit``pubsub`|0 0 032mb 8 mb 60 |The client output buffer limits can be used to force disconnection of clients that aren't reading data from the server fast enough for some reason. A common reason is that a Pub/Sub client can't consume messages as fast as the publisher can produce them. For more information, see [https://redis.io/topics/clients](https://redis.io/topics/clients). |
401
400
402
401
<aname="databases"></a>
403
402
@@ -416,7 +415,7 @@ New Azure Cache for Redis instances are configured with the following default Re
416
415
* P2 (13 GB - 130 GB) - up to 32 databases
417
416
* P3 (26 GB - 260 GB) - up to 48 databases
418
417
* P4 (53 GB - 530 GB) - up to 64 databases
419
-
* All premium caches with Redis cluster enabled - Redis cluster only supports use of database 0 so the `databases` limit for any premium cache with Redis cluster enabled is effectively 1 and the [Select](https://redis.io/commands/select) command is not allowed. For more information, see [Do I need to make any changes to my client application to use clustering?](cache-how-to-premium-clustering.md#do-i-need-to-make-any-changes-to-my-client-application-to-use-clustering)
418
+
* All premium caches with Redis cluster enabled - Redis cluster only supports use of database 0 so the `databases` limit for any premium cache with Redis cluster enabled is effectively 1 and the [Select](https://redis.io/commands/select) command isn't allowed. For more information, see [Do I need to make any changes to my client application to use clustering?](cache-how-to-premium-clustering.md#do-i-need-to-make-any-changes-to-my-client-application-to-use-clustering)
420
419
421
420
For more information about databases, see [What are Redis databases?](cache-development-faq.yml#what-are-redis-databases-)
0 commit comments