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
+38-33Lines changed: 38 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ 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
+
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
+
30
32
1. Execute below command on the SSISDB on primary instance. This step is adding a new encryption password.
31
33
```sql
32
34
ALTER MASTER KEY ADD ENCRYPTION BY PASSWORD ='password'
@@ -41,8 +43,31 @@ For more info about geo-replication and failover for SQL Database, see [Overview
41
43
GO
42
44
```
43
45
44
-
### Solution
45
-
When a failover occurs, if you want to use existing Azure-SSIS IR on primary region:
46
+
### Scenario 1 - Azure-SSIS IR is pointing to read-write listener endpoint
47
+
48
+
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
+
50
+
#### Solution
51
+
When failover occurs, you have to do the following things:
52
+
1. Stop Azure-SSIS IR on primary region.
53
+
54
+
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
+
56
+
```powershell
57
+
Set-AzDataFactoryV2IntegrationRuntime -Location "new region" `
58
+
-VNetId "new VNet" `
59
+
-Subnet "new subnet" `
60
+
-SetupScriptContainerSasUri "new custom setup SAS URI"
61
+
```
62
+
63
+
3. Restart Azure-SSIS IR.
64
+
65
+
### Scenario 2 - Azure-SSIS IR is pointing to primary server endpoint
66
+
67
+
The scenario is suitable if you still want to use existing Azure-SSIS IR on primary region after failover.
68
+
69
+
#### Solution
70
+
When failover occurs, you have to do the following things:
46
71
1. Stop Azure-SSIS IR on primary region.
47
72
48
73
2. Edit Azure-SSIS IR with new region, endpoint and VNET information of secondary instance.
@@ -58,9 +83,12 @@ When a failover occurs, if you want to use existing Azure-SSIS IR on primary reg
58
83
59
84
3. Restart Azure-SSIS IR.
60
85
61
-
4. Change the server name in **ConnectionManager** of your SSIS packages with the secondary instance server name, then redeploy these packages and run.
86
+
### Scenario 3 - Attaching an existing SSISDB (SSIS catalog) to a new Azure-SSIS IR
62
87
63
-
If you want to provision a new Azure-SSIS IR on secondary region:
88
+
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.
89
+
90
+
#### Solution
91
+
When failover occurs, you have to do the following things:
64
92
> [!NOTE]
65
93
> Step 4 (creation of IR) needs to be done via PowerShell. Azure portal will report an error stating that SSISDB already exists.
66
94
1. Stop Azure-SSIS IR on primary region.
@@ -102,44 +130,26 @@ If you want to provision a new Azure-SSIS IR on secondary region:
102
130
103
131
For more info about this PowerShell command, see [Create the Azure-SSIS integration runtime in Azure Data Factory](create-azure-ssis-integration-runtime.md)
104
132
105
-
5. Change the server name in **ConnectionManager** of your SSIS packages with the secondary instance server name, then redeploy these packages and run.
106
-
107
133
108
134
109
135
## Azure-SSIS IR failover with Azure SQL Database
110
136
111
137
### Scenario 1 - Azure-SSIS IR is pointing to read-write listener endpoint
112
138
113
-
#### Conditions
114
-
115
-
This section applies when the following conditions are true:
116
-
117
-
- The Azure-SSIS IR is pointing to the read-write listener endpoint of the failover group.
118
-
119
-
AND
120
-
121
-
- The SQL Database server is *not* configured with the virtual network service endpoint rule.
139
+
This scenario is suitable Azure-SSIS IR is pointing to the read-write listener endpoint of the failover group and the SQL Database server is *not* configured with the virtual network service endpoint rule.
122
140
123
141
#### Solution
124
142
125
-
When failover occurs, it is transparent to the Azure-SSIS IR. The Azure-SSIS IR automatically connects to the new primary of the failover group.
143
+
When failover occurs, it is transparent to the Azure-SSIS IR. The Azure-SSIS IR automatically connects to the new primary of the failover group.
144
+
If you want to update the region or other information in Azure-SSIS IR, you can stop it, edit and restart.
126
145
127
146
128
147
### Scenario 2 - Azure-SSIS IR is pointing to primary server endpoint
129
148
130
-
#### Conditions
131
-
132
-
This section applies when one of the following conditions is true:
133
-
134
-
- The Azure-SSIS IR is pointing to the primary server endpoint of the failover group. This endpoint changes when failover occurs.
135
-
136
-
OR
137
-
138
-
- The Azure SQL Database server is configured with the virtual network service endpoint rule.
139
-
149
+
The scenario is suitable if you still want to use existing Azure-SSIS IR on primary region after failover.
140
150
141
151
#### Solution
142
-
152
+
When failover occurs, you have to do the following things:
143
153
1. Stop Azure-SSIS IR on primary region.
144
154
145
155
2. Edit Azure-SSIS IR with new region, endpoint, and VNET information of secondary instance.
@@ -155,12 +165,9 @@ This section applies when one of the following conditions is true:
155
165
156
166
3. Restart Azure-SSIS IR.
157
167
158
-
4. Change the server name in **ConnectionManager** of your SSIS packages with the secondary instance server name, then redeploy these packages and run.
159
-
160
-
161
168
### Scenario 3 - Attaching an existing SSISDB (SSIS catalog) to a new Azure-SSIS IR
162
169
163
-
When an ADF or Azure-SSIS IR disaster occurs in current region, you can make your SSISDB keeps working with a new Azure-SSIS IR in a new region.
170
+
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.
164
171
165
172
#### Solution
166
173
@@ -206,8 +213,6 @@ When an ADF or Azure-SSIS IR disaster occurs in current region, you can make you
206
213
207
214
For more info about this PowerShell command, see [Create the Azure-SSIS integration runtime in Azure Data Factory](create-azure-ssis-integration-runtime.md)
208
215
209
-
5. Change the server name in **ConnectionManager** of your SSIS packages with the secondary instance server name, then redeploy these packages and run.
0 commit comments