An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
Hello Jan Claes,
Thank you for reaching out to the Microsoft Q&A forum.
When investigated it looks like the ASR replication appliance is choking when it tries to pull the BIOS GUID from your Linux servers. ASR uses that GUID to uniquely identify physical (or agent-based) machines, and behind the scenes it runs something like:
sudo dmidecode -s system-uuid
If that command fails or returns nothing, you’ll see the “Failed to fetch BIOS GUID…” error.
Here’s what to check/fix on each Linux box:
- dmidecode is installed ° On RHEL/CentOS:
sudo yum install -y dmidecode ° On Ubuntu/Debian: sudo apt-get install -y dmidecode- The LinuxRoot credential can actually run dmidecode as root ° Open /etc/sudoers.d/asr-linuxroot (or use visudo) and ensure: LinuxRoot ALL=(root) NOPASSWD: /usr/sbin/dmidecode ° Verify: sudo -l (should list dmidecode with NOPASSWD) sudo dmidecode -s system-uuid (should print a GUID)
- Python & other agent pre-reqs are in place ° Python 2.7+ installed (python --version) ° nc, uuid-dev/libuuid and parted packages installed
- No security policies blocking DMI access ° If SELinux/AppArmor is enforcing, try a quick test by temporarily disabling it or adjusting policies to allow dmidecode to read /dev/mem or the DMI sysfs entries
- Confirm the server really has a valid BIOS UUID ° Look at /sys/class/dmi/id/product_uuid – if that’s empty or all zeros, ASR can’t use it
Once you’ve installed dmidecode, given the LinuxRoot user passwordless sudo rights for it, and confirmed you can manually fetch the system-uuid, re-try “Add physical server” in the replication appliance. It should move past discovery and let you install the Mobility service.
If it still fails, please let us know:
• Linux distro and version • Exact output of sudo dmidecode -s system-uuid • Any errors from sudo dmidecode (stdout/stderr) • Whether these are truly bare-metal machines or nested VMs on a non-Hyper-V/VMware hypervisor
Hope this gets you unstuck!
References
- Linux server migration prerequisites – Azure Site Recovery https://learn.microsoft.com/azure/site-recovery/linux-physical-server-migration-prerequisites
- Deploy and configure the process server (the ASR appliance) https://learn.microsoft.com/azure/site-recovery/deploy-process-server
- Troubleshoot physical server discovery errors https://learn.microsoft.com/azure/site-recovery/troubleshoot-physical-server-discovery
- Install Mobility service for Linux (agent-based replication) https://learn.microsoft.com/azure/site-recovery/site-recovery-vmware-physical-configure-lifecycle#install-the-mobility-service
- Azure Migrate agent-based discovery for Linux servers https://learn.microsoft.com/azure/migrate/tutorial-server-discovery