Go to main content

Oracle® Solaris Cluster Data Service for Oracle WebLogic Server Guide

Exit Print View

Updated: August 2018
 
 

How to Configure Logical Host Resources for HA for WebLogic Server (clsetup)

Use this procedure to configure logical hostname resources for HA for WebLogic Server.

Before You Begin

    Before you run clsetup, ensure that the following tasks have been performed:

  • An entry for each logical hostname that is to be made available by the resource is added to the name service database.

  • If you are using PNM objects, the objects are configured on the nodes where the logical hostname resource can be brought online. Public network management (PNM) objects include Internet Protocol network multipathing (IPMP) groups, trunk and datalink multipathing (DLMP) link aggregations, and VNICs that are directly backed by link aggregations.

  • WebLogic Server software and agent packages are installed on the nodes of the cluster as mentioned in Installing and Configuring the HA for WebLogic Server Application.

  • Volumes, disk groups, and file systems are created.

  • The WebLogic domain, the Administration Server, and Managed Server instances are created with the WebLogic config.sh script.

Have available the logical hostnames that you plan to add to the resource group.

  1. Assume the root role on any cluster node.
  2. Start the clsetup utility.
    # clsetup

    The clsetup main menu is displayed.

  3. Type the number for Data Services.

    The Data Services menu is displayed.

  4. Type the number for WebLogic Server.

    The clsetup utility displays a list of WebLogic Server locations.

  5. Select the Global Cluster or Zone Cluster by typing the number that corresponds to the WebLogic Server location.

    If you specified a Zone Cluster, the clsetup utility displays a list of zone clusters.

    If you specified a Global Cluster, the clsetup utility displays a list of tasks you need to complete. Continue to Step 7.

  6. If you specified a Zone Cluster, type the number that corresponds to the zone cluster where you want to configure the WebLogic server.

    The WebLogic Server Configuration wizard displays a list of tasks you need to complete to create necessary resources.

  7. Type the number for Logical Hostnames.

    The prerequisites for logical hostname configuration are displayed.

  8. Verify the prerequisites have been met.

    If you are configuring in a zone cluster, the zone cluster nodes are displayed.

    If you are configuring in a global cluster, a list of global cluster nodes is displayed.

  9. Select the nodes where you want HA for WebLogic Server to run.
    • To accept the default selection of all listed nodes in an arbitrary order, type a.
    • To select a subset of the listed nodes, type the numbers of the nodes with a space or comma between the numbers.

      Ensure that the nodes are listed in the order in which the nodes are to appear in the resource group's node list. The first node in the list is the primary node of this resource group.

    • To select all nodes in a particular order, type the numbers of the nodes in the order you want with a space or comma between the numbers.

      Ensure that the nodes are listed in the order in which the nodes are to appear in the resource group's node list.

  10. To confirm your selection of nodes, type d.

    The clsetup utility displays a screen where you can specify the logical hostname that the resource is to make available for the first node in the resource group.

  11. Type the logical hostname.

    The panel is re-displayed for each node that you added to the resource group, and you must type a unique name for each node.

  12. When you have provided each node with a logical hostname, press Return.
    • If more than one PNM object is configured for the specified logical hostname, the clsetup utility provides a screen where you can specify the PNM objects to use.

      Proceed to Step 13.

    • If only one PNM object is configured for the specified logical hostname, the clsetup utility lists the names of the Oracle Solaris Cluster objects that the utility will create.

      Skip to Step 14.

  13. Select from the list of available PNM objects one object for each cluster node.

    The clsetup utility displays a review panel showing the resources and resource groups that are about to be created.

  14. In the review panel, do one of the following:
    • To confirm creation of the resource groups, type d.
    • To change the names of any resources or groups, type the number of the item in the list.

      The clsetup utility displays a new panel for changing the names. You can type the number for the name you want to change, and the utility prompts you to change the name.

      Type d to confirm the new names.

    The utility displays the Review Configuration of Logical Hostname Resources panel to display the resource name, resource group name, node list, and logical hostname that will be created.

  15. To create the configuration, type c.

    When configuration is complete, the clsetup utility displays the commands that it ran to create the configuration.


    Note -  The clsetup utility will roll back the changes if it fails to complete the logical host configuration process.
  16. Press Return to continue.

    The clsetup utility returns you to the list of options for configuring the HA for WebLogic Server.

    Continue to the next task, How to Configure Storage Resources for HA for WebLogic Server (clsetup).