Your SlideShare is downloading. ×

configure WebTier OHS

1,341
views

Published on

configure WebTier OHS

configure WebTier OHS

Published in: Technology, News & Politics

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,341
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
49
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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