An Azure service for ingesting, preparing, and transforming data at scale.
Hi SC
It sounds like you’re weighing whether to move your Self-Hosted Integration Runtime (SHIR) install off your C: drive onto D:, especially in an HA auto-update scenario. Here’s a rundown of what you need to consider:
Is it advisable? • Officially, Microsoft doesn’t provide a supported “move-folders” procedure once SHIR is installed under Program Files. Auto-update and some service settings assume the default install path (C:\Program Files\Microsoft Integration Runtime\…). • If you really need the binaries on D:, the safest approach is to uninstall and re-install SHIR to D: in the first place (during the GUI setup you can pick a custom folder).
Pros & cons in HA: Pros – Frees up your OS drive (C:) for Windows/system files – Keeps large installers and logs off the smaller system volume Cons – Auto-update jobs may fail or not detect the IR service if they hard-code the original path – Complexifying your HA failover scripts: each node must have identical folder structure and service configurations – Troubleshooting might get confusing if logs, registry keys, or service definitions point to unexpected locations
Risks & limitations around auto-updates/patching/failover: • Auto-update leverages the Microsoft Integration Runtime Configuration Manager service and installer under Program Files. Changing that path can lead to “Upgrade now” not showing up or silently failing if the updater can’t find dmgcmd.exe or the service binary. • In an HA pair, one node might succeed in updating and the other might not, causing version drift. • Service-level failover scripts often reference the default path too, so you’d have to update any PowerShell or ARM templates that invoke the IR CLI.
Official guidance: • Microsoft’s docs don’t include a “move after install” procedure. They recommend:
- Install SHIR where you want it (you get to change the folder on initial setup)
- Keep at least 10 GB free on the drive hosting SHIR for auto-updates
- In HA scenarios, keep all nodes identical (same OS patches, same IR version, same folder layout)
- Stop the “Self-hosted Integration Runtime” Windows service on each node
- Copy “C:\Program Files\Microsoft Integration Runtime” to “D:\Microsoft Integration Runtime”
- Rename the original folder to something like “…_old”
- Run in an elevated cmd: mklink /J "C:\Program Files\Microsoft Integration Runtime" "D:\Microsoft Integration Runtime"
- Start the IR service and verify it auto-updates/continues working Caveat: This is a community workaround, not officially supported.
- Run in an elevated cmd: mklink /J "C:\Program Files\Microsoft Integration Runtime" "D:\Microsoft Integration Runtime"
- Rename the original folder to something like “…_old”
- Copy “C:\Program Files\Microsoft Integration Runtime” to “D:\Microsoft Integration Runtime”
- Keep at least 10 GB free on the drive hosting SHIR for auto-updates
Hope that gives you a clear picture. If you decide to move ahead or need more details, let us know:
• Which SHIR version you’re on?
• How many HA nodes and what OS version?
• Are you comfortable using directory junctions vs. pure re-install?
• Do you have any custom service-wrapper scripts or ARM templates referencing the old path?