Skip to content

Commit ea7fa46

Browse files
authored
Merge pull request #208045 from flang-msft/fxl---Added-CLI-and-Powershell-Info-for-Active-Geo-Replication
Fxl---added cli and powershell info for active geo replication
2 parents efb792f + 8540934 commit ea7fa46

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

articles/azure-cache-for-redis/cache-how-to-active-geo-replication.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
title: Configure active geo-replication for Enterprise Azure Cache for Redis instances
33
description: Learn how to replicate your Azure Cache for Redis Enterprise instances across Azure regions.
44
author: flang-msft
5+
56
ms.service: cache
67
ms.topic: conceptual
7-
ms.date: 06/15/2022
8+
ms.date: 08/15/2022
89
ms.author: franlanglois
910

1011
---
@@ -64,12 +65,11 @@ You should remove the unavailable cache because the remaining caches in the repl
6465

6566
### Azure CLI
6667

67-
Use the Azure CLI for creating a new cache and geo-replication group, or to add a new cache to an existing geo-replication group. For more information, see [az redisenterprise create](/cli/azure/redisenterprise?view=azure-cli-latest).
68+
Use the Azure CLI for creating a new cache and geo-replication group, or to add a new cache to an existing geo-replication group. For more information, see [az redisenterprise create](/cli/azure/redisenterprise#az-redisenterprise-create).
6869

6970
#### Create new Enterprise instance in a new geo-replication group using Azure CLI
7071

71-
This example creates a new Azure Cache for Redis Enterprise E10 cache instance called `Cache1` in the East US region. Then, the cache is added to a new active geo-replication group called `replicationGroup`:
72-
72+
This example creates a new Azure Cache for Redis Enterprise E10 cache instance called _Cache1_ in the East US region. Then, the cache is added to a new active geo-replication group called `replicationGroup`:
7373

7474
```azurecli-interactive
7575
az redisenterprise create --location "East US" --cluster-name "Cache1" --sku "Enterprise_E10" --resource-group "myResourceGroup" --group-nickname "replicationGroup" --linked-databases id="/subscriptions/34b6ecbd-ab5c-4768-b0b8-bf587aba80f6/resourceGroups/myResourceGroup/providers/Microsoft.Cache/redisEnterprise/Cache1/databases/default"
@@ -81,18 +81,18 @@ To configure active geo-replication properly, the ID of the cache instance being
8181

8282
#### Create new Enterprise instance in an existing geo-replication group using Azure CLI
8383

84-
This example creates a new Cache for Redis Enterprise E10 instance called `Cache2` in the West US region. Then, the cache is added to the `replicationGroup` active geo-replication group created above. This way, it's linked in an active-active configuration with Cache1.
84+
This example creates a new Cache for Redis Enterprise E10 instance called _Cache2_ in the West US region. Then, the cache is added to the `replicationGroup` active geo-replication group created above. This way, it's linked in an active-active configuration with Cache1.
8585
<!-- love the simple, declarative sentences. I am once again add the full product name -->
8686

8787
```azurecli-interactive
8888
az redisenterprise create --location "West US" --cluster-name "Cache2" --sku "Enterprise_E10" --resource-group "myResourceGroup" --group-nickname "replicationGroup" --linked-databases id="/subscriptions/34b6ecbd-ab5c-4768-b0b8-bf587aba80f6/resourceGroups/myResourceGroup/providers/Microsoft.Cache/redisEnterprise/Cache1/databases/default" --linked-databases id="/subscriptions/34b6ecbd-ab5c-4768-b0b8-bf587aba80f6/resourceGroups/myResourceGroup/providers/Microsoft.Cache/redisEnterprise/Cache2/databases/default"
8989
```
9090

91-
As before, you need to list both `Cache1` and `Cache2` using the `--linked-databases` parameter.
91+
As before, you need to list both _Cache1_ and _Cache2_ using the `--linked-databases` parameter.
9292

9393
### Azure PowerShell
9494

95-
Use Azure PowerShell to create a new cache and geo-replication group, or to add a new cache to an existing geo-replication group. For more information, see [New-AzRedisEnterpriseCache](/powershell/module/az.redisenterprisecache/new-azredisenterprisecache?view=azps-8.2.0).
95+
Use Azure PowerShell to create a new cache and geo-replication group, or to add a new cache to an existing geo-replication group. For more information, see [New-AzRedisEnterpriseCache](/powershell/module/az.redisenterprisecache/new-azredisenterprisecache).
9696

9797
#### Create new Enterprise instance in a new geo-replication group using PowerShell
9898

@@ -108,13 +108,13 @@ To configure active geo-replication properly, the ID of the cache instance being
108108

109109
#### Create new Enterprise instance in an existing geo-replication group using PowerShell
110110

111-
This example creates a new Azure Cache for Redis E10 instance called `Cache2` in the West US region. Then, the cache is added to the "replicationGroup" active geo-replication group created above. This way, it's linked in an active-active configuration with `Cache1`.
111+
This example creates a new Azure Cache for Redis E10 instance called _Cache2_ in the West US region. Then, the cache is added to the "replicationGroup" active geo-replication group created above. This way, it's linked in an active-active configuration with _Cache1_.
112112

113113
```powershell-interactive
114114
New-AzRedisEnterpriseCache -Name "Cache2" -ResourceGroupName "myResourceGroup" -Location "West US" -Sku "Enterprise_E10" -GroupNickname "replicationGroup" -LinkedDatabase '{id:"/subscriptions/34b6ecbd-ab5c-4768-b0b8-bf587aba80f6/resourceGroups/myResourceGroup/providers/Microsoft.Cache/redisEnterprise/Cache1/databases/default"}', '{id:"/subscriptions/34b6ecbd-ab5c-4768-b0b8-bf587aba80f6/resourceGroups/myResourceGroup/providers/Microsoft.Cache/redisEnterprise/Cache2/databases/default"}'
115115
```
116116

117-
As before, you need to list both `Cache1` and `Cache2` using the `-LinkedDatabase` parameter.
117+
As before, you need to list both _Cache1_ and _Cache2_ using the `-LinkedDatabase` parameter.
118118

119119
## Next steps
120120

articles/azure-cache-for-redis/index.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
ms.topic: landing-page
99
author: flang-msft
1010
ms.author: franlanglois
11-
ms.date: 01/14/2022
11+
ms.date: 08/15/2022
1212

1313
# linkListType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | video | whats-new
1414

@@ -28,6 +28,8 @@ landingContent:
2828
url: /shows/ask-the-expert/ask-the-expert-the-latest-in-nosql-data-and-redis-on-azure
2929
- linkListType: whats-new
3030
links:
31+
- text: What's new?
32+
url: cache-whats-new.md
3133
- text: Managed identity with Azure Cache for Redis
3234
url: cache-managed-identity.md
3335
- text: Create an Enterprise tier cache

0 commit comments

Comments
 (0)