Thursday, 26 October 2017

OHS 12c (12.2.1.3.0 ) PS3 Installation and Configuration in Collocated Mode

  1. OHS 12c (12.2.1.3.0 ) PS3 Installation and Configuration in Collocated Mode (Managed through WebLogic server):
Oracle Web Tier 12cR2 includes Oracle HTTP Server 12cR2 (along with built-in Oracle WebLogic Server Proxy Plug-In 12cR2).
Download the Installers using the below link:

Download the Infrastructure Installers using the below link:
Installation Document Link:
  1. Installation and configuration of Oracle Fusion Middleware Infrastructure Domain:
Before configuring Oracle HTTP Server (OHS 12c) in a WebLogic Server Domain, create the Oracle Fusion Middleware Infrastructure domain. This installation requires Infrastructure and OHS Installation at the same Oracle Home location.

    1. Unzip the downloaded IDM infrastructure zip, you can find below jar:
      1. fmw_12.2.1.3.0_infrastructure.jar

    1. Unzip the downloaded OHS 12c  installer zip, you can find below jar:
      1. fmw_12.2.1.3.0_ohs_linux64.bin



  1. Install Oracle Fusion Middleware Infrastructure 12c
Run the command:  java -jar fmw_12.2.1.3.0_infrastructure.jar











  1. Installing the Oracle HTTP Server Software ( OHS 12c)
Run the command:  ./fmw_12.2.1.3.0_ohs_linux64.bin








Click on Install, The installation of OHS 12c will begin with the below screen:



  1. Starting the Repository Creation Utility (RCU) for FMW Infrastructure
Navigate to the ORACLE_HOME/oracle_common/bin directory.
Start RCU:  ./rcu






Before configuring a Fusion Middleware Infrastructure domain, install the following schemas on a certified database to use them with this Oracle Fusion Middleware release.

  • Metadata Services (MDS)
  • Audit Services (IAU)
  • Audit Services Append (IAU_APPEND)
  • Audit Services Viewer (IAU_VIEWER)
  • Oracle Platform Security Services (OPSS)
  • User Messaging Service (UMS)
  • WebLogic Services (WLS)
  • Service Table (STB)

Select all the schemas as highlighted below:















  1. Configuring Oracle HTTP Server Software ( OHS 12c) in a WebLogic Server Domain

Run the command:  
Cd /oracle/Middleware/OHS_HOME/oracle_common/common/bin/
./config.sh










Since we have not created the Oracle Fusion Middleware Infrastructure domain, we are going to create it by selecting Advanced Configurations, ensure that you select System Components too.













  1. Starting the Servers:
  1. Start the Node Manager:
Cd /oracle/Middleware/OHS_HOME/user_projects/domains/ohs_domain/bin
./startNodeManager.sh


  1. Start the Admin Server:
./startWeblogic.sh


  1. Starting the Oracle HTTP Server Instance

Sign in to Fusion Middleware Control:








  1. To start / stop the Oracle HTTP Server instance using WLST command line:

Starting Oracle HTTP Server Instances Using WLST
To start an Oracle HTTP Server instance by using WLST, use the start() command in a WebLogic Server Domain or nmStart() for a standalone domain. The commands are illustrated in the following table.

start('ohs1')
or
nmStart(serverName='ohs1', serverType)


shutdown('OHS_Instance1')
start('OHS_Instance1')


  1. To start / stop the Oracle HTTP Server Instances from the Command Line
To stop Oracle HTTP Server instances from the command line via a script.

Enter the following command:

$DOMAIN_HOME/bin/stopComponent.sh componentName
For example: $DOMAIN_HOME/bin/stopComponent.sh OHS_Instance1

  1. Access the OHS instance:


3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Thank you very much for providing excellent guidance. Could you please check and update, as the screenshots are missing from this post

    ReplyDelete