IBM Rational ClearCase services on an AIX server, even on the host system alone, are not responsive or report errors such as, cleartool: Error: unknown host '
Cleartool or multitool commands hang or time out with an error:
cleartool: Error: unknown host '<hostname>': Host not found"
multitool: Error: unknown host '<hostname>': Host not found"
The server is effectively down for all users. All client and administrative ClearCase functions hang or fail on AIX. Solaris or Linux servers may appear to be unaffected.
ClearCase is a network-aware application and depends highly on a robust and dependable network environment. Hostname resolution remains a key element in successful network communication over TCP/IP. When Domain Name System (DNS) services go down, hostname lookups will fail unless an alternate resolution path exists on the host system. ClearCase utilizes hostname lookups for a variety of critical functions including registry lookups, licensing, and VOB and view services. If hostnames cannot be resolved, ClearCase will cease to function properly, even on a standalone server.
Resolving The Problem
The impact from DNS outages can be mitigated by implementing alternate paths for hostname resolution, including local configuration files and name service caching. On AIX, the configuration file that prioritizes hostname lookup is /etc/netsvc.conf (or /etc/nsswitch.conf on Linux and Solaris). To ensure that hostnames are looked up locally first in the /etc/hosts file before going to an IPv4 DNS service, use the following hosts line on AIX:
Make sure that all ClearCase servers with static IP addresses are listed in the /etc/hosts, file for example:
You can also add a couple options to the /etc/resolv.conf file to control DNS timeouts. For example, the following options will reduce the DNS timeout to 1 second and will limit contact attempts to one for AIX:
More information about these configuration files and options can be found in the IBM AIX Information Center:
Name resolution tuning:
hosts File Format for TCP/IP:
resolv.conf File Format for TCP/IP:
The same problem might seem not to affect Solaris and Linux hosts where the name service cache daemon (nscd) is running. This daemon provides a cache for hostname lookups so servers where it is running might not begin to see lookup failures until the cache data has expired, depending on the local configuration. Prior to the introduction of netcd in AIX 6.1, such a service was not available on AIX. See the following reference for further guidance on enabling and configuring netcd:
How to configure network caching daemon (netcd) to cache DNS answers:
29 September 2018