6 Installing the Software for an Enterprise Deployment

This chapter describes the software installations required for the enterprise deployment reference topology for Oracle SOA. You install Oracle HTTP Server and then Oracle Fusion Middleware.

This chapter contains the following sections:

6.1 Overview of the Software Installation Process

The enterprise deployment software installation is divided into two parts. The first part covers the required web tier installations, while the second part addresses the required Fusion Middleware (FMW) components. Later chapters describe the required configuration steps to create the reference topology for Oracle SOA.

Obtaining the Software

For information about where to obtain the software, See "Obtain the Oracle Fusion Middleware Software" in the Oracle Fusion Middleware Installation Planning Guide for information on where to obtain the software.

Select one of the download locations and download "SOA Suite." The .zip archive file is saved to your system.

After you download the archive file, extract the archive file into a directory of your choice on the machine where you are performing the installation.

Software to Install

Table 6-1 shows what software should be installed on each host or be accessible from each host.

Table 6-1 Software To Be Installed On Each Host or Accessible From Each Host

Hosts Oracle HTTP Server Oracle WebLogic Server Oracle SOA Suite

WEBHOST1

X

   

WEBHOST2

X

   

SOAHOST1

 

X

X

SOAHOST2

 

X

X

WCCHOST1

 

X

X

WCCHOST2

 

X

X


6.2 Installing Oracle HTTP Server

This section covers these topics:

6.2.1 Prerequisites to Installing Oracle HTTP Server

Prior to installing Oracle HTTP Server (OHS), check that your machines meet the following requirements:

  • Ensure that the system, patch, kernel, and other requirements are met as specified in the Oracle Fusion Middleware Installation Guide for Oracle Web Tier.

  • Because Oracle HTTP Server is installed on port 7777 by default, you must make sure that port 7777 is not used by any service on the nodes. To check if this port is in use, run the following command before installing Oracle

    e HTTP Server:

    netstat -an | grep 7777
    

    You must free port 7777 if it is in use.

  • On Linux platforms, if the /etc/oraInst.loc file exists, check that its contents are correct. Specifically, check that the inventory directory is correct and that you have write permissions for that directory. If the /etc/oraInst.loc file does not exist, you can skip this step.

  • Before starting the installation, make sure that the following environment variables are not set:

    • LD_ASSUME_KERNEL

    • ORACLE_INSTANCE

6.2.2 Installing Oracle HTTP Server on WEBHOST1 and WEBHOST2

When you install Oracle HTTP Server, you are installing the Web Tier and NOT associating it with a domain. However, you do need to create a MW_HOME directory for the Web tier, even though it is not associated with a domain.

As described in Chapter 4, "Preparing the File System for an Enterprise Deployment," you install Oracle Fusion Middleware in at least two storage locations for redundancy.

  1. Start the installer for Oracle HTTP Server from the installation media:

    ./runInstaller
    
  2. In the Specify Inventory Directory screen, do the following:

    1. Enter HOME/oraInventory, where HOME is the home directory of the user performing the installation (this is the recommended location).

    2. Enter the OS group for the user performing the installation.

    3. Click Next.

    4. Follow the instructions on screen to execute /createCentralInventory.sh as root.

    Click OK.

  3. In the Welcome screen, click Next.

  4. In the Select Installation Type screen, select Install - Do Not Configure, and click Next.

  5. In the Prerequisite Checks screen, verify that all checks complete successfully, and click Next.

  6. In the Specify Installation Location screen, create a MW_HOME that will contain your Web Tier home directory. You are creating two new directories. You are not selecting an existing directory. For this screen, enter the following:

    • Fusion Middleware Home Location (installation location): ORACLE_BASE/product/fmw

    • Oracle Home Location Directory: web

    Click Next.

  7. In the Specify Security Updates screen, choose whether you want to receive security updates from Oracle support and if you do, enter your e-mail address.

  8. In the Installation Summary screen, review the selections to ensure they are correct. If they are not, click Back to modify selections on previous screens. When you are ready, click Install.

    On UNIX systems, if prompted to run the oracleRoot.sh script, make sure you run it as the root user.

    The Oracle HTTP Server software is installed.

  9. In the Installation Completed screen, click Finish to exit.

