Service manual
Setting Up Network Resources
174 Sun ONE Directory Server Installation and Tuning Guide • June 2003
2. Verify that all network addressesyou use havebeen added to thename service
database.
To avoid failures during name service lookup, ensure as well that all fully
qualified domain names, fully qualified logical host names and shared IP
addresses are present in the
/etc/hosts file on each cluster node. Also
configure nameservice mapping in
/etc/nsswitch.conf oneach clusternode
to check local files first before trying to access other name services.
3. Create a failover resource group to hold network and application resources.
For example:
# scrgadm -a -g resource-group [-h node-list]
Here resource-group specifies the name of the group.
The optional node-list is a comma-separated list of physical node names or IDs
identifyingpotential master nodes forthe cluster.Theorderofthe node names
determines the order in which the nodes are considered as primary during
failover. If all nodes in the cluster are potential masters, it is not necessary to
specify the node-list.
4. Add logical host name resources to the resource group.
# scrgadm -a -L -g resource-group -l logical-host-names [-n netif-list]
Here logical-host-names is a comma-separated list of fully qualified domain
names used as logical host names. You use one logical host name per Directory
Server instance.
The optional netif-list is a comma-separated list identifying the NAFO groups
on each node. If you do not specify this option,
scrgadm(1M) attempts to
discover a network adapter on the subnet used by each logical host name
specified on each node in node-list specified in Step 3.
5. Verify that all fully qualified domain names specified as logical host names in
Step 4 have been added to the name service database.
6. Enable the resource group and bring itonline.
# scswitch -Z -g resource-group
With the resource group online, you may install the servers.