Refer to DNS documentation by using your AnswerBook software for how to set up DNS. The differences in a Sun Cluster configuration are:
The database is located on the multihost disks rather than on the private disks.
The DNS server is a logical host rather than a physical host.
Decide which logical host is to provide DNS service.
Choose a location on the logical host for the DNS database.
Place the named.boot file and the rest of the files constituting the database here. For example, /logicalhost/dns.
In the /etc/resolv.conf file on all Sun Cluster servers that will be running Sun Cluster HA for DNS, specify the IP address of the logical host providing DNS service.
In the /etc/nsswitch.conf file, add the string dns after files.
Make sure the logical host name for the HA-DNS server is present in the /etc/inet/hosts file on all cluster nodes.
Test DNS outside the Sun Cluster environment.
For example:
# cd /<logicalhost>/dns /usr/sbin/in.named -b /<logicalhost>/dns/named.boot # nslookup <physicalhost> |
Once you have installed and set up DNS, configure, register, and start Sun Cluster HA for DNS as described in "12.2 Installing and Configuring Sun Cluster HA for DNS".