2 Installing Oracle Web Tier

This chapter describes how to install Oracle Web Tier Utilities Suite of products. During the install and configuration process, you will have the option to install and configure the following products:

Oracle Process Manager and Notification Server (OPMN) is installed and configured by default.

The following topics are covered:

2.1 System Requirements and Certification

Before performing any installation you should read the system requirements and certification documentation to ensure that your environment meets the minimum installation requirements for the products you are installing.

The system requirements document covers information such as hardware and software requirements, minimum disk space and memory requirements, and required system libraries, packages, or patches. This document can be found on Oracle Technology Network (OTN):

http://www.oracle.com/technology/software/products/ias/files/fusion_requirements.htm

The certification document covers supported installation types, platforms, operating systems, databases, JDKs, and third-party products:

http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html

2.2 Installing on DHCP Hosts

If you are installing Oracle Web Tier on a DHCP host, you must follow the configuration steps in this section for your platform.

2.2.1 For UNIX Platforms

On UNIX systems, configure the host to resolve hostnames to the loopback IP address by modifying the /etc/hosts file to contain the following entries:

127.0.0.1 hostname.domainname hostname
127.0.0.1 localhost.localdomain localhost

After doing so, check that the hostname resolves to the loopback IP address by entering the following command:

/bin/ping hostname.domainname

2.2.2 For Windows x86 Platforms

On Windows systems, install a loopback adapter on the DHCP server (see Section 2.2.3, "Installing a Loopback Adapter (Windows Only)"). This assigns a local IP address to your computer.

After installing the adapter, add a line to the %SYSTEMROOT%\system32\drivers\etc\hosts file with the following format, immediately after the localhost line:

IP_address   hostname.domainname   hostname

Replace IP_address with the local IP address of the loopback adapter.

2.2.3 Installing a Loopback Adapter (Windows Only)

To install a loopback adapter on Windows 2003 or Windows XP:

  1. Open the Windows Control Panel.

    Windows 2003: Select Start > Control Panel > Add Hardware.

    Windows XP: Select Start > Control Panel, then double-click Add Hardware.

  2. In the "Welcome" window, click Next.

  3. In the "Is the hardware connected?" window, select Yes, I have already connected the hardware, then click Next.

  4. In the "The following hardware is already installed on your computer" window, in the list of installed hardware, select Add a new hardware device, then click Next.

  5. In the "The wizard can help you install other hardware" window, select Install the hardware that I manually select from a list, then click Next.

  6. In the "From the list of hardware types, select the type of hardware you are installing" window, select Network adapters, then click Next.

  7. In the "Select Network Adapter" window, make the following selections:

    • Manufacturer: Microsoft

    • Network Adapter: Microsoft Loopback Adapter

  8. Click Next.

  9. In the "The wizard is ready to install your hardware" window, click Next.

  10. In the "Completing the Add Hardware Wizard" window, click Finish.

  11. If you are using Windows 2003, restart your computer.

  12. Right-click My Network Places on the desktop and choose Properties. This displays the Network Connections Control Panel.

  13. Right-click the connection that was just created. This is usually named "Local Area Connection 2". Choose Properties.

  14. On the "General" tab, select Internet Protocol (TCP/IP), then click Properties.

  15. In the "Properties" dialog box, click Use the following IP address and do the following:

    1. IP Address: Enter a non-routable IP for the loopback adapter. Oracle recommends the following non-routable addresses:

      192.168.x.x (x is any value between 1 and 255)
      10.10.10.10
      
    2. Subnet mask: Enter 255.255.255.0.

    3. Record the values you entered, which you will need later in this procedure.

    4. Leave all other fields empty.

    5. Click OK.

  16. In the "Local Area Connection 2 Properties" dialog, click OK.

  17. Close Network Connections.

  18. Restart the computer.

2.2.4 Removing a Loopback Adapter (Windows Only)

To remove a loopback adapter on Windows 2003 or Windows XP:

  1. Start the System Control panel.

    Windows 2003: Select Start > Control Panel > System.

    Windows XP: Select Start > Control Panel, then double-click System.

  2. In the "Hardware" tab, click Device Manager.

  3. In the "Device Manager" window, expand Network adapters. You should see Microsoft Loopback Adapter.

  4. Right-click Microsoft Loopback Adapter and select Uninstall.

  5. Click OK.

2.3 Installing on a Non-Networked Computer

