Sun Cluster Data Service for Sun Java System Application Server Guide for Solaris OS

ProcedureHow to Configure and Activate Network Resources

To enable the components in Sun Java System Application Server to run in Sun Cluster, you must set up the network resources for those components.

  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify and solaris.cluster.admin RBAC authorization.

  2. Create a failover resource group to contain the DAS application resources and the network resource that DAS uses.

    The failover IP address is the network resource for the DAS resource.


    # clresourcegroup create [-n node-zone-list] DAS-resource-group 
    
    DAS-resource-group

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

    [-n node-zone-list]

    Specifies a comma-separated, ordered list of zones that can master this resource group. The format of each entry in the list is node. In this format, node specifies the node name and zone specifies the name of a non-global Solaris zone. To specify the global zone, or to specify a node without non-global zones, specify only node.

    This list is optional. If you omit this list, the global zone of each cluster node can master the resource group.

  3. Add the network resource to the DAS resource group.

    Use the following command to add the failover IP address to the DAS resource group.


    # clreslogicalhostname create -g DAS-resource-group -h IP-address IP-address
    
    -g DAS-resource-group

    Specifies the name of the DAS resource group.

    -h IP-address

    Specifies the failover IP address that is the network resource in this resource group.


    Note –

    If you require a fully qualified hostname, you must specify the fully qualified name with the -h option and you cannot use the fully qualified form in the resource name.


  4. Bring online the DAS resource group.

    Bringing online this resource group enables the failover IP address resource for DAS.


    # clresourcegroup online DAS-resource-group
    
    DAS-resource-group

    Specifies the name of the DAS resource group.

  5. Create resource groups for the Node Agents and the network resources that the Node Agents use.

    To create a failover resource group for Node Agent, run the following command.


    # clresourcegroup create [-n node-zone-list NA-resource-group]
  6. Add the failover logical host name to the resource group.


    # clreslogicalhostname create -g NA-resource-group -h logical-hostname logical-hostname
    

    Note –

    If you require a fully qualified hostname, you must specify the fully qualified name with the -h option and you cannot use the fully qualified form in the resource name.


  7. Bring online the Node Agents resource groups.

    Bringing online these resource groups enables the failover logical host resources for the Node Agents.


    # clresourcegroup online NA-resource-group