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.
-
SSH into Teradata Viewpoint and extract the DNS servers and search domains.
-
Extract the DNS servers:
# grep "NETCONFIG_DNS_STATIC_SERVERS" /etc/sysconfig/network/config
Sample output:
NETCONFIG_DNS_STATIC_SERVERS="153.64.251.200 153.65.8.10" -
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"
-
Extract the DNS servers:
# grep "NETCONFIG_DNS_STATIC_SERVERS" /etc/sysconfig/network/config
-
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.
-
Extract the DNS servers.
# grep "NETCONFIG_DNS_STATIC_SERVERS" /etc/sysconfig/network/config
Sample output:
NETCONFIG_DNS_STATIC_SERVERS="153.64.251.200"Notice if 153.65.8.10 is missing from Teradata Viewpoint.
- Add any missing servers. # sed -i "s/^NETCONFIG_DNS_STATIC_SERVERS=.*$/NETCONFIG_DNS_STATIC_SERVERS=\"153.64.251.200 153.65.8.10\"/" /etc/sysconfig/network/config
-
If you added a server, verify it is now there.
# grep "NETCONFIG_DNS_STATIC_SERVERS" /etc/sysconfig/network/config
Sample output:
NETCONFIG_DNS_STATIC_SERVERS="153.64.251.200 153.65.8.10" -
Extract the DNS search domains.
# grep "NETCONFIG_DNS_STATIC_SEARCHLIST" /etc/sysconfig/network/config
Sample output:
NETCONFIG_DNS_STATIC_SEARCHLIST="labs.teradata.comNotice if td.teradata.com and teradata.com are missing from Teradata Viewpoint.
- 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
-
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" - Apply the change. /sbin/netconfig update -f
-
Extract the DNS servers.
# grep "NETCONFIG_DNS_STATIC_SERVERS" /etc/sysconfig/network/config
-
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 10.25.23.170, use the following syntax:
# grep system1cop* /etc/hosts | ssh root@10.25.23.170 'cat >> /etc/hosts'