Sun Cluster Data Service for Sun Java System Message Queue Guide for Solaris OS

Configuring and Activating Network Resources

Before you install and configure the Sun Java System 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.

ProcedureHow to Configure and Activate Network Resources

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

  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify and solaris.cluster.modify RBAC 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 Sun 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-zone-list] resource-group
    
    resource-group

    Specifies the name of the 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.

  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 IP Networking Multipathing groups that are on each node or zone. 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, Sun Cluster attempts to create the required IPMP groups.

    node

    Specifies the name or ID of a node. To specify the global zone, or to specify a node without non-global zones, 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 –

    Sun 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 resource-group
    
    resource-group

    Specifies the name of the resource group.