Oracle Forms&Reports 11g (FMW) Setup For Zamil - V2
Oracle Forms&Reports 11g (FMW) Setup For Zamil - V2
egabi Page 2 of
Introduction
The Oracle Identity Management products enable you to configure and manage
the identities of users, devices, and services across diverse servers, to delegate
administration of these identities, and to provide end users with self-service
privileges. These products also enable you to configure single sign-on across
applications and to process users' credentials to ensure that only users with
valid credentials can log into and access online resources.
* Oracle Access Manager 11g provides a full range of Web perimeter security
functions that include Web single sign-on; authentication and authorization;
policy administration; auditing, and more.
* Single sign-on (SSO) enables users, and groups of users, to access multiple
applications after authentication. SSO eliminates multiple sign-on requests.
Oracle Access Manager 11g is the Oracle Fusion Middleware 11g single sign-on
solution. Oracle Access Manager 11g operates independently as described in
this book and also operates with the Oracle Access Manager Authentication
Provider .
egabi Page 3 of
* Oracle Access Manager 11g is a Java Platform, Enterprise Edition (Java EE)-
based enterprise-level security application that provides restricted access to
confidential information and centralized authentication and authorization
services. All existing access technologies in the Oracle Identity Management
stack converge in Oracle Access Manager 11g.
egabi Page 4 of
Environment Specification
The Test environment premise consists of two servers with configuration as below:
Network Information
Description Primary
Public dmmziapp1.ziic.net 172.16.4.7
dmmziapp2.ziic.net 172.16.4.8
egabi Page 5 of
Oracle Identity and Access Management Setup
Each Server in Zamil is running on Red Hat Linux 64 bit
egabi Page 6 of
First Node Configuration
egabi Page 7 of
egabi Page 8 of
egabi Page 9 of
WEBLOGIC INSTALLATION
egabi Page 10 of
egabi Page 11 of
egabi Page 12 of
egabi Page 13 of
egabi Page 14 of
egabi Page 15 of
ORACLE ACCESS MANAGER INSTALLATION
egabi Page 16 of
egabi Page 17 of
egabi Page 18 of
egabi Page 19 of
ORACLE INTERNET DIRECTORY INSTALLATION
egabi Page 20 of
egabi Page 21 of
egabi Page 22 of
egabi Page 23 of
egabi Page 24 of
egabi Page 25 of
egabi Page 26 of
egabi Page 27 of
CREATE SCHEMAS USING REPOSITORY CREATION UTILITY
egabi Page 28 of
egabi Page 29 of
egabi Page 30 of
egabi Page 31 of
egabi Page 32 of
egabi Page 33 of
egabi Page 34 of
ORACLE ACCESS MANAGER CONFIGURATION
egabi Page 35 of
egabi Page 36 of
egabi Page 37 of
egabi Page 38 of
egabi Page 39 of
egabi Page 40 of
egabi Page 41 of
Second Node Installation
These Steps are done for 1ST Node and and must performed also for 2nd Node
Oracle JRockit-jdk software Release2 (1.6.2) 64 bit .
Oracle Weblogic Server11g software Release 1 (10.3.5.0)
Install Oracle Access Manager 11.1.1.5
egabi Page 42 of
egabi Page 43 of
egabi Page 44 of
egabi Page 45 of
egabi Page 46 of
egabi Page 47 of
egabi Page 48 of
egabi Page 49 of
EXTENDING OAM DOMAIN TO SECOND NODE
We can configure OAM for second node by following the below steps :
MW_HOME/oracle_common/common/bin directory.
pack.sh -domain=$MW_HOME/user_projects/domains/ZiTT_Domain \
-template=/tmp/idm_domain.jar -template_name="ZiTT_Domain" -managed=true
unpack.sh -domain=$MW_HOME/user_projects/domains/ZiTT_Domain\
-template=/tmp/ZiTT_Domain.jar
egabi Page 50 of
MIGRATING OID
In this phase, we have migrated all OID entries from current production environment to the
new environment. There are three tools you will need. The first is ldapsearch, and the second
is ldapadd, and the third is bulkload. These are described in the Oracle Internet.
delete any non-custom objects from the resultant file before you load it into your new OID
This would pull all entries with a value for cn (presumably this describes your user entries)
below dc=ziic,dc=net
The generated LDIF File should be look like the following figure:
Third ,
Using ldapadd to load the objectclasses and attributetypes, so that when you add your
egabi Page 51 of
users, their objects already exist
Finally, once these are loaded successfully, then bulkload the user entries, in the file where you have
already cleaned out the system operational attributes.
egabi Page 52 of
egabi Page 53 of
egabi Page 54 of
Oracle Forms and Reports Setup
This section describe the configuration and setup details for Oracle forms and
reports 11.1.2 against Linux Redhat environment running in clustered mode with
Single Sign on configuration.
We must ensure that Oracle Forms has Its own Middleware Home for High
Performance
TASK PREREQUISITES
INSTALL JROCKIT SOFTWARE
INSTALL WEBLOGIC 11G R1 10.3.3.5
egabi Page 55 of
egabi Page 56 of
egabi Page 57 of
egabi Page 58 of
egabi Page 59 of
egabi Page 60 of
egabi Page 61 of
egabi Page 62 of
Second Node Installation
egabi Page 63 of
egabi Page 64 of
egabi Page 65 of
egabi Page 66 of
egabi Page 67 of
egabi Page 68 of
Verify Oracle Forms and Reports Installation
Login to Weblogic console server installed on new Forms middleware home to
check and verify the setup of forms and reports in clustered mode.
egabi Page 69 of
Integrating Oracle Forms with Oracle Access manager using Webgate
The authentication schema of forms and reports application will utilize Oracle
access manager using Oracle webgate authentication module as explained in below
diagram:
egabi Page 70 of
egabi Page 71 of
egabi Page 72 of
egabi Page 73 of
egabi Page 74 of
egabi Page 75 of
Install Oracle Webtier 11.1.1.3
egabi Page 76 of
egabi Page 77 of
egabi Page 78 of
Configure Oracle Webtier 11g
$config.sh
egabi Page 79 of
egabi Page 80 of
egabi Page 81 of
egabi Page 82 of
egabi Page 83 of
egabi Page 84 of
Install Webgate 11.1.6
egabi Page 85 of
egabi Page 86 of
egabi Page 87 of
egabi Page 88 of
Configure OAM Agent
To Integrate Oracle Forms with Oracle Access Manager using Webgate , we must
create OAM Agent by the following Steps :
1. BY defining Webgate Instance Directory to the HTTP server which runs the
Forms application "/u02/app/Oracle/FMR_Middle/asinst_1/config/OHS/ohs1/"
2. Deploy Webgate
cd /u02/app/Oracle/Middlewarre/Oracle_OAMWebGate1/webgate/ohs/tools/deployWebGate
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/u02/app/Oracle//Middlewarre/Oracle_WT1
3. EditHttConf
cd /u02/app/Oracle/Middlewarre/Oracle_OAMWebGate1/webgate/ohs/tools/setup/InstallTools
cd /u02/app/Oracle/Middlewarre/Oracle_OAM/oam/server/rreg/client/rreg/bin
./oamreg.sh inband
/u02/app/Oracle/Middlewarre/Oracle_OAM/oam/server/rreg/client/rreg/input/OAM11GRequest.xm
l
cp -Rf
/u02/app/Oracle/Middlewarre/Oracle_OAM/oam/server/rreg/client/rreg/output/dmmziappt1/*
/u02/app/Oracle/FMR_Middle/asinst_1/config/OHS/ohs1/webgate/config/
egabi Page 89 of
It will redirect you to OAM but no credentials is working. Please try to create a
simple HTML on the Apache directory of forms and test again
Integrate Oacle Forms with Oracle Access Manager completed successfully and
also we deployed a sample Application Form for testing
egabi Page 90 of
egabi Page 91 of
egabi Page 92 of
egabi Page 93 of
APPENDIX
Application URLs and access information
Admin Server (default port 7001) for OAM
http://dmmziapp1.ziic.net:7001/oamconsole
a) http://dmmziapp1.ziic.net:14100/oam
b) http:// dmmziapp2.ziic.net:14100/oam
a) http://dmmziapp1.ziic.net:7005/odsm
b) http://dmmziapp2.ziic.net:7005/odsm
a) http://dmmziapp1.ziic.net:9001
b)http:// dmmziapp2.ziic.net:9001
c) http:// dmmziapp1.ziic.net:9002
d) http:// dmmziapp2.ziic.net:9002
For Example :
http://172.16.4.7:8888/forms/frmservlet?
http://172.16.4.7:8888/reports/rwservlet ?
egabi Page 94 of
Starting and stopping Oracle services
/..//domain/ZiTT_Domain/bin
./startWeblogic
./startManagedServer instance_name
Start instances
./opmnctl startall
Start nodemanager
/../../wlserver10.3/server/bin
./startNodeManager
./stopWeblogic
./stopManagedServer instance_name
Stop instances
./opmnctl stopall
Stop nodemanager
ps ef | grep nodemanager
kill -9 pid
egabi Page 95 of