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

Part Number E27364-02
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

6 Scaling Out Oracle HTTP Server

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

This chapter includes the following topics:

6.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
    
  4. Run the following command to install Oracle Web Tier on WEBHOST2 (oraInventory should be located in ORACLE_BASE/oraInventory):

    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 6-1, opens.

    Figure 6-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 6-2, opens.

    Figure 6-2 Prerequisite Checks Window

    Prerequisite Checks Window

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

    Figure 6-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 6-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 6-4 Specify Security Updates Window

    Surrounding text describes Figure 6-4 .

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

    Figure 6-5 Installation Summary Window

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

    Figure 6-6 Installation Progress Window

    Installation Progress Window

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

    Figure 6-7 Installation Complete Window

    Installation Complete Window

    Click Finish.

  9. View the directory structure that has been created:

    cd ORACLE_BASE/products/webtier_mwhome
    
  10. 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 6-8, opens.

    Figure 6-8 Configure Components Window

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

  12. Click Next. The Specify WebLogic Domain window, shown in Figure 6-9, opens.

    Figure 6-9 Specify WebLogic Domain Window

    Specify WebLogic Domain Window
  13. Enter the following:

    • a domain host name; for example, FINHOST1

    • 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 5.

  14. Click Next. The Specify Component Details window, shown in Figure 6-10, opens.

    Figure 6-10 Specify Component Details Window

    Specify Component Details Window
  15. 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

  16. Click Next. The Configure Ports window, shown in Figure 6-11, opens.

    Figure 6-11 Configure Ports Window (1)

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

    In the text field that displays, shown in Figure 6-12, enter OHS port = 7777.

    Note:

    Copy the staticports.ini file from repository/installers/webtier/Disk1/stage/Response to ORACLE_BASE/staticports.ini.

    Figure 6-12 Configure Ports Window (2)

    Configure Ports Window (2)

    Click Save and then click Next.

    The Specify Security Updates window, shown in Figure 6-13, opens.

    Figure 6-13 Specify Security Updates

    Surrounding text describes Figure 6-13 .
  18. 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

  19. Click Next. The Installation Summary window, shown in Figure 6-14, opens.

    Figure 6-14 Installation Summary Window

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

    Figure 6-15 Configuration Progress Window

    Surrounding text describes Figure 6-15 .
  21. Click Next.

    When the installation completes, the Installation Complete window, shown in Figure 6-16, opens.

    Figure 6-16 Installation Complete Window

    Installation Complete Window
  22. Click Finish.

  23. 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/
    
  24. After the copy, change all WEBHOST1 entries in the .conf files to WEBHOST2.

  25. Restart the Oracle HTTP Server instance:

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

    ./runInstaller
    
  27. When prompted, specify the path to the JDK:

    ORACLE_BASE/repository/jdk6
    
  28. When the Welcome window opens, click Next. The Prerequisite Checks window, shown in Figure 6-17, opens.

    Figure 6-17 Prerequisite Checks Window

    Surrounding text describes Figure 6-17 .
  29. When the checking process completes, click Next. The Installation Location window, shown in Figure 6-18, opens.

    Figure 6-18 Installation Location Window

    Installation Location Window
  30. Enter an Oracle Middleware Home location Oracle Home Directory and click Next. The GCC Library Details window, shown in Figure 6-19, opens.

    Figure 6-19 GCC Library Details Window

    GCC Library Details Window
  31. Enter the location for the GCC runtime libraries and click Next. The Installation Summary window, shown in Figure 6-20, opens.

    Figure 6-20 Installation Summary Window

    Installation Summary Window
  32. Click Save if you wish to save the response file. ClickInstall to start the installation. Following an interim window, the one shown in Figure 6-21 opens.

    During installation, a progress window, shown in Figure 6-21, opens.

    Figure 6-21 Installation Progress Window

    Installation Summary Window
  33. When the installation finishes, click Next. The Installation Complete window opens.

  34. Click Save if you wish to save the installation details. Click Finish to complete the WebGate installation.

