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 name resolution settings of the Aria Operations for Logs (formerly vRealize Log Insight) Virtual Appliance.
 


Environment

VMware vRealize Log Insight 8.x

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) and click ok.
  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) and click OK.
  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.