You can install Oracle Portal, Forms, Reports and Discoverer on a non-networked computer, such as a laptop. Because a non-networked computer has no access to other computers, you have to install all the components that you need on the computer.

In addition, you must follow the instructions in Section 2.2, "Installing on DHCP Hosts" to install a loopback adapter and modify the hosts file on your system.

2.4 Installing on a Multihomed Computer

You can install Oracle Web Tier on a multihomed computer. A multihomed computer is associated with multiple IP addresses. This is typically achieved by having multiple network cards on the computer. Each IP address is associated with a host name; additionally, you can set up aliases for each hostname.

The installer picks up the fully qualified domain name from the first entry in /etc/hosts (on UNIX) or %SYSTEMROOT%\system32\drivers\etc\hosts (on Windows) file. So if your file looks like the following:

127.0.0.1 localhost.localdomain localhost
10.222.333.444 myhost1.mycompany.com myhost1
20.222.333.444 devhost2.mycompany.com devhost2

myhost1.mycompany.com would be picked for configuration.

For specific network configuration of a system component, refer to the individual component's configuration documentation.

2.5 Installation Instructions

This section contains information and instructions for installing Oracle Web Tier. The following topics are covered:

2.5.1 Installation Types

The Oracle Web Tier installer provides two installation options:

The Install and Configure option will install the product binaries in an Oracle Home directory and create and configure a working instance in an Oracle Instance directory. After this is complete, you should be able to begin configuring and managing your products using the Administration Console or Enterprise Manager.

Note:

For more information about Oracle Home and Oracle Instance directories, refer to "Installation Overview" in Oracle Fusion Middleware Installation Planning Guide.

For more information, refer to Section 2.5.5, "Installation Instructions for the "Install and Configure" Installation Type"

The Install Software - Do Not Configure option only installs the software binaries in an Oracle Home directory. You must then manually run the Configuration Tool from your Web_Tier_ORACLE_HOME/bin (for UNIX) or Web_Tier_ORACLE_HOME\bin (for Windows) directory to configure your products before you can use them. This option can be used to quickly create multiple instances of the software that share a common disk.

For more information, refer to Section 2.5.6, "Installation Instructions for the "Install Only" Installation Type"

2.5.2 Installation Log Files

The installer writes logs files to the Oracle_Inventory_Location/log (for UNIX) or Oracle_Inventory_Location\logs (for Windows) directory. On UNIX systems, if you do not know the location of your Oracle Inventory directory, you can find it in the Web_Tier_ORACLE_HOME/oraInst.loc file. On Windows systems, the default location for the inventory directory is C:\Program Files\Oracle\Inventory\logs.

The following install log files are written to the log directory:

  • installdate-time-stamp.log

  • installdate-time-stamp.out

  • installActionsdate-time-stamp.log

  • installProfiledate-time-stamp.log

  • oraInstalldate-time-stamp.err

  • oraInstalldate-time-stamp.log

If you start the installer with the -printtime parameter, the timeTakendate-time-stamp.log file is created in the same directory.

2.5.3 Starting the Installer

To start the installer, insert the CD-ROM and run the following command:

On UNIX:

% ./runInstaller

On Windows:

G:\ setup.exe

2.5.4 Inventory Screens (UNIX Only)

If you are installing on a UNIX system, and if this is the first time any Oracle product is being installed on your system with the Oracle Universal Installer, you will be asked to provide the location of an inventory directory. This is where the installer will set up subdirectories and maintain inventory data for each Oracle product that is installed on this system.

Follow the instructions in Table 2-1 to configure the inventory directory information. For more help, click on the screen name in the table below, or click the Help button in the GUI.

Table 2-1 Inventory Directory and Group Screens

No. Screen Description and Action Required

1

Specify Inventory Directory Screen (UNIX Only)

Specify the Oracle inventory directory and group permissions for that directory. The group must have write permissions to the Oracle inventory directory.

Click OK to continue.

2

Inventory Location Confirmation Screen (UNIX Only)

Run the createCentralInventory.sh script as root.

Click OK to continue.


2.5.5 Installation Instructions for the "Install and Configure" Installation Type

Follow the instructions in Table 2-2 to install and configure Oracle Web Tier.

Note:

Running the installer as root user is not supported.

If you need additional help with any of the installation screens, refer to Appendix A, "Oracle Web Tier Installation Screens" or click Help to access the online help.

Table 2-2 Install and Configure Flow

No. Screen When Does This Screen Appear? Description and Action Required

1

Welcome Screen

Always

Click Next to continue.

