Tuesday, September 15, 2015

Integrating Oracle HTTP server with WebLogic 11g/12c


Integrating Oracle HTTP server with WebLogic 11g

This post continues a series of learning OHS 11g installation and configurations. You can visit our previous blog posts for the following steps:

Step 1: Install WebLogic 10.3.6.0 on Vagrant Ubuntu [Done!]

Step 2: Install Oracle HTTP server

Step 3: Edit mod_wl_ohs.conf which is located at /home/pavanbsd/ohs/Middleware/Oracle_WT1/instances/instance1/config/OHS/ohs1


Here I want to access the WebLogic admin console through OHS server proxy plugin. So I had given Adminserver details in mod_wl_ohs.conf file as shown the below.

LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"


WebLogicHost myweb1.vybhavatechnologies.com
WebLogicPort 7001


# Admin Server and EM

SetHandler weblogic-handler
WebLogicHost myweb1.vybhavatechnologies.com
WeblogicPort 7001



SetHandler weblogic-handler
WebLogicHost myweb1.vybhavatechnologies.com
WeblogicPort 7001



SetHandler weblogic-handler
WebLogicHost myweb1.vybhavatechnologies.com
WeblogicPort 7001


# Web Application 

SetHandler weblogic-handler
WebLogicCluster myweb1.vybhavatechnologies.com:7011,myweb2.vybhavatechnologies.com:7011




Step 4: Now uncomment the line 
include "/home/pavanbsd/ohs/Middleware/Oracle_WT1/instances/instance1/config/OHS/ohs1/mod_wl_ohs.conf
Modify in httpd.conf file which  is located in same location as mod_wl_ohs.conf file.



Step 5:  At this step we have to start/restart the ohs server.

Go to  /home/pavanbsd/ohs/Middleware/Oracle_WT1/instances/instance1/bin location and execute the below script.  .


./opmnctl startall



 
Step 6: Now We can check the access of WebLogic console through ohs server in firebox.





  I am successfully accessed my WebLogic Console through Ohs server.  In the URL We must give Ohs server host and port .

 http://ohs server ip:ohsport/console

Note: WebLogic server must be in Running state before accessing through Ohs server.

Please share your experiences in below comment box.
 
 


 


Saturday, September 12, 2015

Installing Oracle HTTP server on Ubuntu


Installing Oracle HTTP server on Ubuntu

Step 1: We need to download the Oracle webtier from the following location


Step 2:   The Downloaded zip file need to be extracted.

Step 3:  libaio packages should be installed on ubuntu

Step 4. kernel parameters needs to be updated as below

 Open  vi /etc/sysct.conf  and append the following data at the end of the file


 fs.aio-max-nr=1048576
 fs.file-max=6815744
 kernel.shmall=2097152
 kernel.shmmni=4096
 kernel.sem=250 32000 100 128
 net.ipv4.ip_local_port_range=9000 65500
 net.core.rmem_default=262144
 net.core.rmem_max=4194304
 net.core.wmem_default=262144
 net.core.wmem_max=1048586 
 kernel.shmmax=2147483648 (this is system RAM in bytes)


Step 5: Because Ubuntu is not in the Oracle certification matrix so we can use ignore option as show below:

Run /runInstaller -jreLoc /path/to/jdk -ignoreSysPrereqs from Disk1 folder. And click  on  next.




  

Step 6: Run 
./createCentralInventory.sh  
from orainventory directory as suggested 

in below window after that we  have to  click on ok on below window.


Step 7. Skip software update  and  click  on next

















Step 9:  It  will ask you for new middleware home.



Step 10. We have to select Oracle HTTP server and oracle  webcache
Step 11. Selcet next
Step 12: We have to give webcahce admin  password

Step 13: Select the option with  Auto port configuration


Step 14:  Verify the system requirement and  click  on next.

Step15: Click on next


 Step16. Click on Finish

You can read the
'Successfully' in the message box that concludes over installation of OHS done !!!

Step 17: We can access the OHS server after executing the  ./opmnctl startall script which is located in below location.

 /ohs/Middleware/Oracle_WT1/instances/instance1/bin$ ./opmnctl startall





Please share your experiences in the comment box given below.