Pages

Tuesday, December 1, 2015

Install Apache Webgate 11G on XAMPP for Linux 5.6.14

Install Apache Webgate 11G on XAMPP for Linux 5.6.14

i'm using:
1. XAMPP for Linux 5.6.14
2. ofm_webgates_apache24_generic_11.1.2.2.0
3. OAM 11GR2 PS2 11.1.2.2.7

Wednesday, November 25, 2015

Apache 11g WebGate for OAM 11gR2

1. Download Apache webgate.
http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oam-webgates-2147084.html

2. Install JDK ver 6.x or higher

3. Install Apache webgate
./runInstaller -jreLoc /u01/app/oracle/jdk/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/

- dir apache: /u01/app/oracle/Oracle_OAMWebgate1/

4. Deploying the Apache (2.2.x) 11g WebGate Instance
note: Please note that i use Apache version 2.2 (i have tried with Apache version 2.4.x but can not starting Webserver).

To deploy the WebGate instance, do the following:

  1. Go to the /u01/app/oracle/Oracle_OAMWebgate1/webgate/apache/tools/deployWebGate/ directory by running the following command:
    cd /u01/app/oracle/Oracle_OAMWebgate1/webgate/apache/tools/deployWebGate/
  2. Run the following command:
    ./deployWebGateInstance.sh -w /u01/app/apache1/ -oh /u01/app/oracle/Oracle_OAMWebgate1/ -ws apache
    export LD_LIBRARY_PATH=/u01/app/oracle/Oracle_OAMWebgate1/webgate/apache/lib/

    cd /u01/app/oracle/Oracle_OAMWebgate1/webgate/apache/tools/setup/InstallTools
    ./EditHttpConf -f /u01/app/apache1/conf/httpd.conf -oh /u01/app/oracle/Oracle_OAMWebgate1/ -w /u01/app/apache1/ -ws apache

5.  Create Apache Agent SSO on OAM
Copy  ObAccessClient.xml and cwallet.sso from OAM to webgate directory /u01/app/apache1/webgate/config/

6. Stop/start Apache.


Tuesday, November 24, 2015

Install Apache2 on Linux


Compilation and installation of the Apache2 HTTP Server on Linux

1. Requirements
- Apache Portable Runtime 1.5.2 Released
http://mirrors.viethosting.vn/apache//apr/apr-1.5.2.tar.gz
- Apache Portable Runtime Utility 1.5.4 Released
http://mirrors.viethosting.vn/apache//apr/apr-util-1.5.4.tar.gz
- Perl-Compatible Regular Expressions Library (PCRE)
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.gz

- Apache2 download:
http://mirrors.viethosting.vn/apache//httpd/httpd-2.4.17.tar.gz

2. Install
- unzip apr, apr-util, pcre, httpd-2.4.17
- copy apr, apr-util  to  httpd-2.4.17

cp -ru apr httpd-2.4.17/srclib/
cp -ru apr-util httpd-2.4.17/srclib/

- install PCRE

./configure
make
make install
- install Apache2

./configure --prefix=/u01/app/apache2/
make
make install

Thursday, November 12, 2015

Oracle Internet Directory 11g DIP(Oracle Directory Integration Platform) Synchronization with Active Directory

 Steps to configure OID DIP synchronization with Active Directory

1.Verify that your OID server will let you communicate with the Active Directory Server
[oracle@dev-oid-01 logs]$ cd $ORACLE_HOME/bin
[oracle@dev-oid-01 bin]$ ./ldapbind -h dr-rootdc-dev1 -p 389 -D "CN=pnhai,CN=Users,dc=vietin,dc=vn" -w Az123456
bind successful

2. Run the ldapsearch to obtain the last change number on Active Directory.
[oracle@dev-oid-01 bin]$ ./ldapsearch -h dr-rootdc-dev1 -p 389 -D "CN=pnhai,CN=Users,dc=vietin,dc=vn" -w Az123456 -b "" -s base "objectclass=*" highestCommittedUSN

highestCommittedUSN=773131

3. Verify that you can read the 'container' of directory entries that you wish to synchronize from AD
[oracle@dev-oid-01 bin]$ ./ldapsearch -h dr-rootdc-dev1 -p 389 -D "CN=pnhai,CN=Users,dc=vietin,dc=vn" -w Az123456 -b "OU=ANHT,dc=vietin,dc=vn" -s base "objectclass=*"

4. Verify that you can read an entry within the 'container' of directory entries that  you wish to synchronize from AD:
[oracle@dev-oid-01 bin]$ ./ldapsearch -h dr-rootdc-dev1 -p 389 -D "CN=pnhai,CN=Users,dc=vietin,dc=vn" -w Az123456 -b "CN=dev1,OU=ANHT,dc=vietin,dc=vn" -s base "objectclass=*"

5. Login to FMW Enterprise Manager console with weblogic user.
configuration DIP.

Note: Do not enable the profile at this stage.

6. Bootstrap the users using the command line tool

[oracle@dev-oid-01 bin]$ /u01/app/oracle/Middleware/Oracle_IDM1/bin/syncProfileBootstrap -h 10.6.144.245 -port 7005 -D weblogic -profile AD_to_OID -lp 5
[Weblogic user password]
Connection parameters initialized.
Connecting at 10.6.144.245:7005, with userid "weblogic"..
Connected successfully.

The bootstrap operation completed, the operation results are:
entries read in bootstrap operation: 33
entries filtered in bootstrap operation: 0
entries ignored in bootstrap operation: 0
entries processed in bootstrap operation: 23
entries failed in bootstrap operation: 10

7. Verify that all the AD users were pulled into OID according to mapping rules
 

8. Enable the profile using either FMW EM Console or via the command line tool.
 

Tuesday, November 10, 2015

how to install and configure Oracle Internet Directory

This topic describes how to install and configure Oracle Internet Directory with Oracle Directory Integration Platform, Oracle Directory Services Manager, and Fusion Middleware Control in a new WebLogic administration domain

Wednesday, November 4, 2015

503 Service Unavailable when Launching Enterprise Manager

I have recently faced an issue on a domain migration where, when accessing the Enterprise Manager console, the following error was shown: "Error 503-Service Unavailable".

By reading the Doc ID 1297193.1 on My Oracle Support I was able to figure out that the actual missing configuration was on the targets.xml file that holds the information of the Farm Domain the EM shall be targeting.

This targets.xml file is located under:
MW_HOME/user_projects/domains/<your_domain>/sysman/state


On my case, this file was empty so I had to add the necessary information for the EM application to connect to my target Farm:
<Targets>
<Target TYPE="oracle_ias_farm" NAME="Farm_soa_domain" DISPLAY_NAME="Farm_soa_domain">
<Property NAME="MachineName" VALUE="abc.com"/>
<Property NAME="Port" VALUE="7001"/>
<Property NAME="isLocal" VALUE="true"/>
<Property NAME="Protocol" VALUE="t3"/>
<Property NAME="serviceURL" VALUE="service:jmx:t3://abc.com:7001/jndi/weblogic.management.mbeanservers.domainruntime"/>
<Property NAME="WebLogicHome" VALUE="/u01/app/oracle/Middleware/wlserver_10.3"/>
<Property NAME="DomainHome" VALUE="/u01/app/oracle/Middleware/user_projects/domains/soa_domain"/>
</Target>
</Targets>