Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Configure WebTier OHS for Redirect

After I wrote about oracle webTier Installation, I will share in this document how to ...
Configure WebTier OHS for Redirect

About the Author

Osama Mustafa – Oracle ACE, a database specialist, Certified Oracle ...
Configure WebTier OHS for Redirect

Section how WebTier Server will look like:



Shutdown All OHS Services Using opmnctl...
Configure WebTier OHS for Redirect
mod_wl_ohs.conf example:

# NOTE: This is a template to configure mod_weblogic.
LoadMod...
Configure WebTier OHS for Redirect



Finally the mod_wl_ohs.conf will look like :

<IfModule weblogic_module>

<Location...
Configure WebTier OHS for Redirect
<Location /edq>
SetHandler weblogic-handler
WebLogicHost 192.168.1.106
WeblogicPort 800...
Upcoming SlideShare
Loading in …5
×

configure WebTier OHS

3,570 views

Published on

configure WebTier OHS

Published in: Technology, News & Politics
  • Be the first to comment

configure WebTier OHS

  1. 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. 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. 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. 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. 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. 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

×