You are on page 1of 86

Oracle 11g Fusion Middleware Installation and Configuration

This note describes the (long) process of installing an 11g Fusion Middleware environment with Forms, Reports, Discoverer and Portal on an Oracle Enterprise Linux 5.6 64 Bit platform. If you are not using Oracle Portal , then you do not need to configure Identity Management and Single Sign On which is a real big pain as there is no 11g SSO as yet and we have to install, upgrade and configure 10g SSO/DAS as well with a number of patches. These are the top level steps: Install Java SE Development Kit 6u25 Install Oracle Weblogic Server 11g Release 1 ( 10.3.2) Install Oracle 11g R2 Database software (can be on same machine as Middleware or different server) Create the 11g R2 repository database Download the Repository creation for Windows available in 32 bit for Linux and Windows ( ofm_rcu_win32_11.1.1.3.3_disk1_1of1.zip) change compatibility for Windows 7 to run it Make changes to the database required for running the RCU Run the RCU and create all the required schemas in the repository database like DEV_PORTAL, DEV_DISCOVERER etc Install 11g Identity management Install 10g SSO o o o o o o o Run inspre11.pls (with -op1) Install SSO MRCA 10.1.4.3.1 on Windows - not available for 64 bit Linux - change compatibility to Windows XP since we have installed on Windows 7 client PC (ofm_sso_rcu_win_10.1.4.3.1_disk1_1of1.zip) Reset the ODS Password Run inspre11.pls (with -op2) Install SSO/DAS 10.1.4.0.1 (into a NEW Oracle Home - this must be a different Oracle Home from OID/DIP 11gR1) Apply patch 688088 (p6880880_101000_Linux-x86-64.zip) Apply Patch 5649850 for release 10.1.0.5 (p5649850_10105_GENERIC.zip)

Apply patch 6265268 (p6265268_101430_GENERIC.zip)

Upgrade SSO/DAS to 10.1.4.3 (p7215628_101430_LINUX.zip) Run inspre11.pls (with -op3) Install Oracle 11g Portal, Forms, Reports and Discoverer

Notes
Installing Java SE Development Kit 6u25
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u25-oth-JPR jdk-6u25-linux-x64.bin

[root@kens-oraapp-001 software]# mv jdk-6u25-linux-x64.bin /usr [root@kens-oraapp-001 usr]# sh jdk-6u25-linux-x64.bin Press Enter to continue [root@kens-oraapp-001 usr]# cd jdk1.6.0_25/ [root@kens-oraapp-001 jdk1.6.0_25]# ls bin COPYRIGHT db demo include jre lib LICENSE man README.html register.html register_ja.html register_zh_CN.html sample src.zip THIRDPARTYLICENSEREADME.txt Edit .bash_profile
JAVA_HOME=/usr/jdk1.6.0_25/bin;export JAVA_HOME

PATH=$JAVA_HOME:$PATH:$HOME/bin export PATH

