Please note there are separate steps, depending on which version you are running:
Aria Operations for Logs 8.10 - 8.12
- 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
- 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.
- Click to SET VALUE, enter the new NameServers (whitespace separated, not commas) and click ok.
(example: x.x.x.x y.y.y.y)
- From Actions -> Power -> Power On, power on the VM
- SSH to that node with the root account
- 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
- 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
- Verify the updated DNS configuration by viewing the /etc/resolv.conf file:
cat /etc/resolv.conf
> nameserver DNSServer1
> nameserver DNSServer2
- 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:
- Select the VMware Aria Operations for Logs VM in the vSphere Web Client and click Power > Shut Down Guest OS
- 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.
- Click SET VALUE, enter the new NameServers (whitespace separated, not commas) and click OK.
(example: x.x.x.x y.y.y.y)
- From Power > Power On, power on the VM
- SSH to the node as root
- Backup the resolved.conf file using the command
cp /etc/systemd/resolved.conf /etc/systemd/resolved.conf.bak
- 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
- Save and exit the file
- Restart the systemd-resolved service to apply the changes
systemctl restart systemd-resolved
- Verify the updated DNS configuration by viewing the /etc/resolv.conf file:
cat /etc/resolv.conf
- 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
- Log in to the primary node as root via SSH or vSphere console.
- Open the network configuration file for editing.
vi /etc/systemd/network/10-eth0.network
- Locate the line(s) that start DNS=
- 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
- Save the file and exit
:wq
- Restart services for changes to apply
systemctl restart systemd-networkd
systemctl restart systemd-resolved
- 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.