Thanks for reaching MS Q&A
Yes, you can use a single self-hosted integration runtime (SHIR) for multiple on-premises data sources. The SHIR server does not have to be on the same server as your data source, but it should be close to it. Here are some steps you can follow:
- Install SHIR: Install the self-hosted integration runtime on an on-premises machine or a virtual machine inside a private network. https://learn.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime?tabs=data-factory
- Configure SHIR: After installation, configure the SHIR to connect to your on-premises Linux servers.
Run Scripts: For running scripts on your Azure VM, you can use the Run Command feature. You can also download and run scripts in Azure virtual machines using Azure Resource Manager templates, Azure CLI, REST API, PowerShell, or Azure portal. https://learn.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime?tabs=data-factory - Run Scripts: For running scripts on your Azure VM, you can use the Run Command feature3. You can also download and run scripts in Azure virtual machines using Azure Resource Manager templates, Azure CLI, REST API, PowerShell, or Azure portal. https://learn.microsoft.com/en-us/azure/virtual-machines/linux/run-scripts-in-vm
Remember, the SHIR doesn’t need to be on the same machine as the data source. However, having the SHIR close to the data source reduces the time for the SHIR to connect to the data source. We recommend that you install the SHIR on a machine that differs from the one that hosts the on-premises data source.
Hope this helps. Do let us know if you any further queries.