Sun Cluster 3.0 Data Services Installation and Configuration Guide

Example-Registering Failover Sun Cluster HA for DNS

The following example shows how to register Sun Cluster HA for DNS on a two- node cluster. Note that at the end, the scswitch command starts the Sun Cluster HA for DNS data service.


Cluster Information
Node names: phys-schost-1, phys-schost-2
Logical hostname: schost-1
Resource group: lh-schost-1 (for all resources),  
Resources: schost-1 (logical hostname),	dns-1 (DNS application resource) 
 
(Register the DNS resource type)
# scrgadm -a -t SUNW.dns
 
(Add the resource group to contain all resources.)
# scrgadm -a -g lh-schost-1
 
(Add the logical host name resource to the resource group.)
# scrgadm -a -L -g lh-schost-1 -l schost-1 
 
(Add DNS application resources to the resource group.)
# scrgadm -a -j dns-1 -g lh-schost-1 -t SUNW.dns \
-y Network_resources_used=schost-1 -y Port_list=53/udp \
-x DNS_mode=conf -x Confdir_list=/global/dns
 
(Bring the failover resource group online.)
 
# scswitch -Z -g lh-schost-1