Oracle® Solaris Cluster Data Service for Oracle WebLogic Server Guide

Exit Print View

Updated: July 2014, E39648–01
 
 

How to Register and Configure HA for WebLogic Server Managed Servers (clsetup)

These instructions assume that you are at the WebLogic Server Configuration list of options for configuring Oracle Solaris Cluster HA for WebLogic Server in the clsetup utility.

Use this procedure to configure HA for WebLogic Server Managed Servers, using the clsetup utility. The utility starts a wizard to guide you through the creation of resource groups and resources for the Managed Server instances. The Managed Servers can be configured either in failover or multi-instance mode.


Note -  If you want to configure the Managed Server instances in multi-master mode, you must use the procedure in How to Register and Configure HA for WebLogic Server as a Multi-Master Data Service (CLI). The clsetup wizards do not yet support multi-master configuration.

Before You Begin

You must perform the steps in How to Register and Configure the HA for WebLogic Server as an Administration Server (clsetup) before configuring Managed Servers.

  1. In the WebLogic Server Configuration panel, type the number for the Managed Servers option, and press Return.

    The Verify Prerequisites screen lists the tasks that you should have already performed before you continue.

  2. Press Return to continue if all the prerequisites have been met.

    The utility prompts you to enter the location of the domain.

  3. Type the full path to the WebLogic domain directory and press Return.

    Type the complete path to the domain directory.

    The utility prompts you to enter the location of the WebLogic home directory.

  4. Specify the WebLogic home directory by doing one of the following:
    • Type the number of a directory in the list and press Return.
    • Type e and press Return, type the full path to the WebLogic home directory that you want to use, and press Return.

      The directory you specify must be accessible from each cluster node.

  5. Specify the full path to the start script for the WebLogic server and press Return.

    The clsetup utility supplies the default path to the script found in the WebLogic domain directory. You can press Return to accept this value or type a new path and press Return.

    The clsetup utility prompts for the path to the WebLogic Server environment file.

  6. Type the path to the WebLogic Server environment file and press Return.

    You can accept the default by pressing Return, or enter a new name. The environment file is typically $WEBLOGIC_HOME/server/bin/setWLSEnv.sh if WebLogic Server is configured through the installation wizard.

    The clsetup utility validates the environment file, then prompts you to specify a configuration mode.

  7. Type the number that corresponds to the configuration mode for the Managed Servers and press Return.
    • Failover mode

      In failover mode, the WebLogic Server Managed Server instance runs on only a single node. If the fault monitor detects an error, it restarts the instance on the same node or starts an instance on another cluster node that is configured to master the WebLogic data service.

    • Multi-instance mode

      In multi-instance mode, one WebLogic Managed Server instance runs on the cluster node that is the primary node of the Managed Server's logical host. With this type of configuration there could be any number of Managed Server instances.

    See Standard Data Service Configurations for more information about configuration modes.

    The clsetup utility displays a list of Managed Servers that you can configure.

  8. Type the numbers for the Managed Servers you want to configure and press Return.
    • For failover mode, you can specify one number.
    • For multi-instance mode, you can specify multiple numbers separated with spaces or commas.

    The clsetup utility displays logical hostname resources that are available for the specified Managed Server.

  9. Type the number of the logical hostname resource you want to use for the Managed Server and press Return.

    The logical host name resource you choose is configured as the host for the Managed Server resource that is created. The Managed Server resource has a resource dependency on the logical hostname resource. The Managed Server selected will be configured on the same resource group where the selected logical host exists, in failover mode.

    In multi-instance mode, for each selected instance one logical hostname resource should be selected. You can select the same logical hostname resource for multiple Managed Server instances. A new resource and resource group will be created for each Managed Server instance.

    The clsetup utility prompts you to specify the optional monitoring URI. This URI can be used by the Fault Monitor to test the functionality of the Oracle WebLogic Server by doing an HTTP GET on the URI.

  10. Specify the optional monitoring URI as follows:
    • If you do not want to use a monitoring URI, press Return.
    • If you want to use a monitoring URI, type one or more URIs in the form http://path/to/monitor with commas separating multiple URIs, then press Return.

    The URIs will be validated against the configured logical host resources when the resource is created.

    The clsetup utility then displays the server URI value.

  11. If you want to change the value of the server URI used for the Managed Server, type the new value and press Enter.

    In failover mode, the clsetup utility supplies the default server URI value for the selected Managed Server. You can press Return to accept this value or type a new value and press Return.

    In multi-instance mode, a default server URI value is provided for each of the selected instances. You can press Return to accept this value or type a new value and press Return.

    The clsetup utility then displays highly available storage resources.

  12. Type the number of the storage resource to use for the Managed Server and press Return.

    The storage resources must contain the WebLogic home and domain directory.

    The storage resources displayed should be based on the WebLogic home directory value you specified earlier, but if clsetup cannot find any, all configured storage resources on the selected cluster are displayed instead.

    You can select one from the list, or proceed without selecting anything by typing d and pressing Return.

  13. Specify the highly available storage resources:
    • Type the number of the storage resource you want to use and press Return.
    • Press Return if no highly available storage resources are present.
    • Press d without making a selection to skip the storage resource selection.
  14. Review the configuration information in the review panel.

    The review panel shows the values for all the properties associated with the Managed Servers.

    • If the configuration information is correct and you do not want to change anything, type c to create the configuration.
    • Optionally, to edit the names of the Managed Server resources, type the number for Managed Server Resource and press Return.

      A new panel is displayed where you can then edit the Managed Server resource names one at a time, then type d when you are done.

      The utility displays a summary of the information that will be used to create the configuration for the WebLogic Managed Server instance for your review. You cannot edit any of the values here.

  15. Press Return to create the configuration.

    The clsetup utility displays the list of commands that are invoked on the cluster and also shows a status message indicating a success or failure. In the event that the configuration fails, a rollback is attempted.

  16. Press Return to exit the wizard for configuring the Managed Server.

    The clsetup utility returns to the WebLogic Server Configuration screen.

    Continue to the next procedure for Reverse Proxy Server configuration.