11g fusion middleware installation part 1

90
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 Run inspre11.pls (with -op1) o 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) o Reset the ODS Password o Run inspre11.pls (with -op2) o Install SSO/DAS 10.1.4.0.1 (into a NEW Oracle Home - this must be a different Oracle Home from OID/DIP 11gR1) o Apply patch 688088 (p6880880_101000_Linux-x86-64.zip)

Upload: rams08

Post on 03-Nov-2014

152 views

Category:

Documents


5 download

DESCRIPTION

11g Fusion Middleware Installation Part 1

TRANSCRIPT

Page 1: 11g Fusion Middleware Installation Part 1

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 Run inspre11.pls (with -op1)o 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)o Reset the ODS Passwordo Run inspre11.pls (with -op2)o Install SSO/DAS 10.1.4.0.1 (into a NEW Oracle Home - this must be a different Oracle Home from OID/DIP 11gR1)

o Apply patch 688088 (p6880880_101000_Linux-x86-64.zip)o Apply Patch 5649850 for release 10.1.0.5 (p5649850_10105_GENERIC.zip)o Apply patch 6265268 (p6265268_101430_GENERIC.zip)

Upgrade SSO/DAS to 10.1.4.3 (p7215628_101430_LINUX.zip)

Page 2: 11g Fusion Middleware Installation Part 1

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.binPress 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

Page 3: 11g Fusion Middleware Installation Part 1

[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)

Page 4: 11g Fusion Middleware Installation Part 1

Install Oracle WebLogic Server 10.3.2

Page 5: 11g Fusion Middleware Installation Part 1
Page 6: 11g Fusion Middleware Installation Part 1
Page 7: 11g Fusion Middleware Installation Part 1

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

Page 8: 11g Fusion Middleware Installation Part 1

Y

Page 9: 11g Fusion Middleware Installation Part 1
Page 10: 11g Fusion Middleware Installation Part 1
Page 11: 11g Fusion Middleware Installation Part 1
Page 12: 11g Fusion Middleware Installation Part 1
Page 13: 11g Fusion Middleware Installation Part 1
Page 14: 11g Fusion Middleware Installation Part 1
Page 15: 11g Fusion Middleware Installation Part 1
Page 16: 11g Fusion Middleware Installation Part 1

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

Page 17: 11g Fusion Middleware Installation Part 1

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

Page 18: 11g Fusion Middleware Installation Part 1
Page 19: 11g Fusion Middleware Installation Part 1
Page 20: 11g Fusion Middleware Installation Part 1
Page 21: 11g Fusion Middleware Installation Part 1
Page 22: 11g Fusion Middleware Installation Part 1
Page 23: 11g Fusion Middleware Installation Part 1
Page 24: 11g Fusion Middleware Installation Part 1
Page 25: 11g Fusion Middleware Installation Part 1
Page 26: 11g Fusion Middleware Installation Part 1

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

Page 27: 11g Fusion Middleware Installation Part 1

1

Page 28: 11g Fusion Middleware Installation Part 1
Page 29: 11g Fusion Middleware Installation Part 1
Page 30: 11g Fusion Middleware Installation Part 1
Page 31: 11g Fusion Middleware Installation Part 1
Page 32: 11g Fusion Middleware Installation Part 1
Page 33: 11g Fusion Middleware Installation Part 1
Page 34: 11g Fusion Middleware Installation Part 1
Page 35: 11g Fusion Middleware Installation Part 1

11g identity management

Page 36: 11g Fusion Middleware Installation Part 1
Page 37: 11g Fusion Middleware Installation Part 1
Page 38: 11g Fusion Middleware Installation Part 1
Page 39: 11g Fusion Middleware Installation Part 1
Page 40: 11g Fusion Middleware Installation Part 1
Page 41: 11g Fusion Middleware Installation Part 1
Page 42: 11g Fusion Middleware Installation Part 1
Page 43: 11g Fusion Middleware Installation Part 1
Page 44: 11g Fusion Middleware Installation Part 1
Page 45: 11g Fusion Middleware Installation Part 1
Page 46: 11g Fusion Middleware Installation Part 1
Page 47: 11g Fusion Middleware Installation Part 1
Page 48: 11g Fusion Middleware Installation Part 1
Page 49: 11g Fusion Middleware Installation Part 1
Page 50: 11g Fusion Middleware Installation Part 1
Page 51: 11g Fusion Middleware Installation Part 1
Page 52: 11g Fusion Middleware Installation Part 1
Page 53: 11g Fusion Middleware Installation Part 1
Page 54: 11g Fusion Middleware Installation Part 1
Page 55: 11g Fusion Middleware Installation Part 1
Page 56: 11g Fusion Middleware Installation Part 1
Page 57: 11g Fusion Middleware Installation Part 1
Page 58: 11g Fusion Middleware Installation Part 1

Check all components are running

[oracle@kens-oraapp-001 Oracle_IDM1]$ cd ..[oracle@kens-oraapp-001 Middleware]$ cd asinst_1/bin[oracle@kens-oraapp-001 bin]$ lsopmnctl[oracle@kens-oraapp-001 bin]$ ./opmnctl status

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

Page 59: 11g Fusion Middleware Installation Part 1

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 11 g 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-oraapp-001: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

Page 60: 11g Fusion Middleware Installation Part 1

Download SSO Metadata Repository Creation Assistant (10.1.4.3.1) for Windows

o Had to run setup.exe in Windows XP compatability mode since client was Windows 7 64 bit

o 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

Page 61: 11g Fusion Middleware Installation Part 1

java_pool_size=130M shared_pool_size=190M

MRCA installation

Page 62: 11g Fusion Middleware Installation Part 1
Page 63: 11g Fusion Middleware Installation Part 1
Page 64: 11g Fusion Middleware Installation Part 1
Page 65: 11g Fusion Middleware Installation Part 1
Page 66: 11g Fusion Middleware Installation Part 1
Page 67: 11g Fusion Middleware Installation Part 1
Page 68: 11g Fusion Middleware Installation Part 1
Page 69: 11g Fusion Middleware Installation Part 1
Page 70: 11g Fusion Middleware Installation Part 1
Page 71: 11g Fusion Middleware Installation Part 1
Page 72: 11g Fusion Middleware Installation Part 1
Page 73: 11g Fusion Middleware Installation Part 1
Page 74: 11g Fusion Middleware Installation Part 1
Page 75: 11g Fusion Middleware Installation Part 1

As per Metalink note, we can ignore this error message

Page 76: 11g Fusion Middleware Installation Part 1
Page 77: 11g Fusion Middleware Installation Part 1
Page 78: 11g Fusion Middleware Installation Part 1
Page 79: 11g Fusion Middleware Installation Part 1
Page 80: 11g Fusion Middleware Installation Part 1
Page 81: 11g Fusion Middleware Installation Part 1
Page 82: 11g Fusion Middleware Installation Part 1
Page 83: 11g Fusion Middleware Installation Part 1
Page 84: 11g Fusion Middleware Installation Part 1
Page 85: 11g Fusion Middleware Installation Part 1
Page 86: 11g Fusion Middleware Installation Part 1

Reset ODS password as running MRCA invalidates the ODS account password

SQL> conn ods/mypwdERROR: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-oraapp-001:1521:fmwrepo.corporateict.domain mypwd mypwd –op2

Page 87: 11g Fusion Middleware Installation Part 1

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