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/data-factory/configure-bcdr-azure-ssis-integration-runtime.md
+58-42Lines changed: 58 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,38 +27,43 @@ For more info about geo-replication and failover for SQL Database, see [Overview
27
27
## Azure-SSIS IR failover with Azure SQL Database Managed Instance
28
28
29
29
### Prerequisites
30
+
30
31
Azure SQL Database Managed Instance uses **database master key (DMK)** to help secure data, credentials, and connection information that is stored in database. To enable the automatic decryption of DMK, a copy of the key is encrypted by using the **server master key (SMK)**. But SMK is not replicated in failover group, so you need to add an additional password on both primary and secondary instances for DMK decryption after failover.
31
32
32
33
1. Execute below command on the SSISDB on primary instance. This step is adding a new encryption password.
33
-
```sql
34
-
ALTER MASTER KEY ADD ENCRYPTION BY PASSWORD ='password'
35
-
```
34
+
35
+
```sql
36
+
ALTER MASTER KEY ADD ENCRYPTION BY PASSWORD ='password'
37
+
```
36
38
37
39
2. Create failover group on Azure SQL Database Managed Instance.
38
40
39
41
3. Run **sp_control_dbmasterkey_password**on the secondary instance, using the new encryption password.
### Scenario 1 - Azure-SSIS IR is pointing to read-write listener endpoint
47
50
48
51
If you want Azure-SSIS IR point to read-write listener endpoint, you need to point to primary server endpoint first. After putting SSISDB to failover group, you can change to read-write listener endpoint and restart Azure-SSIS IR.
49
52
50
53
#### Solution
54
+
51
55
When failover occurs, you have to do the following things:
56
+
52
57
1. Stop Azure-SSIS IR on primary region.
53
58
54
59
2. Edit Azure-SSIS IR with new region, VNET and custom setup SAS URI information of secondary instance. As Azure-SSIS IR is pointing to read-write listener and the endpoint is transparent to Azure-SSIS IR, you don't need to edit the endpoint.
55
60
56
-
```powershell
57
-
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
61
+
```powershell
62
+
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
58
63
-VNetId "new VNet" `
59
64
-Subnet "new subnet" `
60
65
-SetupScriptContainerSasUri "new custom setup SAS URI"
61
-
```
66
+
```
62
67
63
68
3. Restart Azure-SSIS IR.
64
69
@@ -67,19 +72,21 @@ When failover occurs, you have to do the following things:
67
72
The scenario is suitable if Azure-SSIS IR is pointing to primary server endpoint.
68
73
69
74
#### Solution
75
+
70
76
When failover occurs, you have to do the following things:
77
+
71
78
1. Stop Azure-SSIS IR on primary region.
72
79
73
80
2. Edit Azure-SSIS IR with new region, endpoint and VNET information of secondary instance.
74
81
75
-
```powershell
76
-
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
82
+
```powershell
83
+
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
77
84
-CatalogServerEndpoint "Azure SQL Database server endpoint" `
78
85
-CatalogAdminCredential "Azure SQL Database server admin credentials" `
79
86
-VNetId "new VNet" `
80
87
-Subnet "new subnet" `
81
88
-SetupScriptContainerSasUri "new custom setup SAS URI"
82
-
```
89
+
```
83
90
84
91
3. Restart Azure-SSIS IR.
85
92
@@ -88,17 +95,19 @@ When failover occurs, you have to do the following things:
88
95
The scenario is suitable if the Azure-SSIS IR is pointing to public endpoint of Azure SQL Database Managed Instance and it doesn't join to VNET. The only difference between scenario 2and this scenarios is that you don't need to edit VNET information of Azure-SSIS IR after failover.
89
96
90
97
#### Solution
98
+
91
99
When failover occurs, you have to do the following things:
100
+
92
101
1. Stop Azure-SSIS IR on primary region.
93
102
94
103
2. Edit Azure-SSIS IR with new region and endpoint information of secondary instance.
95
104
96
-
```powershell
97
-
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
105
+
```powershell
106
+
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
98
107
-CatalogServerEndpoint "Azure SQL Database server endpoint" `
99
108
-CatalogAdminCredential "Azure SQL Database server admin credentials" `
100
109
-SetupScriptContainerSasUri "new custom setup SAS URI"
101
-
```
110
+
```
102
111
103
112
3. Restart Azure-SSIS IR.
104
113
@@ -107,30 +116,34 @@ When failover occurs, you have to do the following things:
107
116
This scenario is suitable if you want to provision a new Azure-SSIS IR on secondary region or you want your SSISDB to keep working with a new Azure-SSIS IR in a new region when an ADF or Azure-SSIS IR disaster occurs in current region.
108
117
109
118
#### Solution
119
+
110
120
When failover occurs, you have to do the following things:
121
+
111
122
> [!NOTE]
112
123
> Step 4 (creation of IR) needs to be done via PowerShell. Azure portal will report an error stating that SSISDB already exists.
124
+
113
125
1. Stop Azure-SSIS IR on primary region.
114
126
115
127
2. Execute stored procedure to update metadata in SSISDB to accept connections from **\<new_data_factory_name\>** and **\<new_integration_runtime_name\>**.
3. Create a new data factory named **\<new_data_factory_name\>** in the new region. For more info, see Create a data factory.
122
134
123
-
```powershell
124
-
Set-AzDataFactoryV2 -ResourceGroupName "new resource group name" `
135
+
```powershell
136
+
Set-AzDataFactoryV2 -ResourceGroupName "new resource group name" `
125
137
-Location "new region"`
126
138
-Name "<new_data_factory_name>"
127
-
```
128
-
For more info about this PowerShell command, see [Create an Azure data factory using PowerShell](quickstart-create-data-factory-powershell.md)
139
+
```
140
+
141
+
For more info about this PowerShell command, see [Create an Azure data factory using PowerShell](quickstart-create-data-factory-powershell.md)
129
142
130
143
4. Create a new Azure-SSIS IR named **\<new_integration_runtime_name\>** in the new region using Azure PowerShell.
131
144
132
-
```powershell
133
-
Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName "new resource group name" `
145
+
```powershell
146
+
Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName "new resource group name" `
134
147
-DataFactoryName "new data factory name" `
135
148
-Name "<new_integration_runtime_name>" `
136
149
-Description $AzureSSISDescription `
@@ -145,9 +158,9 @@ When failover occurs, you have to do the following things:
145
158
-Subnet "new subnet" `
146
159
-CatalogServerEndpoint $SSISDBServerEndpoint `
147
160
-CatalogPricingTier $SSISDBPricingTier
148
-
```
161
+
```
149
162
150
-
For more info about this PowerShell command, see [Create the Azure-SSIS integration runtime in Azure Data Factory](create-azure-ssis-integration-runtime.md)
163
+
For more info about this PowerShell command, see [Create the Azure-SSIS integration runtime in Azure Data Factory](create-azure-ssis-integration-runtime.md)
151
164
152
165
153
166
@@ -169,19 +182,21 @@ If you want to update the region or other information in Azure-SSIS IR, you can
169
182
The scenario is suitable if Azure-SSIS IR is pointing to primary server endpoint.
170
183
171
184
#### Solution
185
+
172
186
When failover occurs, you have to do the following things:
187
+
173
188
1. Stop Azure-SSIS IR on primary region.
174
189
175
190
2. Edit Azure-SSIS IR with new region, endpoint, and VNET information of secondary instance.
176
191
177
-
```powershell
178
-
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
192
+
```powershell
193
+
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
179
194
-CatalogServerEndpoint "Azure SQL Database server endpoint" `
180
195
-CatalogAdminCredential "Azure SQL Database server admin credentials" `
181
196
-VNetId "new VNet" `
182
197
-Subnet "new subnet" `
183
198
-SetupScriptContainerSasUri "new custom setup SAS URI"
184
-
```
199
+
```
185
200
186
201
3. Restart Azure-SSIS IR.
187
202
@@ -198,23 +213,24 @@ This scenario is suitable if you want to provision a new Azure-SSIS IR on second
198
213
199
214
2. Execute stored procedure to update metadata in SSISDB to accept connections from **\<new_data_factory_name\>** and **\<new_integration_runtime_name\>**.
3. Create a new data factory named **\<new_data_factory_name\>** in the new region. For more info, see Create a data factory.
206
221
207
-
```powershell
208
-
Set-AzDataFactoryV2 -ResourceGroupName "new resource group name" `
222
+
```powershell
223
+
Set-AzDataFactoryV2 -ResourceGroupName "new resource group name" `
209
224
-Location "new region"`
210
225
-Name "<new_data_factory_name>"
211
-
```
212
-
For more info about this PowerShell command, see [Create an Azure data factory using PowerShell](quickstart-create-data-factory-powershell.md)
226
+
```
227
+
228
+
For more info about this PowerShell command, see [Create an Azure data factory using PowerShell](quickstart-create-data-factory-powershell.md)
213
229
214
230
4. Create a new Azure-SSIS IR named **\<new_integration_runtime_name\>** in the new region using Azure PowerShell.
215
231
216
-
```powershell
217
-
Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName "new resource group name" `
232
+
```powershell
233
+
Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName "new resource group name" `
218
234
-DataFactoryName "new data factory name" `
219
235
-Name "<new_integration_runtime_name>" `
220
236
-Description $AzureSSISDescription `
@@ -229,9 +245,9 @@ This scenario is suitable if you want to provision a new Azure-SSIS IR on second
229
245
-Subnet "new subnet" `
230
246
-CatalogServerEndpoint $SSISDBServerEndpoint `
231
247
-CatalogPricingTier $SSISDBPricingTier
232
-
```
248
+
```
233
249
234
-
For more info about this PowerShell command, see [Create the Azure-SSIS integration runtime in Azure Data Factory](create-azure-ssis-integration-runtime.md)
250
+
For more info about this PowerShell command, see [Create the Azure-SSIS integration runtime in Azure Data Factory](create-azure-ssis-integration-runtime.md)
0 commit comments