03.00.00 - Resolving BAR Setup Connection Warnings - Teradata Database on VMware

Teradata Database on VMware Developer Tier Getting Started Guide

Teradata Database on VMware
June 2017
If you get a Connection to system unsuccessful warning message when adding a Teradata Database system in the BAR Setup portlet, the DSC vNode may not be able to resolve the Teradata Database COP entries. To resolve this issue, you can verify the servers and domains configured in Teradata Viewpoint are also configured in the DSC vNode.
  1. SSH into Teradata Viewpoint and extract the DNS servers and search domains.
    1. Extract the DNS servers: # grep "NETCONFIG_DNS_STATIC_SERVERS" /etc/sysconfig/network/config

      Sample output:

    2. Extract the DNS search domains: # grep "NETCONFIG_DNS_STATIC_SEARCHLIST" /etc/sysconfig/network/config

      Sample output:

      NETCONFIG_DNS_STATIC_SEARCHLIST="td.teradata.com teradata.com"
  2. SSH into the DSC vNode to check the DNS servers and search domains, and then add the servers and domains that are in Teradata Viewpoint.
    1. Extract the DNS servers. # grep "NETCONFIG_DNS_STATIC_SERVERS" /etc/sysconfig/network/config

      Sample output:


      Notice if is missing from Teradata Viewpoint.

    2. Add any missing servers. # sed -i "s/^NETCONFIG_DNS_STATIC_SERVERS=.*$/NETCONFIG_DNS_STATIC_SERVERS=\"\"/" /etc/sysconfig/network/config
    3. If you added a server, verify it is now there. # grep "NETCONFIG_DNS_STATIC_SERVERS" /etc/sysconfig/network/config

      Sample output:

    4. Extract the DNS search domains. # grep "NETCONFIG_DNS_STATIC_SEARCHLIST" /etc/sysconfig/network/config

      Sample output:


      Notice if td.teradata.com and teradata.com are missing from Teradata Viewpoint.

    5. Add any missing search domains. # sed -i "s/^NETCONFIG_DNS_STATIC_SEARCHLIST=.*$/NETCONFIG_DNS_STATIC_SEARCHLIST=\"labs.teradata.com td.teradata.com teradata.com\"/" /etc/sysconfig/network/config
    6. If you added a search domain, verify it is now there. # grep "NETCONFIG_DNS_STATIC_SEARCHLIST" /etc/sysconfig/network/config

      Sample output:

      NETCONFIG_DNS_STATIC_SEARCHLIST="labs.teradata.com td.teradata.com teradata.com"
    7. Apply the change. /sbin/netconfig update -f
    If the warning message continues, the DNS server may not contain any DNS record for the Teradata Database COP entries.
  3. Extract the Teradata Database COP entries from the hosts file in Teradata Viewpoint and append them to the hosts file in the DSC vNode using the following syntax: # grep TeradataSystemNamecop* /etc/hosts | ssh root@DSC_public_ip 'cat >> /etc/hosts'

    For example, if the TeradataSystemName is system1 and the public IP for the DSC vNode is, use the following syntax:

    # grep system1cop* /etc/hosts | ssh root@ 'cat >> /etc/hosts'