Check Java version [oracle@kens-oraapp-001 ~]$ . ./.bash_profile [oracle@kens-oraapp-001 ~]$ java version java version "1.6.0_25" Java(TM) SE Runtime Environment (build 1.6.0_25-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

Install Oracle WebLogic Server 10.3.2

You may have some issue here as it does not progress to the next screen when you click on Yes - I answered No and when it took me to the next screen to enter the proxy information, I ticked the check-box I wish to remain uninformed . And then clicked on Continue

Repository Creation Utility


Note before running the RCU, we have installed the 11g R2 database software and have already created the repository database FMWREPO. Since we have created the database via DBCA, we will need to change some of the database parameters as well as increase the size of the TEMP tablespace.

Increase tempfile to 200mb SQL> select name from v$tempfile; NAME -------------------------------------------------------------------------------/u01/oradata/fmwrepo/temp01.dbf SQL> alter database tempfile '/u01/oradata/fmwrepo/temp01.dbf' resize 200m; Database altered. SQL> Increase Processes to 500 Open_cursors to 800

Since I was using Windows 7 64 bit, I had to change the compatibility mode of the rcu.bat file to Windows XP SP 3

Changed the Temp tablespace to TEMP, otherwise it creates a separate Temporary tablespace for each schema

11g identity management

Check all components are running

[oracle@kens-oraapp-001 [oracle@kens-oraapp-001 [oracle@kens-oraapp-001 opmnctl [oracle@kens-oraapp-001

Oracle_IDM1]$ cd .. Middleware]$ cd asinst_1/bin bin]$ ls bin]$ ./opmnctl status

Processes in Instance: asinst_1 ---------------------------------+--------------------+---------+--------ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------ohs1 | OHS | 18011 | Alive ovd1 | OVD | 16468 | Alive oid1 | oidldapd | 16350 | Alive oid1 | oidldapd | 16354 | Alive oid1 | oidmon | 16341 | Alive EMAGENT | EMAGENT | 17116 | Alive

OID 11g and SSO 10g


Some useful guides and notes
Follow Section 10 Installing Oracle Single Sign-On and Oracle Delegated Administration Services against Oracle Internet Directory from Oracle Fusion Middleware Installation Guide for Oracle Identity Management 11g Release 1 (11.1.1) to perform the installation of Oracle Single Sign-on Server and Oracle Delegated Administration Services. http://download.oracle.com/docs/cd/E17904_01/install.1111/e12002/sso_das002.htm How to Install SSO 10g with Oracle Fusion Middleware 11g [ID 1069426.1]

Run inspre11.pls (with -op1)

$OID11gR1_ORACLE_HOME/perl/bin/perl \ $OID11gR1_ORACLE_HOME/ldap/bin/inspre11.pl OID_HOST OID_PORT {-ssl | -nonssl} \ OID_COMPONENT TNS_CONNECT_STRING ODS_PASSWORD ORCLADMIN_PASSWORD op1

[oracle@kens-oraapp-001 Oracle_IDM1]$ export ORACLE_INSTANCE=/u01/app/oracle/Middleware/asinst_1 [oracle@kens-oraapp-001 Oracle_IDM1]$ /u01/app/oracle/Middleware/Oracle_IDM1/perl/bin/perl /u01/app/oracle/Middleware/Oracle_IDM1/ldap/bin/inspre11.pl kens-oraapp-001 3131 -ssl oid1 kens-oraapp001:1521:fmwrepo.corporateict.domain mypwd mypwd -op1 Use RepCA to load SSO and other schemas against DB before running -op2

SQL> select ATTRVAL from ODS.DS_ATTRSTORE where ENTRYID = 1 and ATTRNAME = 'orcldirectoryversion'; ATTRVAL -------------------------------------------------------------------------------OID 11.1.1.3.0

Download SSO Metadata Repository Creation Assistant (10.1.4.3.1) for Windows


o
o Had to run setup.exe in Windows XP compatability mode since client was Windows 7 64 bit Make changes to SYSTEM and UNDO tablespace and some database parameters mentioned below

SQL> select name,bytes/1048576 from v$datafile where name like '%system%'; NAME -------------------------------------------------------------------------------BYTES/1048576 ------------/u01/oradata/fmwrepo/system01.dbf 910 SQL> alter database datafile '/u01/oradata/fmwrepo/system01.dbf' resize 1500m; Database altered. SQL> select name,bytes/1048576 from v$datafile where name like '%undo%'; NAME -------------------------------------------------------------------------------BYTES/1048576 ------------/u01/oradata/fmwrepo/undotbs01.dbf 315 SQL> alter database datafile '/u01/oradata/fmwrepo/undotbs01.dbf' resize 800m; Database altered.
Before loading the schema using MRCA, please ensure that the following initial database parameter minimum requirements are met for the repository database:

db_cache_size=160M java_pool_size=130M shared_pool_size=190M

MRCA installation

As per Metalink note, we can ignore this error message

Reset ODS password as running MRCA invalidates the ODS account password

SQL> conn ods/mypwd ERROR: ORA-01017: invalid username/password; logon denied Warning: You are no longer connected to ORACLE. SQL> alter user ods identified by mypwd; User altered. export TNS_ADMIN=/u01/app/oracle/Middleware/asinst_1/config [oracle@kens-oraapp-001 bin]$ export ORACLE_HOME=/u01/app/oracle/Middleware/Oracle_IDM1 [oracle@kens-oraapp-001 bin]$ ./oidpasswd connect=OIDDB create_wallet=TRUE password: confirm password: password set

Run inspre11.pls (with -op2)

$OID11gR1_ORACLE_HOME/perl/bin/perl \ $OID11gR1_ORACLE_HOME/ldap/bin/inspre11.pl OID_HOST OID_PORT {-ssl | -nonssl} \ OID_COMPONENT TNS_CONNECT_STRING ODS_PASSWORD ORCLADMIN_PASSWORD op2

/u01/app/oracle/Middleware/Oracle_IDM1/perl/bin ./perl /u01/app/oracle/Middleware/Oracle_IDM1/ldap/bin/inspre11.pl kens-oraapp-001 3131 -ssl oid1 kens-oraapp001:1521:fmwrepo.corporateict.domain mypwd mypwd op2

Got this error Failed to open file /u01/app/oracle/Middleware/asinst_1/diagnostics/logs/OID/tools/resultsV.txt : No such file or directory at /u01/app/oracle/Middleware/Oracle_IDM1/ldap/bin/inspre11.pl line 312.
Read Metalink Note INSPRE11.PL SCRIPT FAILS WITH VARIOUS ERRORS USING THE -OP2 OPTION [ID 1064916.1]

[oracle@kens-oraapp-001 bin]$ ./perl /u01/app/oracle/Middleware/Oracle_IDM1/ldap/bin/inspre11.pl kens-oraapp-001 3131 -ssl oid1 OIDDB mypwd mypwd -op2 Install SSO/DAS against 11g OID before running -op3

SQL> select ATTRVAL from ODS.DS_ATTRSTORE where ENTRYID = 1 and ATTRNAME = 'orcldirectoryversion'; ATTRVAL -------------------------------------------------------------------------------OID 10.1.4.0.1

You might also like