6.2.3 Backing Up the Oracle Fusion Middleware Installation

The Fusion Middleware Home should be backed up now (make sure no server is running at this point):

WEBHOST1> tar -cvpf fmwhomeback.tar ORACLE_BASE/product/fmw HOME/oraInventory

6.3 Installing Oracle Fusion Middleware

This section describes how to install the required Oracle Fusion Middleware software for the enterprise deployment reference topology for Oracle SOA. The software components to be installed consist of the Oracle WebLogic Server Home (WL_HOME) and Oracle Home (ORACLE_HOME). As described in Chapter 4, "Preparing the File System for an Enterprise Deployment," you install Oracle Fusion Middleware in at least two storage locations for redundancy.

Note:

Before starting the setup process, read the release notes for additional installation and deployment information. They are available on the Oracle Fusion Middleware Documentation Library at http://download.oracle.com/docs/cd/E21764_01/relnotes.htm.

This section covers these topics:

6.3.1 Installing Oracle WebLogic Server and Creating the Fusion Middleware Home

To install Oracle WebLogic Server on SOAHOST1 and SOAHOST2:

Note:

If you are installing WebLogic Server on a 64-bit platform using a 64-bit JDK, follow the steps in section "Installing WebLogic Server on 64-Bit Platforms Using a 64-Bit JDK" in the Oracle Fusion Middleware Installation Guide for Oracle WebLogic Server instead of the steps in this section.

  1. Start the installer for Oracle WebLogic Server from the installation media:

    $ ./wls1036_linux32.bin
    
  2. In the Welcome screen, click Next.

  3. In the Choose Middleware Home Directory screen, do the following:

    • Select Create a new Middleware Home.

    • For Middleware Home Directory, enter ORACLE_BASE/product/fmw

    ORACLE_BASE is the base directory under which Oracle products are installed. The recommended value is /u01/app/oracle. See Section 4.3, "About Recommended Locations for the Different Directories" for more information.

    Click Next.

  4. In the Register for Security Updates screen, enter your contact information so that you can be notified of security updates, and click Next.

  5. In the Choose Install Type screen, select Custom, and click Next.

  6. In the Choose Products and Components screen, click Next.

  7. In the JDK Selection screen, select only Oracle JRockit 1.6.0_<version> SDK, and click Next.

  8. In the Choose Product Installation Directories screen, accept the directories ORACLE_BASE/product/fmw/wlserver_10.3 and ORACLE_BASE/product/fmw/coherence_3.7, and click Next.

  9. In the Installation Summary screen, click Next.

    The Oracle WebLogic Server software is installed.

  10. In the Installation Complete screen, clear the Run Quickstart check box and click Done.

  11. Validate the installation by verifying that the following directories and files appear in the ORACLE_HOME directory after installing Oracle WebLogic Server:

    • coherence_version

    • jrockit-jdkversion

    • modules

    • registry.xml

    • utils

    • domain-registry.xml

    • logs

    • ocm.rsp

    • registry.dat

    • wlserver_10.3

6.3.2 Installing Oracle Fusion Middleware SOA Suite