2

Select Installation Type Screen

Always

Select Install and Configure.

Click Next to continue.

3

Prerequisite Checks Screen

Always

Click Next to continue.

4

Specify Installation Location Screen

Always

Specify the Oracle Home directory.

Click Next to continue.

5

Configure Components Screen

Always

Select the component(s) you want to configure.

Click Next to continue.

6

Specify WebLogic Domain Screen

Only if Associate Selected Components with WebLogic Domain is selected on the Configure Components Screen.

Specify the credentials for your existing WebLogic domain.

Click Next to continue.

7

Specify Component Details Screen

Always

Specify the Oracle Instance location and names for your components.

Click Next to continue.

8

Web Cache Administrator Password Screen

If you selected Oracle Web Cache on the Configure Components Screen

Specify the password for your Oracle Web Cache administrator.

Click Next to continue.

9

Configure Ports Screen

Always

Select whether you want automatic or manual port configuration.

NOTE - If you choose to use the staticports.ini (or any custom port file), port numbers less than 1024 will not be validated by the installer. You will, however, be able to proceed with the installation.

See "Port Numbers" in Oracle Fusion Middleware Administrator's Guide for more information.

Click Next to continue.

10

Specify Oracle Configuration Manager Details Screen

Always

If you choose to configure Oracle Configuration Manager, provide your Email address to be informed of the latest product issues.

Click Next to continue.

11

Installation Summary Screen

Always

Verify the information on this screen.

Click Install to begin the installation.

12

Installation Progress Screen

Always

None.

13

Configuration Progress Screen

Always

None.

14

Install Completed Screen

Always

Click Save to save your configuration information to a file. This information includes port numbers, installation directories, URLs, and component names which you may need to access at a later time.

After saving your configuration information, click Finish to dismiss the installer.


2.5.6 Installation Instructions for the "Install Only" Installation Type

Follow the instructions in Table 2-3 to install Oracle Web Tier.

If you need additional help with any of the installation screens, refer to Appendix A, "Oracle Web Tier Installation Screens" or click Help to access the online help.

Table 2-3 Installation Flow for Install Only Option

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Select Installation Type Screen

Select Install Software - Do Not Configure.

Click Next to continue.

3

Prerequisite Checks Screen

Click Next to continue.

4

Specify Installation Location Screen

Specify the Oracle Home location. The Oracle Home location must be inside the Middleware Home directory.

Click Next to continue.

5

Specify Oracle Configuration Manager Details Screen

If you choose to configure Oracle Configuration Manager, provide your email address to be informed of the latest product issues.

Click Next to continue.

6

Installation Summary Screen

Verify the information on this screen.

Click Install to begin the installation.

7

Installation Progress Screen

Click Finish when the installation is completed to go to the next screen.

8

Install Completed Screen

Click Finish to dismiss the installer.


After the installation is complete, you must configure the components. This is done by running a separate configuration tool.

On UNIX systems:

Web_Tier_ORACLE_HOME/bin/config.sh

On Windows systems:

Web_Tier_ORACLE_HOME\bin\config.bat

Note:

Make sure the Oracle Web Tier installer is not running; running the installer and Configuration Tool concurrently is not supported.

After you have started the Configuration Tool, follow the instructions in Table 2-4.

Table 2-4 Configuration Flow

No. Screen When Does This Screen Appear? Description and Action Required

1

Welcome Screen

Always

Click Next to continue.

2

Configure Components Screen

Always

Select the component(s) you want to configure.

Click Next to continue.

3

Specify WebLogic Domain Screen

Only if Associate Selected Components with WebLogic Domain is selected on the Configure Components Screen.

Select whether you want to create a new domain or join an existing domain.

Click Next to continue.

4

Specify Component Details Screen

Always

Specify the Oracle Instance location and names for your components.

Click Next to continue.

5

Web Cache Administrator Password Screen

If you selected Oracle Web Cache on the Configure Components Screen

Specify the password for your Oracle Web Cache administrator.

Click Next to continue.

6

Configure Ports Screen

Always

Select whether you want automatic or manual port configuration.

NOTE - If you choose to use the staticports.ini (or any custom port file), port numbers less than 1024 will not be validated by the installer. You will, however, be able to proceed with the installation.

See "Port Numbers" in Oracle Fusion Middleware Administrator's Guide for more information.

Click Next to continue.

7

Specify Oracle Configuration Manager Details Screen

Always

