Oracle® Solaris Cluster Data Service for Oracle WebLogic Server Guide

Exit Print View

Updated: July 2014, E39648–01
 
 

How to Install WebLogic Server


Note - This procedure is based on the configuration that is described in Simple Configuration. If you are planning a different configuration, you must configure the WebLogic Server accordingly.
  1. Follow the WebLogic Server documentation to install the WebLogic Server on the global file system or a failover file system.
  2. Follow the WebLogic Server Administration Guide to configure the WebLogic Domain.

    Note - For failover services, type the logical host name or its IP address when configuring the WebLogic Servers.

    For multi-master configurations, ensure that each Managed Server is configured to listen on each logical hostname or its IP address.


  3. After completing all necessary configuration for the domain, shut down the Administration Server.
  4. Edit the Administration Server START script and the Managed Server START script by setting the WLS_USER and WLS_PW.

    The START scripts should be able to run without any arguments.


    Note - To perform a smooth shutdown of the WebLogic Server, the boot.properties file with a valid user name and password is required. You do not need to set the WLS_USER and WLS_PW variables for a smooth shutdown if the boot.properties file is available. This waiver applies only to WebLogic Server 8.1 or later versions.

    Note -  Starting with WebLogic Server version 10.3, the boot.properties file must reside in both the $DOMAIN_DIR and $DOMAIN_DIR/servers/server-name/security directories to bypass the need to prompt for user credentials when starting and stopping instances of WebLogic Server. If the $DOMAIN_DIR/servers/server-name/security directory does not exist or does not include a boot.properties file, create the directory and copy the boot.properties file from the $DOMAIN_DIR. For more information about the boot.properties file for WebLogic Server version 12c, see http://docs.oracle.com/middleware/1212/wls/index.html.
  5. In the Managed Server START script, set the ADMIN_URL and the SERVER_NAME variables.

    This script should be able to run without any arguments.

  6. Set the necessary environment variables in the setWLSEnv.sh or the startWLS.sh scripts.

    These environment variables include any additional CLASSPATH or LD_LIBRARY_PATH, etc. These scripts contain all necessary environmental variables such as CLASSPATH and LD_LIBRARY_PATH.


    Note - Starting with WebLogic Server version 10.3, the startWLS.sh script has been removed. Therefore, these environment settings must be made only in the setWLSEnv.sh script.
  7. For versions of WebLogic Server before 10.3, verify that the config.xml file is in the same directory as the START scripts.
  8. For a multi-master configuration of WebLogic Server installed on a local file system, replicate the domain and Managed Servers across the cluster.
    1. Use the pack.sh command to create a template of the domain and Managed Servers that you created.
    2. Copy the template to other Oracle Solaris Cluster nodes.
    3. Use the unpack.sh command to unpack the template to create the domain and Managed Servers.

    For more information, see http://docs.oracle.com/middleware/1212/wls/START/overview.htm#START112.