Oracle® Fusion Applications Enterprise Deployment Guide 11g Release 1 (11.1.2) Part Number E16684-04 |
|
|
PDF · Mobi · ePub |
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:
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
WEBHOST1> ORACLE_BASE/repository/installers/webtier_patchset
to
WEBHOST2> ORACLE_BASE/repository/installers
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.
Click Next to start the installation.
The Select Installation Type window, shown in Figure 5-1, opens.
Select Install Software - Do Not Configure and click Next.
The Prerequisite Checks window, shown in Figure 5-2, opens.
Click Next. The Specify Installation Location window, shown in Figure 5-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 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
Click Next. The Installation Summary window, shown in Figure 5-5, opens.
Click Install. The Installation Progress window, shown in Figure 5-6, opens.
Click Next when the installation has finished. The Installation Complete window, shown in Figure 5-7, opens.
Click Finish.
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.
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
Click Next. The Installation Summary Window, shown in Figure 5-10, opens.
Click Install. The Installation Progress window, shown in Figure 5-11, opens.
Click Next when the installation has finished. The Installation Complete window, shown in Figure 5-12, 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 5-13, opens.
Select Oracle HTTP Server and Associate Selected Components with WebLogic Domain.
Click Next. The Specify WebLogic Domain window, shown in Figure 5-14, opens.
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.
Click Next. The Specify Component Details window, shown in Figure 5-15, 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 5-16, opens.
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
.
Click Save and then click Next.
The Specify Security Updates window, shown in Figure 5-18, 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 5-19, opens.
Click Configure to install the configuration. The Configuration Progress window, shown in Figure 5-20, opens.
Click Next.
When the installation completes, the Installation Complete window, shown in Figure 5-21, 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/
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
, start the WebGate installation:
run ./Oracle_Access_Manager10_1_4_3_0_linux64_OHS11g_WebGate -gui
When the Welcome window opens, click Next. The Customer Information window, shown in Figure 5-22, opens.
Enter the necessary information and click Next. The Installation Directory window, shown in Figure 5-23, opens.
Enter a destination name and click Next. The Destination Confirmation window, shown in Figure 5-24, opens.
Click Next to start configuring WebGate. The window shown in Figure 5-25 opens.
Enter the location for the GCC runtime libraries and click Next. Following an interim window, the one shown in Figure 5-26 opens.
Select Simple Mode and click Next. The window shown in Figure 5-27 opens.
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.
Enter the necessary information and click Next. Following an interim window, the one shown in Figure 5-28 opens.
Select Yes and click Next. The Configure Web Server window, shown in Figure 5-29, opens.
Browse for an absolute path or enter one, and click Next. A warning window, shown in Figure 5-30, opens.
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.
Click Next. The window shown in Figure 5-32 opens.
Select an option and click Next. An informational window, shown in Figure 5-33, opens.
Click Next. Another informational window, shown in Figure 5-34, opens.
Click Next. A window indicating that the installation was successful opens. Figure 5-35 shows this window.
Click Finish. WebGate has now been installed.
If WebGate patches need to be installed, do the following:
Change directory to ORACLE_BASE
/repository/installers/webgate/ext/Oracle_Access_Manager10_1_4_3_0_B10_Patch_linux64_OHS11g_WebGate_binary_parameter
.
Run the following command, specifying the directory where webgate/access
is installed:
./patchinst
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.
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.
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://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
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
Run the following commands:
WEBHOST1> cd /u01/oracle/config/CommonDomain_webtier/bin WEBHOST1> ./opmnctl startall