Skip Headers
Oracle® Fusion Applications Enterprise Deployment Guide
11g Release 1 (11.1.2)

Part Number E16684-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

5 Scaling Out Oracle HTTP Server

The first Oracle HTTP Server was configured during the provisioning process (see Chapter 4). This chapter describes how to scale out Oracle HTTP Server for additional hosts.

This chapter includes the following topics:

5.1 Performing the Scaleout

To scale out Oracle HTTP Server:

  1. Reboot WEBHOST2 to start the scaleout from a clean machine.

    Note:

    WEBHOST2 and WEBHOST1 should be identical machines.

  2. Create the directory ORACLE_BASE/repository/installers with the same user that installed Oracle HTTP Server on WEBHOST1.

  3. Copy or ftp the installers from WEBHOST1 to WEBHOST2:

    WEBHOST1> ORACLE_BASE/repository/installers/webgate
    

    to

    WEBHOST2> ORACLE_BASE/repository/installers
    
    WEBHOST1> ORACLE_BASE/repository/installers/webtier
    

    to

    WEBHOST2> ORACLE_BASE/repository/installers
    
    WEBHOST1> ORACLE_BASE/repository/installers/webtier_patchset
    

    to

    WEBHOST2> ORACLE_BASE/repository/installers
    
  4. Run the following command to install Oracle Web Tier on WEBHOST2:

    ORACLE_BASE/repository/installers/webtier/Disk1/runInstaller
    

    The Oracle Fusion Middleware 11g Oracle Web Tier Utilities Configuration Welcome window opens.

  5. Click Next to start the installation.

    The Select Installation Type window, shown in Figure 5-1, opens.

    Figure 5-1 Select Installation Type Window

    Select Installation Type Window
  6. Select Install Software - Do Not Configure and click Next.

    The Prerequisite Checks window, shown in Figure 5-2, opens.

    Figure 5-2 Prerequisite Checks Window

    Prerequisite Checks Window

    Click Next. The Specify Installation Location window, shown in Figure 5-3, opens.

    Figure 5-3 Specify Installation Location Window

    Specify Installation Location Window

    Select the path to Oracle Middleware Home and enter a name for the home directory. For example, /u01/oracle/products/webtier_mwhome/. Click Next.

  7. In the Specify Security Updates window, shown in Figure 5-4, do the following:

    • Enter an email address

    • Indicate that you wish to receive security updates from My Oracle Support

    • Enter your My Oracle Support password

    Figure 5-4 Specify Security Updates Window

    Surrounding text describes Figure 5-4 .

    Click Next. The Installation Summary window, shown in Figure 5-5, opens.

    Figure 5-5 Installation Summary Window

    Installation Summary Window
  8. Click Install. The Installation Progress window, shown in Figure 5-6, opens.

    Figure 5-6 Installation Progress Window

    Installation Progress Window

    Click Next when the installation has finished. The Installation Complete window, shown in Figure 5-7, opens.

    Figure 5-7 Installation Complete Window

    Installation Complete Window

    Click Finish.

  9. Run the following command to install the Oracle Web Tier patchset on WEBHOST2:

    ORACLE_BASE/repository/installers/webtier_patchset/Disk1/runInstaller
    

    The Oracle Fusion Middleware 11g Webtier Patchset Installation Welcome window displays. Click Next to being the installation.

    The Specify Installation Location window, shown in Figure 5-8, opens.

    Figure 5-8 Specify Installation Location Window (Patchset)

    Specify Install Location Window (Patchset)
  10. Select the path to Oracle Middleware Home and enter a name for the home directory. For example, /u01/oracle/products/webtier_mwhome/. Click Next.

    In the Specify Security Updates window, shown in Figure 5-9, do the following:

    • Enter an email address

    • Indicate that you wish to receive security updates from My Oracle Support

    • Enter your My Oracle Support password

    Figure 5-9 Specify Security Updates Window (Patchset)

    Security Updates Window (Patchset)
  11. Click Next. The Installation Summary Window, shown in Figure 5-10, opens.

    Figure 5-10 Installation Summary Window (Patchset)

    Install Summary Window (Patchset)
  12. Click Install. The Installation Progress window, shown in Figure 5-11, opens.

    Figure 5-11 Installation Progress Window (Patchset)

    Install Progress Window (Patchset)
  13. Click Next when the installation has finished. The Installation Complete window, shown in Figure 5-12, opens.

    Figure 5-12 Installation Complete Window (Patchset)

    Install Complete Window (Patchset)
  14. Click Finish.

  15. View the directory structure that has been created:

    cd ORACLE_BASE/products/webtier_mwhome
    
  16. Begin configuring the Oracle Web Tier components:

    cd ORACLE_BASE/products/webtier_mwhome/webtier/bin
    
    run ./config.sh
    

    The Configure Components window, shown in Figure 5-13, opens.

    Figure 5-13 Configure Components Window

    Configure Components Window
  17. Select Oracle HTTP Server and Associate Selected Components with WebLogic Domain.

  18. Click Next. The Specify WebLogic Domain window, shown in Figure 5-14, opens.

    Figure 5-14 Specify WebLogic Domain Window

    Specify WebLogic Domain Window
  19. Enter the following:

    • a domain host name; for example, CRMHOST1

    • a domain port number; for example, COMMONHOST ADMIN PORT

    • your CommonDomain Administration Server user name

    • your CommonDomainAdministration Server password

    Note:

    Associate Oracle HTTP Server with the CommonDomain that Provisioning installed in Chapter 4.

  20. Click Next. The Specify Component Details window, shown in Figure 5-15, opens.

    Figure 5-15 Specify Component Details Window

    Specify Component Details Window
  21. Do the following:

    • Select the instance home location; for example, /u01/oracle/config/CommonDomain_webtier1

    • Enter the instance name; for example, CommonDomain_webtier1

    • Enter the Oracle HTTP Server component name; for example ohs1

  22. Click Next. The Configure Ports window, shown in Figure 5-16, opens.

    Figure 5-16 Configure Ports Window (1)

    Configure Ports Window (1)
  23. Select Specify Ports using Configuration file and click View/Edit.

    In the text field that displays, shown in Figure 5-17, enter Oracle HTTP Server port = 7001.

    Figure 5-17 Configure Ports Window (2)

    Configure Ports Window (2)

    Click Save and then click Next.

    The Specify Security Updates window, shown in Figure 5-18, opens.

    Figure 5-18 Specify Security Updates

    Surrounding text describes Figure 5-18 .
  24. Do the following:

    • Enter an email address

    • Indicate that you wish to receive security updates from My Oracle Support

    • Enter your My Oracle Support password

  25. Click Next. The Installation Summary window, shown in Figure 5-19, opens.

    Figure 5-19 Installation Summary Window

    Installation Summary Window
  26. Click Configure to install the configuration. The Configuration Progress window, shown in Figure 5-20, opens.

    Figure 5-20 Configuration Progress Window

    Surrounding text describes Figure 5-20 .
  27. Click Next.

    When the installation completes, the Installation Complete window, shown in Figure 5-21, opens.

    Figure 5-21 Installation Complete Window

    Installation Complete Window
  28. Click Finish.

  29. Copy or ftp the FusionVirtualHost files from WEBHOST1 to WEBHOST2:

    WEBHOST1> ORACLE_BASE/config/CommonDomain_webtier/config/OHS/ohs1/moduleconf 
    

    to

    WEBHOST2> ORACLE_BASE/config/CommonDomain_webtier1/config/OHS/ohs1/moduleconf/
    
  30. After the copy, change all WEBHOST1 entries in the .conf files to WEBHOST2.

  31. Restart the Oracle HTTP Server instance:

    WEBHOST2> cd ORACLE_BASE/config/CommonDomain_webtier1/bin
    
    WEBHOST2> ./opmnctl stopall
    WEBHOST2> ./opmnctl startall
    
  32. From ORACLE_BASE/repository/installers/webgate, start the WebGate installation:

    run ./Oracle_Access_Manager10_1_4_3_0_linux64_OHS11g_WebGate -gui
    
  33. When the Welcome window opens, click Next. The Customer Information window, shown in Figure 5-22, opens.

    Figure 5-22 Customer Information Window

    Customer Information Window
  34. Enter the necessary information and click Next. The Installation Directory window, shown in Figure 5-23, opens.

    Figure 5-23 Installation Directory Window

    Installation Directory Window
  35. Enter a destination name and click Next. The Destination Confirmation window, shown in Figure 5-24, opens.

    Figure 5-24 Destination Confirmation Window

    Destination Confirmation Window
  36. Click Next to start configuring WebGate. The window shown in Figure 5-25 opens.

    Figure 5-25 WebGate Configuration (1)

    WebGate Configuration (1)
  37. Enter the location for the GCC runtime libraries and click Next. Following an interim window, the one shown in Figure 5-26 opens.

    Figure 5-26 WebGate Configuration (2)

    WebGate Configuration (2)
  38. Select Simple Mode and click Next. The window shown in Figure 5-27 opens.

    Figure 5-27 WebGate Configuration (3)

    WebGate Configuration (3)

    Note:

    AccessServer ID, Host name where an Access Server is installed, Port number the Access Server listens to, and Global Access Protocol Pass Phrase need to be obtained from the Oracle Identity Manager stack install.

    Note:

    The password provided for the WebGate should be same as the one in the provisioning plan.

  39. Enter the necessary information and click Next. Following an interim window, the one shown in Figure 5-28 opens.

    Figure 5-28 WebGate Configuration (4)

    WebGate Configuration (4)
  40. Select Yes and click Next. The Configure Web Server window, shown in Figure 5-29, opens.

    Figure 5-29 Configure WebServer Window

    Configure WebServer Window
  41. Browse for an absolute path or enter one, and click Next. A warning window, shown in Figure 5-30, opens.

    Figure 5-30 WebGate Configuration Window (5)

    WebGate Configuration Window (5)
  42. Click Next and restart the WebServer, as described in Step 31. The window shown in Figure 5-31 opens after the WebServer has been restarted.

    Figure 5-31 WebServer Configuration (6)

    WebServer Configuration (6)
  43. Click Next. The window shown in Figure 5-32 opens.

    Figure 5-32 WebServer Configuration (7)

    WebServer Configuration (7)
  44. Select an option and click Next. An informational window, shown in Figure 5-33, opens.

    Figure 5-33 WebServer Configuration (8)

    WebServer Configuration (8)
  45. Click Next. Another informational window, shown in Figure 5-34, opens.

    Figure 5-34 WebServer Configuration (9)

    Surrounding text describes Figure 5-34 .
  46. Click Next. A window indicating that the installation was successful opens. Figure 5-35 shows this window.

    Figure 5-35 WebServer Configuration Window (10)

    WebServer Configuration Window (10)
  47. Click Finish. WebGate has now been installed.

