Saturday, May 31, 2014

Installation and configuration of Webgate for Oracle HTTP Server

Oracle http  server webgate needs to be installed on both the nodes.Webagtes server on linux require 64 bit libraries for libgcc_s.so.1 under /usr/lib64 folder.
1.       Copy the GCC file libgcc_s.so.1 from /lib64 to /usr/lib64. Make sure the output of all the below commands is greater than 1.
a.        strings -a libgcc_s.so.1 | grep -c "GCC_3.0"
b.        strings  -a libgcc_s.so.1  | grep -v "GCC_3.3.1" | grep -c "GCC_3.3"
c.        strings -a libgcc_s.so.1 | grep -c "GCC_4.2.0"
d.        file  libgcc_s.so.1 | grep "64-bit" | grep -c "x86-64"
e.        file  -L libstdc++.so.6  |  grep "64-bit" | grep -c "x86-64"
2.       Navigate to the installable folder like  /media/FMW/IDM/Webgate/V38082-01/Disk1/install/linux64.
3.       Run the command ./runInstaller.
4.       Click next on the wlecome screen. Wait for th pre-requisities check to be completed.

5.       Specify the installation location /apps/oracle/product/fmw.Leave the Oracle Home Directory as Oracle_OAMWebgate1.Click on Next.

6.       Wait for the installation to be completed.






Configuration of OHS and Webgate

1.  Login to OHS box i.e. and stop the OHS instance(if running) by executing the command ./opmnctl stopall 
2.       Navigate to /apps/oracle/product/fmw/Oracle_OAMWebGate1/webgate/ohs/tools/deployWebGate/ on the OHS box.

3.       Execute the command.  
./deployWebGateInstance.sh -w /apps/oracle/product/admin/instance1/config/OHS/ohs1 -oh /apps/oracle/product/fmw/Oracle_OAMWebGate1
/apps/oracle/product/admin/instance1/config/OHS/ohs1- is the home directory of OHS server instance
/apps/oracle/product/fmw/Oracle_OAMWebGate1 is the home directory of webgate is installation


4.       Set the LD_LIBRARY_PATH variable.
export LD_LIBRARY_PATH=/apps/oracle/product/fmw/Oracle_WT1/lib
Navigate to /apps/oracle/product/fmw/Oracle_OAMWebGate1/webgate/ohs/tools/setup/InstallTools.


5.Execute the command
 ./EditHttpConf -w /apps/oracle/product/admin/instance1/config/OHS/ohs1/ -oh /apps/oracle/product/fmw/Oracle_OAMWebGate1 -o webgate.conf
Excerpt of the command:-
[oracle@linuxmachine InstallTools]$ ./EditHttpConf -w /apps/oracle/product/admin/instance1/config/OHS/ohs1/ -oh /apps/oracle/product/fmw/Oracle_OAMWebGate1 -o webgate.conf
The web server configuration file was successfully updated
/apps/oracle/product/admin/instance1/config/OHS/ohs1/httpd.conf has been backed up as /apps/oracle/product/admin/instance1/config/OHS/ohs1/httpd.conf.ORIG