To install Oracle Fusion Middleware SOA Suite on SOAHOST1 and SOAHOST2:

  1. On Linux platforms, if the /etc/oraInst.loc file exists, check that its contents are correct. Specifically, check that the inventory directory is correct and that you have write permissions for that directory. If the /etc/oraInst.loc file does not exist, you can skip this step.

  2. Start the installer for Oracle Fusion Middleware SOA Suite from the installation media:

    ./runInstaller
    

    When the installer prompts you for a JRE/JDK location, enter the Oracle SDK location created in the Oracle WebLogic Server installation; for example, ORACLE_BASE/product/fmw/jrockit-jdk1.6.0_version. For more information, see Section 6.3.1, "Installing Oracle WebLogic Server and Creating the Fusion Middleware Home."

  3. In the Specify Inventory Directory screen, do the following:

    1. Enter HOME/oraInventory, where HOME is the home directory of the user performing the installation (this is the recommended location).

    2. Enter the OS group for the user performing the installation.

    3. Click OK.

    Follow the instructions on screen to execute /createCentralInventory.sh as root.

    Click OK.

    Note:

    The Specify Inventory Directory screen appears only on a UNIX operating system, for the first installation by Oracle Universal Installer. The installer uses the inventory directory to keep track of all Oracle products installed on the machine.

  4. In the Welcome screen, click Next.

  5. In the Install Software Updates screen, choose Skip Software Updates and click Next.

  6. In the Prerequisite Checks screen, verify that all checks complete successfully, and click OK.

  7. In the Specify Installation Location screen, provide the installation location for Oracle Fusion Middleware SOA Suite. Select the previously installed Oracle Middleware Home from the drop-down list. For the Oracle Home directory, enter the directory name (soa).

    Figure 6-1 Specify Installation Location Screen in Installer Wizard

    Description of Figure 6-1 follows
    Description of "Figure 6-1 Specify Installation Location Screen in Installer Wizard"

    Click Next when you are done.

  8. In the Application Server screen, select WebLogic Server and click Next.

  9. In the Installation Summary screen, click Install.

    The Oracle Fusion Middleware SOA Suite software is installed.

  10. In the Installation Complete screen, click Finish.

  11. Validate the installation by verifying that the following directories and files appear in the ORACLE_HOME directory after installing both Oracle WebLogic Sever and Oracle Fusion Middleware for SOA:

    • coherence_X.X

    • jrockit-jdkY.Y

    • modules

    • oracle_common

    • registry.xml

    • utils

    • domain-registry.xml

    • logs

    • ocm.rsp

    • registry.dat

    • soa

    • wlserver_10.3

6.3.3 Installing the Required Oracle Service Bus Binaries

To install Oracle Fusion Middleware Oracle Service Bus on SOAHOST1 and SOAHOST2:

  1. On Linux platforms, if the /etc/oraInst.loc file exists, check that its contents are correct. Specifically, check that the inventory directory is correct and that you have write permissions for that directory. If the /etc/oraInst.loc file does not exist, you can skip this step.

  2. Start the installer for Oracle Service Bus from the installation media:

    ./runInstaller
    

    When the installer prompts you for a JRE/JDK location, enter the Oracle SDK location created in the Oracle WebLogic Server installation; for example, ORACLE_BASE/product/fmw/jrockit-jdk1.6.0_version. For more information, see Section 6.3.1, "Installing Oracle WebLogic Server and Creating the Fusion Middleware Home."

  3. In the Welcome screen, click Next.

    Note:

    Since SOAHOST1 and SOAHOST2 already contain the SOA Suite Oracle Home, an Oracle Inventory should already be present and used by this installation hence the "Specify Inventory Directory screen" should not appear

  4. In the Install Software Updates screen, choose Skip Software Updates and click Next.

  5. In the Installation Location screen, provide the installation location for Oracle Service Bus. Select the previously installed Oracle Middleware Home from the drop-down list. For the Oracle Home directory, enter the directory name (osb). Click Next.

  6. In the Installation Type, select Custom and click Next.

  7. In the Components to Install screen, DESELECT Oracle Service Bus IDE and Oracle Service Bus Examples and click Next.

  8. In the Prerequisite Checks screen, verify that all checks complete successfully, and click OK.

  9. In the Product Home Location specify the WebLogic Server installation directory previously installed and click Next.

  10. In the Installation Summary screen, click Install.

  11. In the Product Home Location specify the WebLogic Server installation directory previously installed and click Next.

  12. In the Installation Summary screen, click Install.

  13. In the Installation Complete screen, click Finish.

  14. Validate the installation by verifying that the following directories appear in the ORACLE_HOME_OSB directory (under osb) after installing Oracle Service Bus:

    • 3rdparty

    • Common

    • Diagnostics

    • Install

    • Lib

    • oraInst.loc

    • soa

    • bin

    • config

    • financial

    • inventory

    • modules

    • osb

    • cfgtoollogs

    • dbscripts

    • harvester

    • L10N

    • OPatch

    • oui

  15. Repeat the steps in SOAHOST2

6.3.4 Backing Up the Fusion Middleware Installation

The Fusion Middleware Home should be backed up now (make sure that you stop the servers first). From SOHOAST1:

tar -cvpf fmwhomeback.tar ORACLE_BASE/product/fmw

This creates a backup of the installation files for both Oracle WebLogic Server and the Oracle Fusion Middleware components.