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.x (formerly vRealize Log Insight)

Resolution

Please note there are separate steps, depending on which version you are running:

Aria Operations for Logs 8.10 - 8.12

  1. Select the Aria Operations for Logs VM in the vSphere Web Client and selecting Actions -> Power -> Shut Down Guest OS, shut down the guest OS gracefully
  2. Go to the Configure tab, choose vApp Options from Settings drop down. Under Properties, select the key starting with vami.DNS that describes Domain Name Servers.
  3. Click to SET VALUE, enter the new NameServers (whitespace separated, not commas) and click ok.
    (example: x.x.x.x y.y.y.y)
  4. From Actions -> Power -> Power On, power on the VM
  5. SSH to that node with the root account
  6. Open the VAMI network configuration utility by running the following command
    /opt/vmware/share/vami/vami_config_net
Type 4 and then Enter to configure the DNS settings
  • At the DNS Server 1 prompt, enter your first new DNS server and press Enter.
  • At the DNS Server 2 (optional) prompt, enter your second new DNS server and press Enter.
  • At the Domain Name (optional) prompt, either enter your domain name or press Enter to skip.
  • At the Search Path (optional) prompt, either enter your search path or press Enter to skip
  1. On the Main Menu, type 0 and press Enter to verify the current configuration
  • Confirm that the values have changed to what you applied in step 6
    > DNS Servers: DNSServer1, DNSServer2
  • Type 1 and press Enter to exit the VAMI network configuration utility
  1. Verify the updated DNS configuration by viewing the /etc/resolv.conf file:
    cat /etc/resolv.conf
       > nameserver DNSServer1
       > nameserver DNSServer2
  2. Repeat steps 1-8 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 NodeName (ILB) where NodeName is the IP or FQDN of the node. 
 

Aria Operations for Logs 8.14:

  1. Select the VMware Aria Operations for Logs VM in the vSphere Web Client and click Power > Shut Down Guest OS
  2. Navigate to the Configure tab, choose vApp Options from Settings drop down. Under Properties, select the key starting with vami.DNS that describes Domain Name Servers.
  3. Click SET VALUE, enter the new NameServers (whitespace separated, not commas) and click OK.
    (example: x.x.x.x y.y.y.y)
  4. From Power > Power On, power on the VM
  5. SSH to the node as root
  6. Backup the resolved.conf file using the command
cp /etc/systemd/resolved.conf /etc/systemd/resolved.conf.bak
  1. Using a text editor, edit the resolved.conf file to change the DNS addresses under the [Resolve] section
Example: DNS=<nameserver1> <nameserver2>
Note:  Replace the nameserver1 and nameserver2 with your new DNS addresses
  1. Save and exit the file
  2. Restart the systemd-resolved service to apply the changes
systemctl restart systemd-resolved
  1. Verify the updated DNS configuration by viewing the /etc/resolv.conf file:
cat /etc/resolv.conf
  1. Repeat steps 1-10 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 NodeName (ILB) where NodeName is the IP or FQDN of the node. 
 

Aria Operations for Logs 8.16-8.18.1

  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. Locate the line(s) that start DNS=
  4. Update the DNS server IP addresses(es)

    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
    DNS=10.1.1.253
    DNS=10.1.1.254
  5. Save the file and exit

    :wq

  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 NodeName (ILB) where NodeName is the IP or FQDN of the node.