Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Service for Oracle WebLogic Server Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Installing and Configuring the WebLogic Server Application

This section contains the procedures that you need to install and configure the WebLogic Server application.

## 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 10.3, see http://download.oracle.com/docs/cd/E12840_01/wls/docs103/server_start/overview.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://download.oracle.com/docs/cd/E12840_01/wls/docs103/server_start/overview.html.

### Installing a Database

If you are using a database with WebLogic Server, install the database by using its installation documentation. If the database that you are using has a highly available agent on Oracle Solaris Cluster, install that version.

### Installing a Web Server

If you are using a web server with WebLogic Server, install the web server by using its installation documentation. If the web server that you are using has a highly available agent on Oracle Solaris Cluster, install that version.

Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices |