Oracle® Fusion Applications Enterprise Deployment Guide for Financials 11g Release 6 (11.1.6) Part Number E27364-09 |
|
|
PDF · Mobi · ePub |
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:
To scale out Oracle HTTP Server:
Reboot WEBHOST2
to start the scaleout from a clean machine.
Note:
WEBHOST2
and WEBHOST1
should be identical machines.
Create the directory ORACLE_BASE
/repository/installers
with the same user that installed Oracle HTTP Server on WEBHOST1
.
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
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.
Click Next. The Install Software Updates window opens.
Select the appropriate options, and then click Next to start the installation.
The Select Installation Type window, shown in Figure 6-1, opens.
Select Install Software - Do Not Configure and click Next.
The Prerequisite Checks window, shown in Figure 6-2, opens.
Click Next. The Specify Installation Location window, shown in Figure 6-3, opens.
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 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
Click Next. The Installation Summary window, shown in Figure 6-5, opens.
Click Install. The Installation Progress window, shown in Figure 6-6, opens.
Click Next when the installation has finished. The Installation Complete window, shown in Figure 6-7, opens.
Click Finish.
View the directory structure that has been created:
cd ORACLE_BASE/products/webtier_mwhome
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.
Select Oracle HTTP Server and Associate Selected Components with WebLogic Domain.
Click Next. The Specify WebLogic Domain window, shown in Figure 6-9, opens.
Enter the following:
a domain host name; for example, FINHOST1
a domain port number; for example, COMMONDOMAIN 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.
Click Next. The Specify Component Details window, shown in Figure 6-10, opens.
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
Click Next. The Configure Ports window, shown in Figure 6-11, opens.
Note:
Copy the staticports.ini
file from repository/installers/webtier/Disk1/stage/Response
to ORACLE_BASE
/staticports.ini
.
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
.
Click Save and then click Next.
The Specify Security Updates window, shown in Figure 6-13, opens.
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
Click Next. The Installation Summary window, shown in Figure 6-14, opens.
Click Configure to install the configuration. The Configuration Progress window, shown in Figure 6-15, opens.
Click Next.
When the installation completes, the Installation Complete window, shown in Figure 6-16, opens.
Click Finish.
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/
Note:
If you get an error message saying that the FusionSSL.conf
file is missing, copy the file from ORACLE_BASE
/config/CommonDomain_webtier/config/OHS/ohs1
on WEBHOST1
to the ORACLE_BASE
/config/CommonDomain_webtier1/config/OHS/ohs1
folder on WEBHOST2
.
After the copy, change all WEBHOST1
entries in the .conf
files to WEBHOST2
.
Restart the Oracle HTTP Server instance:
WEBHOST2> cd ORACLE_BASE/config/CommonDomain_webtier1/bin WEBHOST2> ./opmnctl stopall WEBHOST2> ./opmnctl startall
From ORACLE_BASE
/repository/installers/webgate/Disk1
, start the WebGate installation:
./runInstaller
When prompted, specify the path to the JDK:
ORACLE_BASE/repository/jdk6
When the Welcome window opens, click Next. The Prerequisite Checks window, shown in Figure 6-17, opens.
When the checking process completes, click Next. The Installation Location window, shown in Figure 6-18, opens.
Enter an Oracle Middleware Home location Oracle Home Directory, ORACLE_BASE
/products/webtier_mwhome,
and click Next. The GCC Library Details window, shown in Figure 6-19, opens.
Enter the location for the GCC runtime libraries and click Next. The Installation Summary window, shown in Figure 6-20, opens.
Click Save if you wish to save the response file. Click Install 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.
When the installation finishes, click Next. The Installation Complete window opens.
Click Save if you wish to save the installation details. Click Finish to complete the WebGate installation.
After installing WebGate, do the following:
Add LD_LIBRARY_PATH
to ORACLE_BASE
/products/webtier_mwhome/webtier/lib
:
WEBHOST2> export LD_LIBRARY_PATH=ORACLE_BASE/products/webtier_mwhome/ webtier/lib:$LD_LIBRARY_PATH
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
Do the following on WEBHOST1
:
From ORACLE_BASE
/config/CommonDomain_webtier/config/OHS/ohs1/webgate/config
, copy the following to ORACLE_BASE
/config/CommonDomain_webtier1/config/OHS/ohs1/webgate/config
on WEBHOST2
:
"ObAccessClient.xml","cwallet.sso","password.xml"
From ORACLE_BASE
/config/CommonDomain_webtier/config/OHS/ohs1/webgate/config/simple
, copy the following to ORACLE_BASE
/config/CommonDomain_webtier1/config/OHS/ohs1/webgate/config/simple
on WEBHOST2
:
"aaa_key.pem","aaa_cert.pem"
If the ORACLE_BASE
/repository/installers/webgate
location has a patch directory, perform the steps in this section.
Note:
Ensure that you install all the patches that are located in ORACLE_BASE
/repository/installers/webgate/patch/
.
To install WebGate patches, do the following:
Change directory to ORACLE_BASE
/repository/installers/webgate/patch/
.
If any directory under patch
exists, perform Steps a and b, listed below. If no directory exists, skip these steps and continue to Section 6.4, "Wiring Oracle HTTP Server with Load Balancer."
Add ORACLE_BASE
/products/webtier_mwhome/webgate/OPatch
to the $PATH
environment variable. Then set or change $ORACLE_HOME
to ORACLE_BASE
/products/webtier_mwhome/webgate/
, as shown in the following example:
export PATH=ORACLE_BASE/products/webtier_mwhome/webgate/OPatch:$PATH export ORACLE_HOME=ORACLE_BASE/products/webtier_mwhome/webgate
Note:
Running the $ which opatch
command will give you the path specified above.
To install a patch, first change directory to the folder that corresponds to each existing patch number, and 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.
Configure your load balancer to route all HTTP requests to the hosts running Oracle HTTP Server, that is, WEBHOST1
and WEBHOST2
.
To prevent repeat authorization from occurring, enable sticky session (insert cookie) on the load balancer when Oracle HTTP Server is the front end to Oracle WebLogic Server.
You also must set Monitors for HTTP.
To validate once the installation is complete:
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
Stop WEBHOST1
:
WEBHOST1> cd /u01/oracle/config/CommonDomain_webtier/bin WEBHOST1> ./opmnctl stopall
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
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
Run the following commands:
WEBHOST1> cd /u01/oracle/config/CommonDomain_webtier/bin WEBHOST1> ./opmnctl startall