When Aria Operations is initially deployed, the only name resolution settings that can be configured are the DNS servers to be queried.
These steps provide a method for changing the DNS servers as well as adding a default domain and a search domain.
Before choosing Option 1 or Option 2, check for the DNS settings in the
vApp Options , and update them if they exist.
If you do not see vApp Options, proceed with
Option 1 or
Option 2 .
Kindly note there are different steps for
Aria Operations 8.14.x and newer releases.
- Log into the vRealize Operations admin UI as admin.
- Click the Take Offline button to bring the cluster offline, and wait until the button returns to Bring Online.
- Log into the vSphere Web UI as administrator.
- Perform a Guest Shutdown on each vRealize Operations node you wish to update the DNS settings on.
- Right Click the node and click Edit Settings.
- Click VM Options.
- Expand Networking Properties.
- Edit the DNS IP address, using a comma to separate if 2 IP addresses will be used.
- Click OK to close the Edit Settings window.
- Repeat steps 4-9 on all other nodes you with to update the DNS settings on.
- Power on the vRealize Operations node(s).
- Log into the vRealize Operations admin UI as admin.
- Click the Bring Online button to bring the cluster online.
Note: In the HTML5 vSphere Client, vami.DNS.vRealize_Operations_Manager_Appliance can be changed by right clicking the VM, navigating to Configure -> vApp Options -> Properties -> vami.DNS.vRealize_Operations_Manager_Appliance -> SET VALUE
- Log into the primary node as root via SSH or Console.
- Issue the following command to update the DNS settings:
/opt/vmware/share/vami/vami_set_dns -d domain -s searchpath DNS_Server_1 DNS_Server_2
Note: Replace domain, searchpath, DNS_Server_1, DNS_Server_2 with the correct values.
The domain, searchpath, and second DNS Server are optional and can be skipped.
Example: The following command will only set a domain and one DNS server:
/opt/vmware/share/vami/vami_set_dns -d vcloud.local 192.168.1.7
The following command will set all fields:
/opt/vmware/share/vami/vami_set_dns -d vcloud.local -s vcloud.local 192.168.1.7 192.168.1.8
- Repeat steps 1 and 2 on all desired nodes.
- Verify the changes in /etc/resolv.conf. If the changes are not reflected, manually add the DNS information in the below format:
nameserver DNS_Server_1
nameserver DNS_Server_2
search searchpath
Note: Replace searchpath, DNS_Server_1, DNS_Server_2 with the correct values.
The searchpath, and second DNS Server are optional and can be skipped.
- Verify the DNS changes by running the following command:
resolvectl status
- Log into the primary node as root via SSH or Console.
- Run the following command to open the Network vami menu:
/opt/vmware/share/vami/vami_config_net
- Type 4 and press Enter to configure DNS.
- Enter the values for DNS Server 1, DNS Server 2 (optional), Domain Name (optional), and Search Path (space separated) (optional), pressing Enter after each value.
- Type 1 and press Enter to view the current configuration, and verify it is correct.
- Type 0 and press Enter to exit the Network vami config.
- Using a text editor, verify the changes in /etc/resolv.conf. If the changes are not reflected, manually add the DNS information in the below format:
nameserver DNS_Server_1
nameserver DNS_Server_2
search searchpath
Note: Replace searchpath, DNS_Server_1, DNS_Server_2 with the correct values.
The searchpath, and second DNS Server are optional and can be skipped.
- Repeat steps 1-7 on all desired nodes
- Verify the DNS changes by running the following command:
resolvectl status
Please note the below steps:
-
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:
-
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-6 on all other nodes in the Aria Operations cluster one by one.