Friday, November 4, 2011

OHS Infront of OAM/OIM 11.1.1.3

the steps below are tested with OHS 11.1.1.3 on a OAM/OIM 11.1.1.3 environment. Please verify with oracle for certification and associated install guide for different versions. Oracle software was installed on linux 64-bit server with a static IP. for dynamic IPs make sure your /etc/hosts is configured correctly. Otherwise asinstance (OHS, WebCache, OPMN) will fail with errors later..

1. create oraweb user and add user to oinstall group or oraweb group
2. download and unzip ofm_webtier_linux_11.1.1.2.0_64_disk1_1of1.zip
3. Run /home/oraweb/software/webtier/webtier11112/Disk1/runInstaller
4. select "Install Software - Do not configure" option,
5. click next for pre-requisite checks, address and click next if issues are found
6.  select oracle middleware home - /home/oraweb/oracle/middleware
and Oracle Home Directory - Oracle_WT1 for example
7. select approriate option to receive oracle update, i unchecked option to receive updates via oracle support
8. monitor installation progress and verify installation summary
9. Run /home/oraweb/software/webtier/webtier11113/Disk1/runInstaller
10. Select the same Oracle Middleware Home and Oracle Home Directory as documented above.
11. continue with the install  
12. run /home/oraweb/oracle/middleware/Oracle_WT1/bin/config.sh
13. I selected oracle http server (you can select webcache and weblogic components if you want to)
14. give the instance home location, instance name and ohs component name
15. select autoport configuration and monitor installation progress
16. click finish to finalize the installation
17. login or su as root and change listen port to 80 in httpd.conf
18. run the following commands from oracle/middleware/Oracle_WT1/ohs/bin
     chown root .apachectl
     chmod 6750 .apachectl
19. If you want to integrate OHS with OAM 11.1.1.3 run the steps below:
20.     Login to oamconsole and create a 10g webgate
21.  enter logout url contents
22. update IDMDomain as preferred host if both IAM and OAM are installed on the same machine
23. Install webgate on the OHS just created, i used ofm_oam_webgates_linux_10.1.4.3.0_64_disk1.zip for this posting
24. review the pre-requisites for 10g webgate installation in oracle oam administrator's guide and make sure  OAM10_1_4_3_0_linux64_GCC_libstdc++.so.5 gcc libraries are installed in /usr/lib64 or /usr/lib
25.running webgate
26. provide username - oraweb
27. provide a webgate directory name - /home/oraweb/oracle/middleware/oam/webgate
28. create softlinks in /usr/lib64 if gcc files are not there
29. provide location of gcc runtime libraries - /usr/lib64
30. select open mode for webgate http transport mode (based on how you configured 10g webgate on the oam server console.
31. provide webgate id - OHSWebgate
32. provide access server id - wls_oam1
33. access server host - fmwtesting.thekpsoft.com
34. port number where access server is running - 5575
35. directory of the httpd.conf - /home/oraweb/oracle/middleware/Oracle_WT1/isntances/isntance1/config/OHS/FMWTestingOIMohs1/httpd.conf
36. accept defaults for everything else.
37. wait for the webgate install to complete.
38. update mod_wl_ohs.conf
<IfModule weblogic_module>
#      WebLogicHost <WEBLOGIC_HOST>
#      WebLogicPort <WEBLOGIC_PORT>
#      Debug ON
#      WLLogFile /tmp/weblogic.log
#      MatchExpression *.jsp
   RewriteEngine On
   RewriteOptions inherit
   RewriteRule ^/console/jsp/common/logout.jsp /oamsso/logout.html [PT]
   RewriteRule ^/em/targetauth/emaslogout.jsp /oamsso/logout.html [PT]

       WebLogicHost  fmwtesting.thekpsoft.com
       Debug ON

   <Location /console>
      SetHandler weblogic-handler
      WebLogicHost fmwtesting.thekpsoft.com
      WeblogicPort 7001
   </Location>

  <Location /consolehelp>
      SetHandler weblogic-handler
      WebLogicHost fmwtesting.thekpsoft.com
      WeblogicPort 7001
   </Location>

   <Location /em>
      SetHandler weblogic-handler
      WebLogicHost fmwtesting.thekpsoft.com
      WeblogicPort 7001
   </Location>

   <Location /oamconsole>
      SetHandler weblogic-handler
      WebLogicHost fmwtesting.thekpsoft.com
      WeblogicPort 7001
   </Location>
   <Location /apm>
      SetHandler weblogic-handler
      WebLogicHost fmwtesting.thekpsoft.com
      WeblogicPort 7001
   </Location>

   <Location /oinav>
      SetHandler weblogic-handler
      WebLogicHost fmwtesting.thekpsoft.com
      WeblogicPort 7001
   </Location>

   <Location /odsm>
      SetHandler weblogic-handler
      WebLogicHost fmwtesting.thekpsoft.com
      WeblogicPort 7005
   </Location>

   <Location /oam>
      SetHandler weblogic-handler
      WebLogicHost fmwtesting.thekpsoft.com
      WeblogicPort 14100
   </Location>

# oim admin console(idmshell based)
   <Location /admin>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
   </Location>

# oim self and advanced admin webapp consoles(canonic webapp)

  <Location /oim>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
   </Location>
# SOA Callback webservice for SOD - Provide the SOA Managed Server Ports
  <Location /sodcheck>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
   </Location>

# Callback webservice for SOA. SOA calls this when a request is approved/rejected
# Provide the SOA Managed Server Port
  <Location /workflowservice>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
  </Location>

# xlWebApp - Legacy 9.x webapp (struts based)
   <Location /xlWebApp>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
  </Location>
# Nexaweb WebApp - used for workflow designer and DM
  <Location /Nexaweb>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
  </Location>

# used for FA Callback service.
  <Location /callbackResponseService>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
  </Location>
# spml xsd profile
  <Location /spml-xsd>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
  </Location>

  <Location /HTTPClnt>
    SetHandler weblogic-handler
    WLCookieName    oimjsessionid
    WebLogicHost fmwtesting.thekpsoft.com
    WeblogicPort 14000
    WLLogFile "${ORACLE_INSTANCE}/diagnostics/logs/mod_wl/oim_component.log"
  </Location>




</IfModule>

# <Location /weblogic>
#      SetHandler weblogic-handler
#      PathTrim /weblogic
#      ErrorPage  http:/WEBLOGIC_HOME:WEBLOGIC_PORT/
#  </Location>