Oracle® Fusion Applications Customer Relationship Management Enterprise Deployment Guide 11g Release 1 (11.1.4) Part Number E16684-11 |
|
|
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 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, 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 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.
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
.
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/
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 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. 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.
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
.
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
Log in to your Oracle Access Manager server.
In the list of SSO Agents, shown in Figure 6-22, click "New OAM 11g Webgate".
From the Create OAM 11G Webgate tab, shown in Figure 6-23, enter a name and click Apply.
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
.
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 .
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:
Change directory to ORACLE_BASE
/repository/installers/webgate/patch/
.
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.
Install all the patches in ORACLE_BASE
/repository/installers/webgate/patch/
.
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
.
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