Skip to content

Commit 8e382cc

Browse files
authored
Merge pull request #111088 from uhabiba04/master
added new article
2 parents 1302236 + 14cd749 commit 8e382cc

File tree

6 files changed

+63
-0
lines changed

6 files changed

+63
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: Disaster recovery for FarmBeats
3+
description: This article describes how data recovery protects from losing your data.
4+
author: uhabiba04
5+
ms.topic: article
6+
ms.date: 04/13/2020
7+
ms.author: v-umha
8+
---
9+
10+
# Disaster recovery for FarmBeats
11+
12+
Data recovery protects you from losing your data in an event like collapse of Azure region. In such an event, you can start failover, and recover the data stored in your FarmBeats deployment.
13+
14+
Data recovery is not a default feature in Azure FarmBeats. You can configure this feature manually by configuring the required Azure resources that are used by FarmBeats to store data in an Azure paired region. Use Active – Passive approach to enable recovery.
15+
16+
The following sections provide information about how you can configure data recovery in Azure FarmBeats:
17+
18+
- [Enable data redundancy](#enable-data-redundancy)
19+
- [Restore service from online backup](#restore-service-from-online-backup)
20+
21+
22+
## Enable data redundancy
23+
24+
FarmBeats stores data in three Azure first party services, which are **Azure storage**, **Cosmos DB** and **Time Series Insights**. Use the following steps to enable data redundancy for these services to a paired Azure region:
25+
26+
1. **Azure Storage** - Follow this guideline to enable data redundancy for each storage account in your FarmBbeats deployment.
27+
2. **Azure Cosmos DB** - Follow this guideline to enable data redundancy for Cosmos DB account your FarmBeats deployment.
28+
3. **Azure Time Series Insights (TSI)** - TSI currently doesn't offer data redundancy. To recover Time Series Insights data, go to your sensor/weather partner and push the data again to FarmBeats deployment.
29+
30+
## Restore service from online backup
31+
32+
You can initiate failover and recover data stored for which, each of the above mentioned data stores for your FarmBeats deployment. Once you've recovered the data for Azure storage and Cosmos DB, create another FarmBeats deployment in the Azure paired region and then configure the new deployment to use data from restored data stores (i.e. Azure Storage and Cosmos DB) by using the below steps:
33+
34+
1. [Configure Cosmos DB](#configure-cosmos-db)
35+
2. [Configure Storage Account](#configure-storage-account)
36+
37+
38+
### Configure Cosmos DB
39+
40+
Copy the access key of the restored Cosmos DB and update the new FarmBeats Datahub Key Vault.
41+
42+
43+
![Disaster Recovery](./media/disaster-recovery-for-farmbeats/keyvault-secrets.png)
44+
45+
> [!NOTE]
46+
> Copy the URL of restored Cosmos DB and update it in the new FarmBeats Datahub App Service Configuration. You can now delete Cosmos DB account in the new FarmBeats deployment.
47+
48+
![Disaster Recovery](./media/disaster-recovery-for-farmbeats/northeu-ehub-api-configuration.png)
49+
50+
### Configure Storage Account
51+
52+
Copy the access key of the restored storage account and update it in the new FarmBeats Datahub Key Vault.
53+
54+
![Disaster Recovery](./media/disaster-recovery-for-farmbeats/keyvault-7udqm-secrets.png)
55+
56+
>[!NOTE]
57+
> Ensure to Update Storage Account name in the new FarmBeats Batch VM config file.
58+
59+
![Disaster Recovery](./media/disaster-recovery-for-farmbeats/batch-prep-files.png)
60+
61+
Similarly, if you have enabled data recovery for your Accelerator storage account, follow the step 2 to update the accelerator Storage Account access key and name, in the new FarmBeats instance.
151 KB
Loading
54.4 KB
Loading
46.7 KB
Loading
52.1 KB
Loading

articles/industry/agriculture/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
href: configure-rules-alerts-in-azure-farmbeats.md
3838
- name: Get drone imagery
3939
href: get-drone-imagery-in-azure-farmbeats.md
40+
- name: Disaster recovery
41+
href: disaster-recovery-for-farmbeats.md
4042
- name: Troubleshoot
4143
items:
4244
- name: Troubleshoot Azure FarmBeats

0 commit comments

Comments
 (0)