Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
APPLIES TO:
Azure Data Factory
Azure Synapse Analytics
Tip
Try out Data Factory in Microsoft Fabric, an all-in-one analytics solution for enterprises. Microsoft Fabric covers everything from data movement to data science, real-time analytics, business intelligence, and reporting. Learn how to start a new trial for free!
Azure Data Factory provides Windows container support for the Self-Hosted Integration Runtime. You can download the Docker Build source code and combine the building and running process in your own continuous delivery pipeline.
Tip
This article explains how to run the Self-Hosted Integration Runtime in a Windows container on a compatible physical or virtual machine. If you don't want to manage infrastructure, you can run the Self-Hosted Integration Runtime on Azure App Service. For more information, see the Azure Data Factory self-hosted integration runtime on App Service sample.
Prerequisites
- Windows container requirements
- Docker version 2.3 or later
- Self-Hosted Integration Runtime Version 5.2.7713.1 or later
Get started
If you need to use a specific version of the SHIR, you can download it and move it to the SHIR folder.
Otherwise, skip this step. The container image build process downloads the latest version of the SHIR automatically.
Open your folder in the shell:
cd "yourFolderPath"
Build the Windows container image:
docker build . -t "yourDockerImageName"
Run the container with specific arguments by passing environment variables:
docker run -d -e AUTH_KEY=<ir-authentication-key> \ [-e NODE_NAME=<ir-node-name>] \ [-e ENABLE_HA={true|false}] \ [-e HA_PORT=<port>] \ [-e ENABLE_AE={true|false}] \ [-e AE_TIME=<expiration-time-in-seconds>] \ <yourDockerImageName>
Name | Necessity | Default | Description |
---|---|---|---|
AUTH_KEY |
Required | The authentication key for the self-hosted integration runtime. | |
NODE_NAME |
Optional | hostname |
The specified name of the node. |
ENABLE_HA |
Optional | false |
The flag to enable high availability and scalability. It supports up to 4 nodes registered to the same IR when HA is enabled, otherwise only 1 is allowed. |
HA_PORT |
Optional | 8060 |
The port to set up a high availability cluster. |
ENABLE_AE |
Optional | false |
The flag to enable offline nodes auto-expiration. If enabled, the expired nodes are removed automatically from the IR when a new node is attempting to register. Only works when ENABLE_HA=true . |
AE_TIME |
Optional | 600 |
The expiration time out duration for offline nodes in seconds. Should be no less than 600 (10 minutes). |
Container health check
After the 120-second startup period, the health check runs periodically every 30 seconds. It provides the SHIR's health status to the container engine.
Limitations
Currently we don't support the below features when running the Self-Hosted Integration Runtime in Windows containers:
- HTTP proxy
- Encrypted node-node communication with TLS/SSL certificate
- Generate and import backup
- Daemon service
- Auto-update
There's a known issue when hosting an Azure Data Factory self-hosted integration runtime in Azure App Service, where a restart creates a new container instead of reusing the existing one. This causes configuration settings, such as concurrency adjustments, to be lost, changes to the host file for FQDN-to-IP mapping to reset, and the node name to change.