Troubleshooting upgrade with aposDnsCheck

The aposDnsCheck tool is used automatically when running apupgrade, but it can also be run separately. The utility helps with diagnosing DNS issues during upgrade.

Procedure

Run the following command:
/opt/ibm/appliance/platform/apos-comms/tools/aposDnsCheck.py
The following parameters are checked:
  • Hostname
  • FQDN
  • Required additional records
Example output:
[root@system-node1 ~]# /opt/ibm/appliance/platform/apos-comms/tools/aposDnsCheck.py
Validating /opt/ibm/appliance/platform/apos-comms/customer_network_config/ansible/system.yml
Checking hostname
Hostname system-node1.mgt resolvable by DNS server 10.1.1.1
Hostname system-node1.mgt resolvable by DNS server 10.1.1.2
Trying to query base FQDN
Hostname system-app.customer.com resolvable by DNS server 10.1.1.1
Hostname system-app.customer.com resolvable by DNS server  10.1.1.2
Trying to query base wildcard entry for FQDN
Hostname icpd-system.system-app.customer.com resolvable by DNS server 10.1.1.1
Hostname icpd-system.system-app.customer.com resolvable by DNS server  10.1.1.2
Hostname icpd-zen.system-app.customer.com resolvable by DNS server 10.1.1.1
Hostname icpd-zen.system-app.customer.com resolvable by DNS server  10.1.1.2
Example pass:
Hostname system-node1.mgt resolvable by DNS server 10.1.1.1
Example fail:
DNS server <IP> appears reachable, but is missing DNS record <name>
If failures are detected, read Setting up a wildcard DNS entry, or Shared management network variables to ensure your settings are correct. You might need to perform some of the following procedures:
  • Change DNS servers to one that has the records.
  • Add the records.
  • Change the hostname to the one that has records.