Go to main content

Oracle® Solaris Cluster Data Service for Oracle GlassFish Server Message Queue Guide

Exit Print View

Updated: September 2015
 
 

Configuring and Activating Network Resources

Before you install and configure Oracle GlassFish Message Queue, set up the network resources that the service uses after installation and configuration. To configure and activate the network resources, use the following command-line procedure.

How to Configure and Activate Network Resources

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

  • The names of the cluster nodes that can master the data service.

  • The network resource that clients use to access Oracle GlassFish Message Queue. Normally, you set up this hostname when you install the cluster. See the Oracle Solaris Cluster 4.3 Concepts Guide for details on network resources.

  1. On a cluster member, assume the root role or become an administrator that provides solaris.cluster.modify and solaris.cluster.modify authorization.
  2. Verify that all of the network addresses that you use have been added to your name service database.

    You should have performed this verification during the Oracle Solaris Cluster installation.


    Note - To avoid name service look-up failures, ensure that all of the logical hostnames are present in the /etc/inet/hosts file on all the cluster nodes. Configure name service mapping in the /etc/nsswitch.conf file on the servers to check the local files before trying to access NIS, NIS+, or DNS.
  3. Create a failover resource group to contain the network and application resources.
    # clresourcegroup create [-n node-list] resource-group
    resource-group

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

    [–n node-list]

    Specifies a comma-separated, ordered list of nodes that can master this resource group. The format of each entry in the list is node. In this format, node specifies the node name.

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

  4. Add network resources to the resource group.

    Use the following command to add a logical hostname to a resource group.

    # clreslogicalhostname create -g resource-group [-h hostname, …] [-N netiflist] lhresource
    –g resource-group

    Specifies the name of the resource group.

    –h hostname, …

    Specifies a comma-separated list of network resources.

    –N netiflist

    Specifies an optional, comma-separated list that identifies the IPMP groups that are on each node. The format of each entry in the list is netif@node. The replaceable items in this format are as follows:

    netif

    Specifies an IPMP group name, such as sc_ipmp0, or a public network interface card (NIC). If you specify a public NIC, Oracle Solaris Cluster attempts to create the required IPMP groups.

    node

    Specifies the name or ID of a node. To specify the global zone, specify only node.


    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.

    Note - Oracle Solaris Cluster does not currently support the use of the adapter name for netif.
  5. Run the clresourcegroup command to enable the resource group and bring the resource group online.
    # clresourcegroup online -eM resource-group
    resource-group

    Specifies the name of the resource group.