6.2 Performing WebGate Post-Installation Steps

After installing WebGate, do the following:

  1. Add LD_LIBRARY_PATH to ORACLE_BASE/products/webtier_mwhome/webtier/lib.

  2. Run the following commands:

    # Usage: deployWebGateInstance.sh -w <WebGate_instancedir> -oh WebGate_Oracle_Home
    
    $  cd ORACLE_BASE/products/webtier_mwhome/webgate/webgate/ohs/tools/
    deployWebGate
    
    $ ./deployWebGateInstance.sh -w ORACLE_BASE/config/CommonDomain_
    webtier1/config/OHS/ohs1 -oh ORACLE_BASE/products/webtier_mwhome/webgate
    
    $  cd /ORACLE_BASE/products/webtier_mwhome/webgate/webgate/ohs/tools/setup/
    InstallTools
    
    $ ./EditHttpConf -w ORACLE_BASE/config/CommonDomain_webtier1/config/OHS/ohs1 
    -oh ORACLE_BASE/products/webtier_mwhome/webgate -o webgate.conf
    
  3. Log in to your Oracle Access Manager server.

  4. In the list of SSO Agents, shown in Figure 6-22, click "New OAM 11g Webgate".

    Figure 6-22 Oracle Access Manager (1)

    Oracle Access Manager (1)
  5. From the Create OAM 11G Webgate tab, shown in Figure 6-23, enter a name and click Apply.

    Figure 6-23 Oracle Access Manager (2)

    Oracle Access Manager (2)
  6. From the OAM11gfilestab, shown in Figure 6-23, note the location of where the artifacts are generated on the IDMHOST machine. These artifacts should be copied to WEBHOST2.

    Figure 6-24 Oracle Access Manager (3)

    Oracle Access Manager (3)
  7. Copy the artifacts files from the IDMHOST machine to ORACLE_BASE/config/CommonDomain_webtier1/config/OHS/ohs1/webgate/config on WEBHOST2.

    Run the following commands from WEBHOST2:

    cd ORACLE_BASE/config/CommonDomain_webtier1/config/OHS/ohs1/webgate/config
    $ cp  FROM OAMHOST ( location_of_artifacts)/ObAccessClient.xml .
    $ cp  FROM OAMHOST ( location_of_artifacts)/cwallet.sso .
    $ cp  FROM OAMHOST ( location_of_artifacts)/password.xml .
    $ cd simple
    $ cp  FROM OAMHOST ( location_of_artifacts)/aaa_key.pem .
    $ cp  FROM OAMHOST ( location_of_artifacts)/aaa_cert.pem .
    

6.3 Installing WebGate Patches

If the ORACLE_BASE/repository/installers/webgate location has a patch directory, perform the steps in this section. If prompted, specify the JDK location.

To install WebGate patches, do the following:

  1. Change directory to ORACLE_BASE/repository/installers/webgate/patch/.

  2. If the directory under patch exists, set the path to the Opatch directory to ORACLE_BASE/products/webgate/OPatch.

    Note:

    Running the $ which opatch command will give you the path specified in Step 2.

  3. Install all the patches in ORACLE_BASE/repository/installers/webgate/patch/.

  4. Run the following command:

    ./opatch apply
    

    After you install the patches, restart the web server. Oracle HTTP Server scaleout is complete, and WEBHOST1 and WEBHOST2 should behave identically.

6.4 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.

6.5 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://fininternal.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

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

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

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

    • https://finexternal.mycompany.com/ledger/faces/LedgerWorkArea

    • https://finexternal.mycompany.com/payables/faces/PaymentLandingPage

    • https://prcexternal.mycompany.com/procurement/faces/PrcPoPurchasingWorkarea

    • https://prjexternal.mycompany.com/projectsFinancials/faces/PRJProjectWorkarea

    • https://commonexternal.mycompany.com/homePage/faces/AtkHomePageWelcome

    • https://biexternal.mycompany.com/analytics

  5. Run the following commands:

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