question

AmeyKale-6062 avatar image
0 Votes"
AmeyKale-6062 asked ShaikMaheer-MSFT commented

ADF: Self hosted integration runtime is unavailable after ADF redeployment

Hi,

I am using ADF with GIT integration. I created self hosted integration and registered node using the keys. it was working fine for few days. Then i deleted the ADF and created new instance and mapped it to the same GIT repo. Now the pipelines, data sets, linked services and integration runtimes are restored properly in the new instance of the ADF. But the issue is with the self hosted integration runtime. I can see the self hosted integration runtime in the list but there is an error "Failed to get status" and it's unavailable. I verified that on the node the IR config manager is still running and it's showing that i's connected to self hosted runtime. But on ADF I am getting he above error.

Steps to reproduce:
1. Create ADF
2. Link with Git repo
3. Create self hosted IR
4. Download and install IR on node
5. Verify that the integration is working fine
6. Delete the ADF instance
7. Create new instance and link it to same GIT repo
8. All the pipelines, data sets, linked services are restored
9. The self hosted IR shows " Failed to get status" error.


Questions:
1. is this an excepted behavior, meaning whenever I will delete the ADF instance and create a new one, the original self hosted IR will be invalid and I will need to cerate new one?
2. If no, then what could be the issue?
3. If yes, then what's the advantage of saving this self-hosted IR in GIT repo? I am going to use Terraform pipeline and will destroying the re-creating the ADF instances on different environments. if self hosted IRs are going to be invalidated once I delete the ADF, is there a way to handle this?

Thanks
Amey



azure-data-factory
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AmeyKale-6062 ,

Following up to check is below provided answer helps you? If yes, Please Accept Answer. Accepting answer helps community. Thank you.

0 Votes 0 ·

Hi @AmeyKale-6062 ,

Just checking is below provided answer helps you? If yes, Please Accept Answer. Accepting answer helps community. Thank you.

0 Votes 0 ·

1 Answer

ShaikMaheer-MSFT avatar image
0 Votes"
ShaikMaheer-MSFT answered

Hi @AmeyKale-6062 ,

Welcome to Microsoft Q&A Platform. Thank you for posting your query here.

Self-hosted IR will be connected specially from one machine to single data factory only.

Hence, to handle Self-hosted IR in deployment process, you may need to consider either of two below approaches.
- Using Shared Self hosted IR.
- Using Shared Data Factory to host all SHIRs we need for different environments

Above two approaches detailed explanation is available in below blog post. Kindly check it.
https://craigporteous.com/ci-cd-for-azure-data-factory-how-to-handle-self-hosted-integration-runtimes/

Hope this will help. Thank you


  • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

  • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.