Go to main content

Oracle® Solaris Cluster Data Service for Oracle WebLogic Server Guide

Exit Print View

Updated: July 2016
 
 

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

Any project you created to run Oracle WebLogic Server exists in the projects name service database for the user that runs that application. If no custom project is created for the application, the default project is used. For more information, see the projects(1) man page.

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

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

    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.

    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.
    • Type e, then type the full path to the WebLogic home directory that you want to use.

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

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

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

  6. Type the path to the WebLogic Server environment file.

    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 prompts you for the project to use.

  7. Type the option number to choose a listed project.

    If you did not create a project where WebLogic Server will run, select the default project. The clsetup utility displays available logical host resources.

  8. Type the number of the logical hostname resource you want to use for the Administration Server.

    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 WebLogic Server by doing an HTTP GET on the URI.

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

    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.

  10. 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 accept this value or type a new value.

    The clsetup utility then displays highly available storage resources.

  11. Type the number of the storage resource to use for the Administration Server.

    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.

  12. 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.
    • Type the < key 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 the < key to return to the step where the value is specified.

  13. Type c 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.

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

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