Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for DNS Guide Oracle Solaris Cluster 4.0 |
1. Installing and Configuring Oracle Solaris Cluster HA for DNS
Overview of the Installation and Configuration Process for Oracle Solaris Cluster HA for DNS
Installing the Oracle Solaris Cluster HA for DNS Package
How to Install the Oracle Solaris Cluster HA for DNS Package
Registering and Configuring Oracle Solaris Cluster HA for DNS
Setting Oracle Solaris Cluster HA for DNS Extension Properties
How to Register and Configure Oracle Solaris Cluster HA for DNS
Verifying Data Service Installation and Configuration
Tuning the Oracle Solaris Cluster HA for DNS Fault Monitor
Operations by the Fault Monitor During a Probe
This section describes the steps to install DNS and to enable DNS to run as Oracle Solaris Cluster HA for DNS.
Oracle Solaris Cluster HA for DNS uses the Internet Domain Name Server (named) software that is bundled with the Oracle Solaris 11 operating system. See the named(1M) man page for information about how to set up DNS. The Oracle Solaris Cluster configuration involves the following differences.
The DNS database is located on the cluster file system, not a local file system.
A network resource (relocatable IP address), not the name of a physical host, identifies the name of a DNS server.
This section describes how to install the DNS.
This name should be an IP address (logical hostname) that you set up when you install the Oracle Solaris Cluster software. See the Oracle Solaris Cluster Concepts Guide document for details about network resources.
The DNS executable is bundled with the Oracle Solaris 11 operating system. Ensure that this executable is located in the /usr/sbin directory before you begin the installation.
See the Oracle Solaris Cluster Software Installation Guide for information on how to set up cluster file systems.
# mkdir -p /global/dns/named
If you have already installed DNS, you can copy the existing named.conf or named.boot file to the /global/dns directory. Otherwise, create a named.conf file in this directory. See the named(1M) man page for information on the types of entries to place in named.conf or named.boot. Either the named.conf file or the named.boot file must exist. Both files can exist.
On all of the nodes or zones, edit the /etc/resolv.conf file to contain the network resource. The following example shows the entries for a four-node configuration (phys-schost-1, phys-schost-2, phys-schost-3, and phys-schost-4) with the logical hostname schost-1.eng.com.
domain eng.com ; schost-1.eng.com (Only entry to be added if the file is already present.) nameserver 192.29.72.90 ; phys-schost-2.eng nameserver 129.146.1.151 ; phys-schost-3.eng nameserver 129.146.1.152 ; phys-schost-4.eng nameserver 129.144.134.19 ; phys-schost-1.eng nameserver 129.144.1.57
Make the network resource the first entry after the domain name. DNS attempts to use the addresses in the order that they are listed in the resolv.conf file to access the server.
Note - If the /etc/resolv.conf is already present on the nodes or zones, just add the first entry that shows the logical hostname in the preceding example. The order of the entries determines the order in which DNS tries to access the server.
In the following example, perform these steps.
Replace the IPaddress variable with your actual IP address, such as 129.146.87.53.
Replace the logical-hostname variable with your actual network resource (logical hostname).
127.0.0.1 localhost IPaddress logical-hostname
Example:
hosts: cluster files dns
The following example shows how to test DNS.
# /usr/sbin/named -c /global/dns/named.conf # nslookup phys-schost-1
Be sure to stop the named executable before you proceed.
# pkill -x named
Next Steps
If you installed the Oracle Solaris Cluster HA for DNS packages during your Oracle Solaris Cluster installation, go to Registering and Configuring Oracle Solaris Cluster HA for DNS. Otherwise, go to Installing the Oracle Solaris Cluster HA for DNS Package.