Monday, September 21, 2015

Deploying the Oracle HTTP Server WebGate Instance

1.      Go to the WebGate_Home/webgate/ohs/tools/deployWebGate directory by running the following command:
cd WebGate_Home/webgate/ohs/tools/deployWebGate
[access@ptud ~]$ cd fmw/Oracle_WebGate/webgate/ohs/tools/deployWebGate/

2.      Run the following command to copy the required bits of agent from the WebGate_Home directory to the WebGate_Instance location:
./deployWebGateInstance.sh -w WebGate_Instance_Directory -oh WebGate_Oracle_Home
In this command:
o    WebGate_Oracle_Home is the directory in which you have installed Oracle HTTP Server WebGate and created it as the Oracle home for WebGate.
Example:
MW_HOME/Oracle_OAMWebGate1
o    WebGate_Instance_Directory is the location of WebGate Instance Home, which is same as the Instance Home of Oracle HTTP Server.
Example:
MW_HOME/Oracle_WT1/instances/instance1/config/OHS/ohs1
Note:
An Instance Home for Oracle HTTP Server is created after you configure Oracle HTTP Server. This configuration is performed after installing Oracle HTTP Server 11.1.1.2.0 or patching to Oracle HTTP Server 11.1.1.5.0.
[access@ptud deployWebGate]$ ./deployWebGateInstance.sh -w /home/access/fmw/Oracle_WT1/instances/instance1/config/OHS/ohs1 -oh /home/access/fmw/Oracle_WebGate/
Copying files from WebGate Oracle Home to WebGate Instancedir

3.      Run the following command to ensure that the LD_LIBRARY_PATH variable contains Oracle_Home_for_Oracle_HTTP_Server/lib:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:Oracle_Home_for_Oracle_HTTP_Server/lib
[access@ptud deployWebGate]$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/access/fmw/Oracle_WT1/lib

4.      From your present working directory, move up one directory level:
WebGate_Home/webgate/ohs/tools/setup/InstallTools
[access@ptud deployWebGate]$ cd /home/access/fmw/Oracle_WebGate/webgate/ohs/tools/setup/InstallTools/
[access@ptud InstallTools]$ ls
apache_webgate.template  EditHttpConf

5.      On the command line, run the following command to copy the apache_WebGate.template from the WebGate_Home directory to the WebGate Instance location (re-named toWebGate.conf) and update the httpd.conf file to add one line to include the name of WebGate.conf:
./EditHttpConf -w WebGate_Instance_Directory [-oh WebGate_Oracle_Home] [-o output_file]
Note:
The -oh WebGate_Oracle_Home and -o output_file parameters are optional.
In this command:
o    WebGate_Oracle_Home is the directory where you have installed Oracle HTTP Server WebGate for Oracle Access Manager and created as the Oracle Home for WebGate.
Example:
MW_HOME/Oracle_OAMWebGate1
o    WebGate_Instance_Directory is the location of WebGate Instance Home, which is same as the Instance Home of Oracle HTTP Server.
Example:
MW_HOME/Oracle_WT1/instances/instance1/config/OHS/ohs1
o    output_file is the name of the temporary output file used by the tool.
Example:
Edithttpconf.log
[access@ptud InstallTools]$ ./EditHttpConf -w /home/access/fmw/Oracle_WT1/instances/instance1/config/OHS/ohs1 -oh /home/access/fmw/Oracle_WebGate/
The web server configuration file was successfully updated
/home/access/fmw/Oracle_WT1/instances/instance1/config/OHS/ohs1/httpd.conf has been backed up as /home/access/fmw/Oracle_WT1/instances/instance1/config/OHS/ohs1/httpd.conf.ORIG



Share this

0 Comment to "Deploying the Oracle HTTP Server WebGate Instance"

Post a Comment