5.2 Installing WebGate Patches

If WebGate patches need to be installed, do the following:

  1. Change directory to ORACLE_BASE/repository/installers/webgate/ext/Oracle_Access_Manager10_1_4_3_0_B10_Patch_linux64_OHS11g_WebGate_binary_parameter.

  2. Run the following command, specifying the directory where webgate/access is installed:

    ./patchinst
    
  3. Install all the patches in the ORACLE_BASE/repository/installers/webgate/ext directory.

After you install the patches, perform Step 31 to restart the WebServer. Oracle HTTP Server scaleout is complete. WEBHOST1 and WEBHOST2 should now behave identically.

5.3 Wiring Oracle HTTP Server with Load Balancer

Configure your load balancer to route all HTTP requests to the hosts running Oracle HTTP Server, that is, WEBHOST1 and WEBHOST2.

You do not need to enable sticky session (insert cookie) on the load balancer when Oracle HTTP Server is the front end to Oracle WebLogic Server. You need sticky session if you are going directly from the load balancer to Oracle WebLogic Server, which is not the case in the topology described in this guide.

You also must set Monitors for HTTP.

5.4 Validating Oracle HTTP Server on WEBHOST2

To validate once the installation is complete:

  1. Check that it is possible to access the Oracle HTTP Server home page using the following URLs:

    • http://webhost1.mycompany.com:10601

    • http://webhost2.mycompany.com:7777

  2. Stop WEBHOST1:

    WEBHOST1> cd /u01/oracle/config/CommonDomain_webtier/bin
    
    WEBHOST1> ./opmnctl stopall
    
  3. Access the following URLs to ensure that the Administration console is visible:

    • http://crminternal.mycompany.com:7777/console

    • http://hcminternal.mycompany.com:7777/console

    • http://scminternal.mycompany.com:7777/console

    • http://commoninternal.mycompany.com:7777/console

    • http://biinternal.mycompany.com:7777/console

  4. Access the following URLs to ensure that the Oracle Fusion Applications login screen is visible:

    • https://crmexternal.mycompany.com/sales/faces/mooOpportunityHome

    • https://crmexternal.mycompany.com/crmPerformance/faces/TerritoriesMain

    • https://crmexternal.mycompany.com/contractManagement/faces/ContractsDashboard

    • https://crmexternal.mycompany.com/customer/faces/CustomerCtrWorkarea

  5. Run the following commands:

    WEBHOST1> cd /u01/oracle/config/CommonDomain_webtier/bin
     
    WEBHOST1> ./opmnctl startall