OVF customization "Domain Search Path" remains unconfigured after deploying Site Recovery Manager virtual appliance
search cancel

OVF customization "Domain Search Path" remains unconfigured after deploying Site Recovery Manager virtual appliance

book

Article ID: 312770

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:


During Site Recovery Manager 8.4 or 8.5 OVF deployment, you have the option of configuring the Domain Search Path parameter, used to look up hosts among the specified domains

However, following deployment, the appliance is unable to resolve hosts by short name and /etc/resolv.conf does not show any search options for the previously-specified domains. DNS Search options also remain absent from the configuration interface.


Environment

VMware Site Recovery Manager 8.4.x
VMware Site Recovery Manager 8.5.x

Cause


This is a product issue and is not due to a deployment misconfiguration. The property was not being ingested by the configuration tool on the appliance, and the configuration interface does not provide fields or configuration options for DNS Search paths.

Resolution


This issue is slated to be resolved in Site Recovery Manager 8.6, upon its release. OVF configuration properties will be properly ingested, and web configurators will reveal fields or options to add or update DNS Search paths.


Workaround:


Update systemd-resolver with the desired Domains option:

  1. Log into the SRM 8.5 appliance, via console or SSH, as root
  2. Edit /etc/systemd/network/10-eth0.network with vim or nano
  3. Below the DNS= line, add a new line: Domains=example.com example2.com - This is a space-delimited list of your desired search domains
  4. Save your changes and quit the editor
  5. Run systemctl daemon-reload
  6. Run systemctl restart systemd-networkd
  7. Run systemctl restart systemd-resolved
  8. Confirm that the search paths now show: cat /etc/resolv.conf


Additional Information

Impact/Risks:


The appliance may be unable to resolve hosts by hostname or short name. The appliance should still continue to resolve hosts by FQDN, if DNS is configured and functioning correctly.

Manually editing /etc/resolv.conf to include domain search entries corrects this, but this does not persist appliance reboots.