Oracle® Solaris Cluster Data Service for Oracle WebLogic Server Guide

Exit Print View

Updated: July 2014, E39648–01
 
 

How to Register and Configure the HA for WebLogic Server as an Administration Server (clsetup)

Use this procedure to configure the HA for WebLogic Server for an Administration Server.

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


Note -  Before you start the HA for WebLogic Server, if you are using a database, check that your database is accessible.

Before You Begin

You must complete How to Configure Storage Resources for HA for WebLogic Server (clsetup) before beginning this task.

  1. In the WebLogic Server Configuration panel, type the number for configuring the Administration Server and press Return.

    The utility displays information for you to verify the prerequisites that must be met before you try to configure the Administration Server.

  2. Press Return to continue.

    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 clsetup utility validates the path and then displays a panel for you to specify the WebLogic home directory location. The utility finds the home directory that is associated with the WebLogic domain that you entered, and displays this directory in the list.

  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.

  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 displays available logical host resources.

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

    The logical hostname resource you choose is configured as the host for the Administration Server resource that is created. The Administration Server resource has a resource dependency on the logical hostname resource and an offline restart dependency on the storage resource. Both resources are configured in the same failover resource group.

    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.

  8. 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.

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

    The clsetup utility supplies the default server URI value found in the WebLogic domain directory. 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.

  10. Type the number of the storage resource to use for the Administration 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.

  11. Review the configuration information in the review panel for all the properties associated with the Administration Server.
    • Press Return to continue if the information is correct.
    • If necessary, you can edit the names of the Administration Server resources here by typing the numbers for these items from the list and pressing Return.
    • Type < to return to the wizard steps if you need to change any other information.

    After you press Return, the utility displays a summary of the information that will be used to create the configuration for the WebLogic Administration Server for your review. You cannot edit any of the values here except by typing < to return to the step where the value is specified.

  12. Type c and press Return to create the configuration.

    The 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.

  13. Press Return to exit the wizard for configuring the Administration Server.

    The clsetup utility returns to the WebLogic Server Configuration screen.

    Continue to How to Register and Configure HA for WebLogic Server Managed Servers (clsetup) if you want to configure Managed Servers now.

  14. (Optional) Press Ctrl+D and type yes to exit the wizard, and then type q and press Return two times to quit the clsetup utility.