Modifying the DNS settings of Aria Operations for Logs
search cancel

Modifying the DNS settings of Aria Operations for Logs

book

Article ID: 315960

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to modify the domain name system resolution settings of the Aria Operations for Logs Virtual Appliance.
 

Environment

VMware Aria Operations for Logs 8.18.x

Resolution

    1. Log in to the primary node as root via SSH or vSphere console.

    2. Open the network configuration file for editing.

      vi /etc/systemd/network/10-eth0.network

    3. Update the DNS server IP addresses(es) on the lines beginning with DNS=
      (If no lines start with DNS=, add them within the [Network] section).  To modify the search domain append the domain to the Domains= setting.  If the line doesn't exist add the setting above the DNS settings like the example.

      Note: Aria Operations for Logs does not support using more than 2 DNS servers

      To use 2 DNS servers, there should be 2 lines in the 10-eth0.network file starting with DNS=

      Example

      [Match]
      Name=eth0
      
      [Network]
      Address=10.1.1.100/24
      Gateway=10.1.1.1
      Domains=<search domain> DNS=10.1.1.253 DNS=10.1.1.254


    4. Save the file and exit

      :wq


    5. Delete legacy entries from resolved.conf

      sed -i '/^DNS=.*/d' /etc/systemd/resolved.conf
      Note: If you are trying to change a "Domain Search" settings; you may also need to use vi to remove the entries from "Domains" within the resolved.conf file, manually

    6. Restart services for changes to apply

      systemctl restart systemd-networkd
      systemctl restart systemd-resolved


    7. Repeat steps 1-6 on all other nodes in the Aria Operations for Logs cluster one by one, performing the steps on the node with the ILB present last

      Note: The node with the ILB can be determined from the Administration -> Cluster page and will show as Node Name (ILB) where Node Name is the IP or FQDN of the node. 
    8. To make the changes effective, please follow the sequence for powering off and powering on the Aria Operations for Logs nodes:

      Power Off Sequence:

      1. Power off the Worker Node(s)

      2. Power off the Primary Node

      Power On Sequence:

      1. Power on the Primary Node

      2. Power on the Worker Node(s)