How to update Aria Automation DNS property "Domain Search Path "
search cancel

How to update Aria Automation DNS property "Domain Search Path "

book

Article ID: 370826

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

In case you need to update the additional DNS properties like 

DNS property "domains" is mapped as key "vami.domain.vRealize_Automation" in /opt/vmware/etc/vami/ovfEnv.xml

DNS property "domain search" is mapped as key "vami.searchpath.vRealize_Automation" in /opt/vmware/etc/vami/ovfEnv.xml 

Cause

All DNS appliance properties is set during the initial Aria Automation deployment search, domains are set during initial appliance deployment

After the deployment, we can change the DNS servers using vracli command as per documentation 

Update the DNS assignment for VMware Aria Automation

Example:

vracli network dns set --servers DNS1,DNS2

But this does not change the other DNS properties like: domain and domain search, to update those you need to follow the steps from the Resolution section.

 

Resolution

In order to update and validate the DNS properties like: Domain Search Path, please follow the steps:

  1. Login to the Aria Appliance console or ssh as root and stop services, run command /opt/scripts/deploy.sh --onlyClean
  2. Shutdown guest OS using LCM or vSphere VMware tools
  3. Update OVF in vCenter for all appliances
  4. Start all Aria Appliances
  5. Check /opt/vmware/etc/vami/ovfEnv.xml, it should reflect the changes done in vCenter, if not you need to manually update the file using VI client.
  6. Update the Domains section in /etc/systemd/resolved.conf
  7. Reboot the appliances (reboot process will apply those changes into /etc/resolv.conf of VRA and kube-system coredns)
  8. After reboot run deploy.sh /opt/scripts/deploy.sh