Sun Cluster 2.2 Software Installation Guide

/etc/nsswitch.conf File Entries

You must modify the /etc/nsswitch.conf file to ensure that "services," "group," and "hosts" lookups are always directed to the /etc files. This is done as part of the Sun Cluster installation described in Chapter 3, Installing and Configuring Sun Cluster Software.

The following shows an example /etc/nsswitch.conf file using NIS+ as the name service:


services: files nisplus

This entry must be before other services entries. Refer to the nsswitch.conf(4) man page for more information.

You must update /etc/nsswitch.conf manually, but you can use the Cluster Console to update all nodes simultaneously. Refer to the chapter on Sun Cluster Administration Tools in the Sun Cluster 2.2 System Administration Guide for more information about the Cluster Console.