SlideShare a Scribd company logo
Configure WebTier OHS for Redirect

After I wrote about oracle webTier Installation, I will share in this document how to configure OHS to
redirect request to specific server.

Oracle WebTier Overview Here
Oracle WebTier Download Here.

The Installation Path: /u01/app/fmw/Oracle_WT1
Instance Path: /u01/app/fmw/admin/

Osama Mustafa

Page 1
Configure WebTier OHS for Redirect

About the Author

Osama Mustafa – Oracle ACE, a database specialist, Certified Oracle Professional (10g, 11g),
Certified Ethical hacker (Penetration testing), and Sun System Administrator, author of book
Oracle Penetration Testing. Publishes many articles, including Oracle database articles in his
blog,Fusion Middle Ware and Oracle RAC Documentation, Including to this he is Active
Member On Oracle OTN and other Groups.

Twitter: @OsamaOracle.
G+: Osama Mustafa.
Slid-Share: Osama Mustafa.
LinkedIn: http://www.linkedin.com/in/osamamustafa.
Blog: http://osamamustafa.blogpsot.com.

Osama Mustafa

Page 2
Configure WebTier OHS for Redirect

Section how WebTier Server will look like:



Shutdown All OHS Services Using opmnctl command
cd /u01/app/fmw/admin/ohs1/bin
./opmnctl stopall



Add new server entire inside mod_wl_ohs.conf
cd /u01/app/fmw/admin/ohs1/config/OHS/ohs1/
vi mod_wl_ohs.conf

Osama Mustafa

Page 3
Configure WebTier OHS for Redirect
mod_wl_ohs.conf example:

# NOTE: This is a template to configure mod_weblogic.
LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"
# this empty block is needed to save mod_wl related configuration from EM to this file when
changes are made at the Base Virtual Host Level
<IfModule weblogic_module>
# <Location >
# SetHandler weblogic-handler
# WebLogicHost
# WeblogicPort
#</Location>
</IfModule>

Don’t Remove Anything



Copy Location tag and paste below
<Location /console>
SetHandler weblogic-handler
WebLogicHost Server-IP
WeblogicPort Port for Server components
</Location>

Server IP: should be IP for the server that contains products.
Server components: for example default port for weblogic 7001 you should add it.

Osama Mustafa

Page 4
Configure WebTier OHS for Redirect



Finally the mod_wl_ohs.conf will look like :

<IfModule weblogic_module>

<Location /console>
SetHandler weblogic-handler
WebLogicHost 192.168.1.100
WeblogicPort 7001
</Location>

<Location /b2bconsole>
SetHandler weblogic-handler
WebLogicHost 192.168.1.101
WeblogicPort 8003
</Location>

<Location /odiconsole>
SetHandler weblogic-handler
WebLogicHost 192.168.1.103
WeblogicPort 8001
</Location>

<Location /b2b>
SetHandler weblogic-handler
WebLogicHost 192.168.1.104
WeblogicPort 8001
</Location>

<Location /OracleBAM>
SetHandler weblogic-handler
WebLogicHost 192.168.1.105
WeblogicPort 9001
</Location>

Osama Mustafa

Page 5
Configure WebTier OHS for Redirect
<Location /edq>
SetHandler weblogic-handler
WebLogicHost 192.168.1.106
WeblogicPort 8001
</Location>
</IfModule>

Please note if you have Weblogic Cluster the Location tag will be change to look like the below :

<Location /console>
SetHandler weblogic-handler
WebLogicCluster serverip:7001,serverip:7001
</location>

Thank you
Osama Mustafa

Osama Mustafa

Page 6

More Related Content

More from Osama Mustafa

More from Osama Mustafa (20)

Steps creating data_integration_services
Steps creating data_integration_servicesSteps creating data_integration_services
Steps creating data_integration_services
 
Build, Deploy and Run Node Js Application on Azure using Docker
Build, Deploy and Run Node Js Application on Azure using DockerBuild, Deploy and Run Node Js Application on Azure using Docker
Build, Deploy and Run Node Js Application on Azure using Docker
 
Oracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single node
 
Helping implementer dealing with famous siebel based system messages and er...
Helping implementer dealing with famous siebel   based system messages and er...Helping implementer dealing with famous siebel   based system messages and er...
Helping implementer dealing with famous siebel based system messages and er...
 
Weblogic and docker
Weblogic and dockerWeblogic and docker
Weblogic and docker
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
Ebs clone r12.2.4
Ebs clone r12.2.4Ebs clone r12.2.4
Ebs clone r12.2.4
 
Oracle obia 11.1.1.10.1 installation
Oracle obia 11.1.1.10.1 installation Oracle obia 11.1.1.10.1 installation
Oracle obia 11.1.1.10.1 installation
 
Oracle Enterprise manager 13c Installation
Oracle Enterprise manager 13c InstallationOracle Enterprise manager 13c Installation
Oracle Enterprise manager 13c Installation
 
OBIA Installation
OBIA Installation OBIA Installation
OBIA Installation
 
