Sun Cluster 3.0 Data Services Installation and Configuration Guide

How to Configure and Activate Network Resources

To perform this procedure, you need the following information about your configuration:

Perform this procedure on any cluster member.

  1. Become superuser on a node in the cluster.

  2. Verify that all network addresses that you are using have been added to your name service database.

    You should have done this verification as part of the Sun Cluster installation. For details, see the planning chapter in the Sun Cluster 3.0 Installation Guide.


    Note -

    To avoid any failures because of name service lookup, ensure that all logical host names and shared addresses are present in the /etc/hosts file on all cluster nodes. Configure name service mapping in /etc/nsswitch.conf on the servers to first check the local files before trying to access NIS, NIS+, or DNS.


  3. Create a failover resource group to hold the network and application resources.


    # scrgadm -a -g resource-group-name [-h nodelist]
    -g resource-group-name

    Specifies the name of the resource group. This name can be your choice.

    -h nodelist

    Specifies an optional comma-separated list of physical node names or IDs that identify potential masters. The order here determines the order in which the nodes are considered as primary during failover.


    Note -

    Use -h to specify the order of the node list. If all the nodes in the cluster are potential masters, you need not use the -h option.


  4. Add logical host name resources to the resource group.


    # scrgadm -a -L -g resource-group-name -l hostname, ...
    
    -L

    Specifies a logical host name resource is being added.

    -g resource-group-name

    Specifies the name of the resource group.

    -l hostname, ...

    Specifies a comma-separated list of logical host names.

  5. Verify that all logical host names that you are using have been added to your name service database.

    You should have done this verification as part of the Sun Cluster installation. For details, see the planning chapter in the Sun Cluster 3.0 Installation Guide.

  6. Enable the resource group and bring it online.


    # scswitch -Z -g resource-group-name
    
    -Z

    Moves the resource group to the managed state and brings it online.

    -g resource-group-name

    Specifies the name of the resource group.

Where to Go from Here

After the network resources have been configured and activated, proceed to install and configure Netscape Directory Server by using the procedure in the next section, "Installing and Configuring Netscape Directory Server".