Friday, July 21, 2017

Steps to configure OHS Plugin 12.2.1.x to proxy requests to WLS 12.2.1.2

 Objective:


To integrate OHS 12.2.x with WLS 12.2.x and proxy the requests via proxy plugin shipped with OHS Server.



1.  Download, Install & start Weblogic server 12.2.x 
Refer below site
https://oracle-base.com/articles/12c/weblogic-installation-on-oracle-linux-6-and-7-1221


2. Download OHS 12.2.1.2 from Oracle Site

http://www.oracle.com/technetwork/middleware/webtier/downloads/index.html


3. Video Link to  Install OHS 12.2.1.x in Collocated & Standalone Mode





 4. Configure the OHS Server in a standalone Domain using configuration wizard

 Invoke the config.cmd under ${domain_home}\bin folder and choose OHS in the template like below

 
Refer link below
 https://docs.oracle.com/middleware/1212/webtier/WTINS/standalone_domain.htm#WTINS333




5. Edit the mod_wl_ohs.conf file located under ${domain_home}\config\fmwconfig\components\OHS\instances\ohs1

<IfModule weblogic_module>
<Location /console>
WLSRequest On
WebLogicHost localhost
WeblogicPort 7001

</Location>
</IfModule>


 6. Start Nodemanager 

Execute script startNodeManager.cmd under ${domain_home}\bin directory.

7. Start OHS Instance by executing the command under  ${domain_home}\bin directory 

startComponent.cmd ohs1


Sample output
==============

C:\OHS_andalone\user_projects\domains\OHS_domain\bin>startComponent.cmd ohs1
Starting system Component ohs1 ...

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Reading domain from C:/Oracle/Middleware/OHS_Standalone/user_projects/domains/OH
S_domain


Please enter Node Manager password:
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Starting server ohs1 ...
Successfully started server ohs1 ...
Successfully disconnected from Node Manager.


Exiting WebLogic Scripting Tool.

Done


To stop the OHS Instance

Invoke the script stopComponent.cmd ohs1


7.  Hit the console using the URL
http://localhost:7777/console/login/LoginForm.jsp


No comments:

Post a Comment