WCP 12.2.1: Installation VI (Oracle HTTP Server 12.2.1)
There are lot of differences between OHS 11g and OHS 12cR2 in the following:
Download the installer from the following URL: http://www.oracle.com/technetwork/middleware/webtier/downloads/index.html
Run the Universal Installer (now is .bin file do NOT use the java -jar command!)
In this case, we are going to installed Collocated with our WebLogic in order to be managed through Enterpise Manager.
Next -> Next -> Next... and we have it install it!.
It does not created an OHS instance... let's goes to do it
Select to update the domain created before:
Important: Select the Collocated Oracle HTTP Server Template!
Configure the applications path for the OHS instance. Please, follow the best practices organizing folders!
http://docs.oracle.com/middleware/1221/core/INSWC/GUID-16F78BFD-4095-45EE-9C3B-DB49AD5CBAAD.htm#ASINS328
Connect to the RCU configuration in DEV_STB table. Remember that we created it when installing the Oracle Fusion Middleware Infrastructure.
Check that schema dependencies are properly configured
Check to configure a new Component
Create an OHS component
Default OHS configuration (we will change the port later)
Add the ohs component to the dev_machine (Node Manager)
Finish the Configuration Wizard
You have three options
Use this following snippet to pre-configure the Locations of WebCenter products
# NOTE : This is a template to configure mod_weblogic.
LoadModule weblogic_module "${PRODUCT_HOME}/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>
# WebLogicHost <WEBLOGIC_HOST>
# WebLogicPort <WEBLOGIC_PORT>
# MatchExpression *.jsp
# WebCenter Spaces
<Location /webcenter>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
<Location /webcenterhelp>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
<Location /rss>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
<Location /rest>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
# Discussions
<Location /owc_discussions>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8890
</Location>
# SES Search
# <Location /rsscrawl>
# SetHandler weblogic-handler
# WeblogicHost owc
# WeblogicPort 7777
# </Location>
# <Location /sesUserAuth>
# SetHandler weblogic-handler
# WeblogicHost owc
# WeblogicPort 7777
# </Location>
# Portlets
<Location /portalTools>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8889
</Location>
<Location /wsrp-tools>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8889
</Location>
# Personalization
<Location /wcps>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
# Activity Graph
<Location /activitygraph-engines>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
# UCM
# Web server context root for Oracle Content Server
<Location /cs>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 16200
</Location>
# Enables Oracle Content Server authentication
<Location /adfAuthentication>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 16200
</Location>
# SAML SSO
<Location /samlacs/acs>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 16200
</Location>
# BPEL Server
<Location /workflow>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8001
</Location>
# Virtual Hosts - Pagelet Producer
<VirtualHost *:7777>
ServerName owc
<Location />
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8889
</Location>
<IfModule ossl_module>
SSLEngine off
</IfModule>
</VirtualHost>
DynamicServerList Off
</IfModule>
# <Location /weblogic>
# SetHandler weblogic-handler
# PathTrim /weblogic
# ErrorPage http:/WEBLOGIC_HOME:WEBLOGIC_PORT/
# </Location>
Next step: WCP 12.2.1: Installation VII (Oracle WebCenter Portal 12.2.1)
- In OHS 12cR2 you will not find the opmnctl command
- In OHS 12cR2 Web Cache module as removed completily
- OHS 12cR2 is added as a Component (like a "server") in WebLogic Domain and can be started using Node Manager (such another server)
- Configuring OHS 12cR2 in a privileged port in UNIX is different from OHS 11g.
Download the installer from the following URL: http://www.oracle.com/technetwork/middleware/webtier/downloads/index.html
Run the Universal Installer (now is .bin file do NOT use the java -jar command!)
OHS 12cR2 Universal Installer |
Collocated option |
Next -> Next -> Next... and we have it install it!.
Installation finished |
Create an OHS instance
Go to /oracle/product/oracle_common/common/bin and execute the Configuration Wizard. Now every product follows the same steps! :).Select to update the domain created before:
Updating the existing domain |
Important: Select the Collocated Oracle HTTP Server Template!
Oracle HTTP Server (Collocated) |
http://docs.oracle.com/middleware/1221/core/INSWC/GUID-16F78BFD-4095-45EE-9C3B-DB49AD5CBAAD.htm#ASINS328
Applicatons folder |
Connect to the RCU configuration in DEV_STB table. Remember that we created it when installing the Oracle Fusion Middleware Infrastructure.
Connecting to DEV_STB |
OHS RCU Schema dependencies |
Check to configure a new Component |
Creating an OHS component |
OHS configuration |
Adding the OHS component to the Node Manager |
Configuration Finished |
Configure to listen port 80
This is one of the biggest changes from 11g and also changes from 12cR1. Configure it is well explained in: http://docs.oracle.com/middleware/1221/webtier/administer-ohs/getstart.htm#BEHDHFGE- Change the ownership of the launc script in [ORACLE_HOME]/ohs/bin/launchchown root [ORACLE_HOME]/ohs/bin/launch
- Change the permission on the file as follows:
chmod 4750 [ORACLE_HOME]/ohs/bin/launch - Modify the Listen port of httpd.conf to 80 (edit the file manually or do it through Enterprise Manager)
Changing Port using EM
OHS started succesfuly |
Start / Stop
Make sure that you have node manager and weblogic server running.You have three options
- Using Enterprise Manager Console
Start Up and Shut Down options - Using command line
[DOMAIN_HOME]/bin/startComponent.sh ohs-webcenter - Using WLST Node Manager commands (such a server) with nmConnect and nmStart operations
Preconfigure the Virtual Hosts for WebCenter
Configure the mod_wl_ohs to access the WebCenter Suite. It can be done manually in the File system or thought Enterprise Manager.
Use this following snippet to pre-configure the Locations of WebCenter products
# NOTE : This is a template to configure mod_weblogic.
LoadModule weblogic_module "${PRODUCT_HOME}/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>
# WebLogicHost <WEBLOGIC_HOST>
# WebLogicPort <WEBLOGIC_PORT>
# MatchExpression *.jsp
# WebCenter Spaces
<Location /webcenter>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
<Location /webcenterhelp>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
<Location /rss>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
<Location /rest>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
# Discussions
<Location /owc_discussions>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8890
</Location>
# SES Search
# <Location /rsscrawl>
# SetHandler weblogic-handler
# WeblogicHost owc
# WeblogicPort 7777
# </Location>
# <Location /sesUserAuth>
# SetHandler weblogic-handler
# WeblogicHost owc
# WeblogicPort 7777
# </Location>
# Portlets
<Location /portalTools>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8889
</Location>
<Location /wsrp-tools>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8889
</Location>
# Personalization
<Location /wcps>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
# Activity Graph
<Location /activitygraph-engines>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8888
</Location>
# UCM
# Web server context root for Oracle Content Server
<Location /cs>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 16200
</Location>
# Enables Oracle Content Server authentication
<Location /adfAuthentication>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 16200
</Location>
# SAML SSO
<Location /samlacs/acs>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 16200
</Location>
# BPEL Server
<Location /workflow>
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8001
</Location>
# Virtual Hosts - Pagelet Producer
<VirtualHost *:7777>
ServerName owc
<Location />
SetHandler weblogic-handler
WeblogicHost owc
WeblogicPort 8889
</Location>
<IfModule ossl_module>
SSLEngine off
</IfModule>
</VirtualHost>
DynamicServerList Off
</IfModule>
# <Location /weblogic>
# SetHandler weblogic-handler
# PathTrim /weblogic
# ErrorPage http:/WEBLOGIC_HOME:WEBLOGIC_PORT/
# </Location>
Next step: WCP 12.2.1: Installation VII (Oracle WebCenter Portal 12.2.1)
Comments
Post a Comment