How To install DB2 Drivers on Azure Data Factory Integration Runtime

ChristopherPirsonMINFIN-0306 0 Reputation points
2024-02-14T16:44:49.73+00:00

Hello Guys, We want to use ADF to copy data from OnPrem DB2 to the cloud. We have installed ADF IR, we can connect to our DB2 but we can't fetch data from DB2. I already know why: Ms Drivers needs to install a package in a collection on the Database but the user needs to have BINADD role to do so and here they're not sure about security. The issue is the same using MS Drivers in Power BI. So we'd like to install DB2 Drivers on the ADF IR which is running on our OnPrem Side. I've found something concerning SSIS IR but currently nothing on ADF IR. Thanks for the help.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,639 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ChristopherPirsonMINFIN-0306 0 Reputation points
    2024-02-15T12:45:10.8166667+00:00

    Hello @Harishga I think there's a misunderstanding: I know there's a drivers installed by default but this one needs userrights to create a package in the database and setting PackageCollection to NULLID does work because the user doesn't have the correct role to create a Package. So since I've found something allowing someone to install the IBM DB2 Drivers on SSIS IR, I'd like to know how to do the same with ADF IR.


  2. Pinaki Ghatak 5,600 Reputation points Microsoft Employee Volunteer Moderator
    2024-04-08T08:35:46.2666667+00:00

    Hello @ChristopherPirsonMINFIN-0306  

    Firstly, I'd like to clarify that the ADF IR provides a built-in DB2 driver, so you don't need to manually install a driver to copy data from DB2.

    However, if you're still having trouble fetching data from DB2, you may want to check if the necessary packages are created for the normal user on the OS. If not, you can follow the instructions for your DB2 server type to create the necessary packages.

    Regarding installing DB2 drivers on the ADF IR, I'm afraid that's not possible as the ADF IR is a managed service and you don't have direct access to the underlying infrastructure.

    However, you can use a self-hosted integration runtime (SHIR) to connect to your on-premises DB2 database.

    With a SHIR, you can install the necessary drivers and configure the runtime to use them.

    I hope this helps! Let me know if you have any further questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.