Problem Summary: Sun Cluster HA for NFS requires files [SUCCESS=return] for the hosts lookup entry in the /etc/nsswitch.conf file, and requires that all cluster private IP addresses be present in the /etc/inet/hosts file on all cluster nodes.
Otherwise, Sun Cluster HA for NFS will not be able to fail over correctly in the presence of public network failures.
Workaround: Perform the following steps on each node of the cluster.
Modify the hosts entry in the /etc/nsswitch.conf file so that, upon success in resolving a name locally, it returns success immediately and does not contact NIS or DNS.
hosts: cluster files [SUCCESS=return] nis dns |
Add entries for all cluster private IP addresses to the /etc/inet/hosts file.
You only need to list the IP addresses plumbed on the physical private interfaces in the /etc/nsswitch.conf and /etc/inet/hosts files. The logical IP addresses are already resolvable through the cluster nsswitch library.
To list the physical private IP addresses, run the following command on any cluster node.
% grep ip_address /etc/cluster/ccr/infrastructure |
Each IP address in this list must be assigned a unique hostname that does not conflict with any other hostname in the domain.
Sun Cluster software already requires that any HA IP addresses (LogicalHostname/SharedAddresses) be present in /etc/inet/hosts on all cluster nodes and that files is listed before nis or dns. The additional requirements mandated by this bug are to list [SUCCESS=return] after files and to list all cluster private IP addresses in the /etc/inet/hosts file.