Skip to content

Commit 9916038

Browse files
authored
Merge pull request #208327 from mattmsft/mattmsft/az-migration-guidance-acs
AZ Migration Guidance: Azure Cognitive Search
2 parents aee7720 + 9cbb497 commit 9916038

File tree

2 files changed

+70
-2
lines changed

2 files changed

+70
-2
lines changed

articles/availability-zones/TOC.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@
2626
href: migrate-app-gateway-v2.md
2727
- name: Cache for Redis
2828
href: migrate-cache-redis.md
29-
- name: Log Analytics workspaces
30-
href: migrate-monitor-log-analytics.md
29+
- name: Cognitive Search
30+
href: migrate-search-service.md
3131
- name: Container instances
3232
href: migrate-container-instances.md
33+
- name: Log Analytics workspaces
34+
href: migrate-monitor-log-analytics.md
3335
- name: Recovery Services vault
3436
href: migrate-recovery-services-vault.md
3537
- name: Storage accounts
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
3+
title: Migrate Azure Cognitive Search to availability zone support
4+
description: Learn how to migrate Azure Cognitive Search to availability zone support.
5+
author: mattmsft
6+
ms.service: azure
7+
ms.topic: conceptual
8+
ms.date: 08/01/2022
9+
ms.author: magottei
10+
ms.reviewer: mcarter
11+
ms.custom: references_regions
12+
13+
---
14+
15+
# Migrate Azure Cognitive Search to availability zone support
16+
17+
This guide describes how to migrate Azure Cognitive Search from non-availability zone support to availability support.
18+
19+
Azure Cognitive Search services can take advantage of availability support [in regions that support availability zones](../search/search-performance-optimization.md#availability-zones). Services with [two or more replicas](../search/search-capacity-planning.md) in these regions created after availability support was enabled can automatically utilize availability zones. Each replica will be placed in a different availability zone within the region. If you have more replicas than availability zones, the replicas will be distributed across availability zones as evenly as possible.
20+
21+
If a search service was created before availability zone support was enabled in its region, the search service must be recreated to take advantage of availability zone support.
22+
23+
## Prerequisites
24+
25+
The following are the current requirements/limitations for enabling availability zone support:
26+
27+
- The search service must be in [a region that supports availability zones](../search/search-performance-optimization.md#availability-zones)
28+
- The search service must be created after availability zone support was enabled in its region.
29+
- The search service must have [at least two replicas](../search/search-performance-optimization.md#high-availability)
30+
31+
## Downtime requirements
32+
33+
Downtime will be dependent on how you decide to carry out the migration. Migration will consist of a side-by-side deployment where you'll create a new search service. Downtime will depend on how you choose to redirect traffic from your old search service to your new availability zone enabled search service. For example, if you're using [Azure Front Door](../frontdoor/front-door-overview.md), downtime will be dependent on the time it takes to update Azure Front Door with your new search service's information. Alternatively, you can route traffic to multiple search services at the same time using [Azure Traffic Manager](../traffic-manager/traffic-manager-overview.md).
34+
35+
## Migration guidance: Recreate your search service
36+
37+
### When to recreate your search service
38+
39+
If you created your search service in a region that supports availability zones before this support was enabled, you'll need to recreate the search service.
40+
41+
### How to recreate your search service
42+
43+
1. [Create a new search service](../search/search-create-service-portal.md) in the same region as the old search service. This region should [support availability zones on or after the current date](../search/search-performance-optimization.md#availability-zones).
44+
45+
>[!IMPORTANT]
46+
>The [free and basic tiers do not support availability zones](../search/search-sku-tier.md#feature-availability-by-tier), and so they should not be used.
47+
1. Add at [least two replicas to your new search service](../search/search-capacity-planning.md#add-or-reduce-replicas-and-partitions). Once the search service has at least two replicas, it automatically takes advantage of availability zone support.
48+
1. Migrate your data from your old search service to your new search service by rebuilding of all your search indexes from your old service.
49+
50+
To rebuild all of your search indexes, choose one of the following two options:
51+
- [Move individual indexes from your old search service to your new one](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/index-backup-restore)
52+
- Rebuild indexes from an external data source if one is available.
53+
1. Redirect traffic from your old search service to your new search service. This may require updates to your application that uses the old search service.
54+
>[!TIP]
55+
>Services such as [Azure Front Door](../frontdoor/front-door-overview.md) and [Azure Traffic Manager](../traffic-manager/traffic-manager-overview.md) help simplify this process.
56+
57+
## Next steps
58+
59+
> [!div class="nextstepaction"]
60+
> [Learn how to create and deploy ARM templates](../azure-resource-manager/templates/quickstart-create-templates-use-visual-studio-code.md)
61+
62+
> [!div class="nextstepaction"]
63+
> [ARM Quickstart Templates](https://azure.microsoft.com/resources/templates/)
64+
65+
> [!div class="nextstepaction"]
66+
> [Learn about high availability in Azure Cognitive Search](../search/search-performance-optimization.md)

0 commit comments

Comments
 (0)