Upgrade EBS DB from 11g to 12c.
Upgrade EBS DB from 11g to 12c.Upgrade EBS DB from 11g to 12c.
Upgrade EBS DB from 11g to 12c.
 
Eouc 12 on 12c osama mustafa
Eouc 12 on 12c osama mustafaEouc 12 on 12c osama mustafa
Eouc 12 on 12c osama mustafa
 
Install oracle siebel on windows 2008 r2
Install oracle siebel on windows 2008 r2Install oracle siebel on windows 2008 r2
Install oracle siebel on windows 2008 r2
 
Enable oracle database vault
Enable oracle database vaultEnable oracle database vault
Enable oracle database vault
 
Oracle autovue
Oracle autovueOracle autovue
Oracle autovue
 
Install oracle solaris 11.2 using gui
Install oracle solaris 11.2 using guiInstall oracle solaris 11.2 using gui
Install oracle solaris 11.2 using gui
 
Install oracle grid infrastructure on linux 6.6
Install oracle grid infrastructure on linux 6.6Install oracle grid infrastructure on linux 6.6
Install oracle grid infrastructure on linux 6.6
 
How to apply new patch on siebel 8.2.2.4
How to apply new patch on siebel 8.2.2.4How to apply new patch on siebel 8.2.2.4
How to apply new patch on siebel 8.2.2.4
 
J2ee user managment using dwh builder
J2ee user managment using dwh builderJ2ee user managment using dwh builder
J2ee user managment using dwh builder
 
Refresh development from productions
Refresh development from productionsRefresh development from productions
Refresh development from productions
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdf
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 

configure WebTier OHS

  • 1. Configure WebTier OHS for Redirect After I wrote about oracle webTier Installation, I will share in this document how to configure OHS to redirect request to specific server. Oracle WebTier Overview Here Oracle WebTier Download Here. The Installation Path: /u01/app/fmw/Oracle_WT1 Instance Path: /u01/app/fmw/admin/ Osama Mustafa Page 1
  • 2. Configure WebTier OHS for Redirect About the Author Osama Mustafa – Oracle ACE, a database specialist, Certified Oracle Professional (10g, 11g), Certified Ethical hacker (Penetration testing), and Sun System Administrator, author of book Oracle Penetration Testing. Publishes many articles, including Oracle database articles in his blog,Fusion Middle Ware and Oracle RAC Documentation, Including to this he is Active Member On Oracle OTN and other Groups. Twitter: @OsamaOracle. G+: Osama Mustafa. Slid-Share: Osama Mustafa. LinkedIn: http://www.linkedin.com/in/osamamustafa. Blog: http://osamamustafa.blogpsot.com. Osama Mustafa Page 2
  • 3. Configure WebTier OHS for Redirect Section how WebTier Server will look like:  Shutdown All OHS Services Using opmnctl command cd /u01/app/fmw/admin/ohs1/bin ./opmnctl stopall  Add new server entire inside mod_wl_ohs.conf cd /u01/app/fmw/admin/ohs1/config/OHS/ohs1/ vi mod_wl_ohs.conf Osama Mustafa Page 3
  • 4. Configure WebTier OHS for Redirect mod_wl_ohs.conf example: # NOTE: This is a template to configure mod_weblogic. LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so" # this empty block is needed to save mod_wl related configuration from EM to this file when changes are made at the Base Virtual Host Level <IfModule weblogic_module> # <Location > # SetHandler weblogic-handler # WebLogicHost # WeblogicPort #</Location> </IfModule> Don’t Remove Anything  Copy Location tag and paste below <Location /console> SetHandler weblogic-handler WebLogicHost Server-IP WeblogicPort Port for Server components </Location> Server IP: should be IP for the server that contains products. Server components: for example default port for weblogic 7001 you should add it. Osama Mustafa Page 4
  • 5. Configure WebTier OHS for Redirect  Finally the mod_wl_ohs.conf will look like : <IfModule weblogic_module> <Location /console> SetHandler weblogic-handler WebLogicHost 192.168.1.100 WeblogicPort 7001 </Location> <Location /b2bconsole> SetHandler weblogic-handler WebLogicHost 192.168.1.101 WeblogicPort 8003 </Location> <Location /odiconsole> SetHandler weblogic-handler WebLogicHost 192.168.1.103 WeblogicPort 8001 </Location> <Location /b2b> SetHandler weblogic-handler WebLogicHost 192.168.1.104 WeblogicPort 8001 </Location> <Location /OracleBAM> SetHandler weblogic-handler WebLogicHost 192.168.1.105 WeblogicPort 9001 </Location> Osama Mustafa Page 5
  • 6. Configure WebTier OHS for Redirect <Location /edq> SetHandler weblogic-handler WebLogicHost 192.168.1.106 WeblogicPort 8001 </Location> </IfModule> Please note if you have Weblogic Cluster the Location tag will be change to look like the below : <Location /console> SetHandler weblogic-handler WebLogicCluster serverip:7001,serverip:7001 </location> Thank you Osama Mustafa Osama Mustafa Page 6