If you choose to configure Oracle Configuration Manager, provide your email address to be informed of the latest product issues.

Click Next to continue.

8

Installation Summary Screen

Always

Verify the information on this screen.

Click Install to begin the installation.

9

Configuration Progress Screen

Always

None.

10

Install Completed Screen

Always

Click Save to save your configuration information to a file. This information includes port numbers, installation directories, URLs, and component names which you may need to access at a later time.

After saving your configuration information, click Finish to dismiss the installer.


2.6 Post-Installation Tasks

After installation and configuration are complete, there may be some post-installation tasks you need to perform, depending on your specific topology and configuration. The following topics are covered in this section:

2.6.1 Configuring Routing Between Oracle HTTP Server and Oracle WebLogic Server

By default, routing between Oracle HTTP Server and Oracle WebLogic Server is not configured. In order to allow requests to be proxied from Oracle HTTP Server to Oracle WebLogic Server, you must configure a plug-in.

For instructions on how to do this, see "mod_wl_ohs" in the Oracle Fusion Middleware Administrator's Guide for Oracle HTTP Server.

2.6.2 Using Oracle Web Cache with Oracle BAM

If you are using Oracle Web Cache with Oracle BAM, you must perform the configuration steps detailed in "Basic Tasks for Configuring and Monitoring Caching Rules" in Oracle Fusion Middleware Administrator's Guide for Oracle Web Cache.

Use the following Oracle BAM settings:

Expression Type : Regular Expression
URL Expression : oracle.bam.web (or Event=viewReport, for the second rule)
HTTP Methods : Select all
Leave URL and POST Body Parameters empty.
POST Body Expression : .*
Caching Policy : Don't Cache
Leave Comment as it is.
Compression : Off
Enabled : yes 

2.7 Verifying the Installation

You can perform any combination of the following tasks to verify that your installation was successful:

2.7.1 Verify the Installation Logs

Check for the presence of installation log files in logs directory inside your Oracle Inventory directory. On UNIX systems, if you do not know the location of your Oracle Inventory directory, you can find it in the WebTier_ORACLE_HOME/oraInst.loc file. On Windows systems, the default location for the inventory directory is C:\Program Files\Oracle\Inventory\logs.

2.7.2 Verifying the Domain Server Logs

Check the domain server logs, which are located in the servers directory inside the domain home directory. For example, on UNIX systems:

Web_Tier_ORACLE_HOME/user_projects/domains/domain_name/servers/server_name

On Windows systems:

Web_Tier_ORACLE_HOME\user_projects\domains\domain_name\servers\server_name

2.7.3 Verifying OPMN Status

Run the opmnctl status command from the INSTANCE_HOME/bin (for UNIX) or INSTANCE_HOME\bin (for Windows) directory in your instance home location. For example:

> ./opmnctl status

Processes in Instance: instance2
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status  
---------------------------------+--------------------+---------+---------
webcache1                        | WebCache-admin     |   24057 | Alive   
webcache1                        | WebCache           |   24056 | Alive   
ohs1                             | OHS                |   23890 | Alive   

This information shows the components configured for this installation. The status "Alive" means the component is up and running.

2.7.4 Check Browser URLs

Run the opmnctl status -l command from the INSTANCE_HOME/bin (for UNIX) or INSTANCE_HOME\bin (for Windows) directory in your instance home location to obtain a list of ports used by the components. For example:

> ./opmnctl status -l

---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
ias-component                    | process-type       |     pid | status   |        uid |  memused |    uptime | ports
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
webcache1                        | WebCache-admin     |   24057 | Alive    | 1067146469 |    43712 |  14:43:29 | http_admin:7799
webcache1                        | WebCache           |   24056 | Alive    | 1067146468 |    64072 |  14:43:29 | http_stat:7800,http_invalidation:7801,https_listen:7802,http_listen:7798
ohs1                             | OHS                |   23890 | Alive    | 1067146467 |    50260 |  14:43:39 | https:9999,https:4447,http:7777

Use the port numbers in this display to point your browser to the appropriate pages. Use the format:

http://system_name:port_number

Based on the information above, you would use the URLs in Table 2-5 to access the various pages from this configuration:

Table 2-5 Sample Web Tier URLs

Page Sample URL

Oracle HTTP Server

http://system_name:7777

Oracle HTTP Server SSL

https://system_name:4447

Oracle Web Cache

http://system_name:7798

Oracle Web Cache SSL

https://system_name:7802

Oracle Web Cache Administration

https://system_name:7799