Skip to content

Commit 2367d1d

Browse files
committed
Edit BCDR doc
1 parent 90ce4e8 commit 2367d1d

File tree

1 file changed

+38
-33
lines changed

1 file changed

+38
-33
lines changed

articles/data-factory/configure-bcdr-azure-ssis-integration-runtime.md

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ For more info about geo-replication and failover for SQL Database, see [Overview
2727
## Azure-SSIS IR failover with Azure SQL Database Managed Instance
2828

2929
### 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+
3032
1. Execute below command on the SSISDB on primary instance. This step is adding a new encryption password.
3133
```sql
3234
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
4143
GO
4244
```
4345

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:
4671
1. Stop Azure-SSIS IR on primary region.
4772

4873
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
5883

5984
3. Restart Azure-SSIS IR.
6085

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
6287

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:
6492
> [!NOTE]
6593
> Step 4 (creation of IR) needs to be done via PowerShell. Azure portal will report an error stating that SSISDB already exists.
6694
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:
102130

103131
For more info about this PowerShell command, see [Create the Azure-SSIS integration runtime in Azure Data Factory](create-azure-ssis-integration-runtime.md)
104132

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-
107133

108134

109135
## Azure-SSIS IR failover with Azure SQL Database
110136

111137
### Scenario 1 - Azure-SSIS IR is pointing to read-write listener endpoint
112138

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.
122140

123141
#### Solution
124142

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.
126145

127146

128147
### Scenario 2 - Azure-SSIS IR is pointing to primary server endpoint
129148

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.
140150

141151
#### Solution
142-
152+
When failover occurs, you have to do the following things:
143153
1. Stop Azure-SSIS IR on primary region.
144154

145155
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:
155165

156166
3. Restart Azure-SSIS IR.
157167

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-
161168
### Scenario 3 - Attaching an existing SSISDB (SSIS catalog) to a new Azure-SSIS IR
162169

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.
164171

165172
#### Solution
166173

@@ -206,8 +213,6 @@ When an ADF or Azure-SSIS IR disaster occurs in current region, you can make you
206213

207214
For more info about this PowerShell command, see [Create the Azure-SSIS integration runtime in Azure Data Factory](create-azure-ssis-integration-runtime.md)
208215

209-
5. Change the server name in **ConnectionManager** of your SSIS packages with the secondary instance server name, then redeploy these packages and run.
210-
211216

212217
## Next steps
213218

0 commit comments

Comments
 (0)