Oracle Fusion Applications 11.1.6 installation – Step by step guide

Fusion Applications 11.1.6 installation is not straightforward unlike E-Business Suite 11i/R12 installation. So we need to divide the installation into following main steps. Please note that we have changed the default order since we are going to host both RCU in one database which is fine since both have different schemas. This will save us a lot of Memory for the VM or Host.

Important Note:

If you are looking for Latest Fusion Applications 11.1.8 installation steps then you can refer to following link.

http://www.oratraining.com/blog/2014/04/oracle-fusion-applications-installation-step-by-step-guide-11-1-8/

If you are looking for Fusion Applications 11.1.5 installation steps then you can refer to following link.

http://www.oratraining.com/blog/2012/12/oracle-fusion-applications-installation-step-by-step-guide-11-1-5/

Please note that we will be performing two node installation this time with following components installed on each node.

Node 1 includes Oracle Identity and Access Management and database
Node 2 includes Fusion Applications domains

Please look at my previous article at http://www.oratraining.com/blog/2013/03/fusion-applications-architecture-for-2-node-setup/ for more details on architecture this setup

Preparing for Oracle Fusion Applications installation

  1. Downloading Oracle Fusion Applications media
  2. Creating Oracle VirtualBox Virtual Machine with Oracle Linux

OR
Install Oracle Linux or Solaris on a Physical machine (We are using physical machine with Oracle Linux this time)

3. Staging/Creating Oracle Fusion Applications provisioning repository

Installing Oracle Fusion Applications – steps

  1. Install Fusion Applications Provisioning Framework
  2. Install Oracle 11g Database (Applications Transactional Database)
  3. Run Oracle Fusion Applications Repository Creation Utility (Applications RCU)
  4. Create another database for Oracle Identity Management Infrastructure (optional)
  5. Run Repository Creation Utility (RCU) for Oracle Identity Management components
  6. Install Oracle Identity and Access Management Components
  7. Apply mandatory Patches
  8. Configure Oracle Identity and Access Management components
  9. Integrate Oracle Identity Manager (OIM) and Oracle Access Manager (OAM)
  10. Install provisioning framework on Node 2
  11. Create new Response File
  12. Provision an Applications Environment

We are going to install Fusion Applications 11.1.6 for Oracle Linux x86-64 Operating system. So we will download the installation media for Oracle Fusion Applications 11.1.6 for Linux x86-64 fromhttp://edelivery.oracle.com

Login to access the following screen.

edelivery-screen-1

Select “Oracle Fusion Applications” and required platform from the list. Click Go. Open the first pack.

edelivery-screen-2

Download the first 17 media files (excluding README and documentation library). We will not need rest of the media for this installation. Unzip all these files into one Stage directory.

Important Note: Since some of the files have very long directory path (very close to 255 characters), please unzip these files into stage folder name to keep short name. At least 2 files have very long path so let us try to avoid this.

We must have OS installed either on physical or a virtual machine in order to proceed with the installation.

Note: We can also use VMWare to host the Virtual Machine. We will post another guide on setting up VMWare virtual machine. But the good thing is that the virtual machine/disks which we create in VirtualBox, same we can use in VMWare as well since we will create .vmdk format disks. This will add flexibility for you to use it anywhere later.

We are using following configuration for our 2 nodes installation.

Server: Oracle Identity and Access Management & Database on Linux x86-64 VM (8GB RAM)

                Oracle Fusion Applications 11.1.6 on Physical server – HP ML350 with 64 GB RAM

OS: Oracle Linux 5.9 64 bit

Memory: 64GB RAM (More the memory, smoother the installation)

Swap disk: 100 GB

Local available Disk space: 300 GB on both servers (VM and Physical)

Next: Install Fusion Applications Provisioning Framework

Installing 11g Release 2 Real Application Clusters (11gR2 RAC) on Linux x86-64 Virtual Machine (VM) – Step by step installation guide

Today we will see how we can install 11g Release 2 RAC database on 2 Linux 64 bit Virtual Machines using VMWare or Oracle VirtualBox

Please note that we will need 2 Virtual Machines each with 2.5 GB of RAM. So if you have sufficient memory on your laptop/PC or server then you can host both VMs in same box or you can use 2 boxes which are connected to each other via local network.

Hardware requirements:

Processor with dual core or more

2.5 GB dedicated RAM for each VM

20 GB space for each VM

Since we are not using shared storage for Virtual Machines, we are sharing disks via NFS from one node to another. Here is how the VMs can be represented.  Please note that this is not recommended for production setup, this is just for demo installation on Virtual Machines for learning purpose. For production we must use external storage on SAN or NAS storage.

11gR2-VM-visio

Note: We also have plug and play type ready to use Virtual Machines also for those who want to learn or explore Oracle RAC without hassles of installing and configuring. Use the link on the top of this page to get these VMs if you want to skip the installation steps and directly start learning/exploring Oracle RAC technology.

For all others you can follow this guide to setup the VMs on your own. Please feel free to contact me if you face any issues using the installation guide. Also feel free to help fellow users by sharing the knowledge in comments section.

Following are the steps involved to achieve this.

1. Create Virtual Machine and install 64 bit Linux (generic step from previous post, not specific to this guide)

Please note that since we had already published document for installing Linux x86-64 on Virtual Machine using VMWare, I will not create a duplicate post here. Please refer to the same post except the hostname should be dbhost1 and full name is dbhost1.paramlabs.com. Also you can install Linux 5.9 instead of 5.7 The reason we have not installed Oracle Linux 6.x is that for using 6.x, we must upgrade the database to 11.2.0.3 while 5.x works fine with both 11.2.0.1 and 11.2.0.3. This gives us a flexibility to choose 11.2.0.1 initially and then upgrade to learn the upgrade process.

2. Add additional virtual Ethernet card and perform prerequisites in Linux

3. Copy/clone this virtual machine to create second node and modify host details

4. Setup shared file system and other pre-requisites

5. Install Oracle Clusterware

6. Install Oracle Database software and create RAC database

Please click respective link to go directly to the required step. Each page is having links to previous and next step as well as above list to directly jump to another step (except the first step since it is an older post)

Happy learning !!
Tushar

Oracle Fusion Applications Installation: Apply mandatory Patches

Previous: Install Oracle Identity and Access Management Components

Database Patches

1. PSU 11.2.0.3.4

This patch is already applied as part of database installation

2. Apply other database patches

[fusion@fmwhost patch]$ /app/fusion/database/product/11.2.0/dbhome_1/OPatch/opatch napply

All the patches are already installed as part of database creation using provisioning wizard.

The following patch(es) are already installed in the Oracle Home.

[10263668 11837095 12312133 12317925 12646746 12772404 12889054 12977501 12985184 13014128 13078786 13365700 13404129 13454210 13508115 13615767 13632653 13714926 13743987 13787482 13790109 13918644 14013094 14029429 14058884 14110275 14143796 14164849 14207317 14226599 14499293 14653598 14679292 14698700 14725518 14743385 14793168 14840138 15832953 15885799]

Please roll back the existing identical patch(es) first.

 

Weblogic Server Patches

We have 2 options to apply Weblogic patches. Here is the first method using GUI.

[fusion@fmwhost weblogic]$ mkdir /app/fusion/fmw/utils/bsu/cache_dir/

[fusion@fmwhost weblogic]$ pwd

/mnt/hgfs/setup/installers/smart_update/weblogic

[fusion@fmwhost weblogic]$ cp -pr *.jar /app/fusion/fmw/utils/bsu/cache_dir/

[fusion@fmwhost weblogic]$ cp -pr *.xml /app/fusion/fmw/utils/bsu/cache_dir/

 

Start Weblogic Smart Update using bsu command at <MW_HOME>/utils/bsu location

 

[fusion@fmwhost weblogic]$ cd /app/fusion/fmw/utils/bsu/

[fusion@fmwhost bsu]$ ./bsu.sh

 

Click on the green icon under Apply column for each of the patch to validate and apply the same.

 

 

Do the same for all other patches.

 

 

 

Once you see above screen, it means all patches are successfully applied to Weblogic.

 

Or alternatively we can use following method

 

The WebLogic server patches are available under the FA Repository/installers/smart_update/weblogic directory. Follow the patch Readme and apply all the patches in the directory. Use the following command to apply all the patches:

 

java -jar FA Repository/installers/smart_update/suwrapper/bsu-wrapper.jar \

-bsu_home=/bea/mw_home/utils/bsu -meta=./suw_metadata.txt -install \

-patchlist=<WLS Patch List>\

-patch_download_dir=FA Repository/installers/smart_update/weblogic\ -prod_dir=/u01/oim/wlserver_10.3

For the WLS Patch List, provide a comma-separated list of WLS patches from the

following directory in the FA Repository: FA Repository/installers/smart_

update/weblogic

 

IDM Patches

 

[fusion@fmwhost bsu]$ cd /mnt/hgfs/setup/installers/pltsec/patch/

[fusion@fmwhost patch]$ ls -ltr

total 0

drwxrwxrwx 1 root root 0 Jan 2 2012 13531666

drwxrwxrwx 1 root root 0 May 11 2012 14034245

drwxrwxrwx 1 root root 0 Jun 27 2012 14249414

drwxrwxrwx 1 root root 0 Oct 9 03:18 14735846

drwxrwxrwx 1 root root 0 Oct 16 12:49 14726667

 

[fusion@fmwhost patch]$ export ORACLE_HOME=/app/fusion/fmw/idm

[fusion@fmwhost patch]$ $ORACLE_HOME/OPatch/opatch napply

OPatch detects the Middleware Home as “/app/fusion/fmw”

 

Invoking utility “napply”

Checking conflict among patches…

Conflicts/Supersets for each patch are:

Patch : 14249414

Bug SubSet of 14735846

Subset bugs are:

14203797, 14177175

 

Patch : 14735846

Bug Superset of 14249414

Super set bugs are:

14203797, 14177175

Skip these patches because they are subset of other patches in the list: 14249414

Proceed with these patches: 13531666 14034245 14726667 14735846

Checking if Oracle Home has components required by patches…

 

Running prerequisite checks…

Checking conflicts against Oracle Home…

 

OPatch found that the following patches are not required.

They are either subset of the patches in Oracle Home (or) subset of the patches in the given list

(or) duplicate :

14249414

OPatch continues with these patches: 13531666 14034245 14726667 14735846

 

Do you want to proceed? [y|n]

y

User Responded with: Y

 

OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.

(Oracle Home = ‘/app/fusion/fmw/idm’)

 

Is the local system ready for patching? [y|n]

y

UtilSession: N-Apply done.

——————————————————————————–

The following warnings have occurred during OPatch execution:

1) OUI-67302:

OPatch found that the following patches are not required.

They are either subset of the patches in Oracle Home (or) subset of the patches in the given list

(or) duplicate :

14249414

——————————————————————————–

OPatch Session completed with warnings.

OPatch completed with warnings.

 

Post step for 14735846

[fusion@fmwhost ~]$ cd /app/fusion/fmw/idm/ldap/admin/

[fusion@fmwhost admin]$ sqlplus ods@fusiondb

spool OID_Patch.txt

@oidtblkl.sql

@oidx11116.sql

@ldapxpkg.sql

 

[fusion@fmwhost admin]$ ls -ltr OID_Patch.txt

-rw-r–r– 1 fusion dba 425948 Mar 4 15:25 OID_Patch.txt

 

Patch Common Oracle Homes

 

[fusion@fmwhost patch]$ cd /mnt/hgfs/setup/installers/oracle_common/patch

[fusion@fmwhost patch]$ export ORACLE_HOME=/app/fusion/fmw/oracle_common

[fusion@fmwhost patch]$ ls -ltr

total 0

drwxrwxrwx 1 root root 0 Dec 22 2011 12556084

drwxrwxrwx 1 root root 0 Feb 3 2012 13639146

drwxrwxrwx 1 root root 0 Feb 13 2012 13713159

drwxrwxrwx 1 root root 0 Feb 13 2012 13713541

drwxrwxrwx 1 root root 0 Feb 16 2012 13511837

drwxrwxrwx 1 root root 0 Mar 2 2012 13805105

drwxrwxrwx 1 root root 0 Mar 8 2012 13807335

drwxrwxrwx 1 root root 0 May 9 2012 14054792

drwxrwxrwx 1 root root 0 May 24 2012 14109342

drwxrwxrwx 1 root root 0 Jul 20 2012 14336421

drwxrwxrwx 1 root root 0 Aug 3 2012 14311636

drwxrwxrwx 1 root root 0 Sep 21 06:49 14656857

drwxrwxrwx 1 root root 0 Oct 15 13:07 14763194

drwxrwxrwx 1 root root 0 Oct 18 00:49 14776651

drwxrwxrwx 1 root root 0 Oct 23 09:28 14740858

drwxrwxrwx 1 root root 0 Nov 7 04:57 15842871

drwxrwxrwx 1 root root 0 Nov 16 03:50 15878911

drwxrwxrwx 1 root root 0 Nov 20 18:01 14781147

drwxrwxrwx 1 root root 0 Nov 29 13:11 15935215

drwxrwxrwx 1 root root 0 Nov 30 03:55 15937259

[fusion@fmwhost patch]$ $ORACLE_HOME/OPatch/opatch napply

The local system has been patched and can be restarted.

UtilSession: N-Apply done.

OPatch succeeded.

 

IAM Patches

 

[fusion@fmwhost patch]$ cd /mnt/hgfs/setup/installers/idm/patch/

[fusion@fmwhost patch]$ ls -ltr

total 2

drwxrwxrwx 1 root root 4096 Jan 23 2012 13399365

drwxrwxrwx 1 root root 0 Feb 2 2012 13115859

drwxrwxrwx 1 root root 0 Jul 19 2012 14345968

drwxrwxrwx 1 root root 0 Oct 10 07:04 14741964

drwxrwxrwx 1 root root 0 Oct 26 15:33 14810463

drwxrwxrwx 1 root root 0 Nov 12 02:55 15860686

drwxrwxrwx 1 root root 0 Nov 26 06:07 15908418

drwxrwxrwx 1 root root 0 Dec 21 17:12 15903122

drwxrwxrwx 1 root root 0 Dec 21 17:12 15938034

drwxrwxrwx 1 root root 0 Dec 21 17:12 12418680

[fusion@fmwhost patch]$ export ORACLE_HOME=/app/fusion/fmw/iam

[fusion@fmwhost patch]$ $ORACLE_HOME/OPatch/opatch napply

Do you want to proceed? [y|n]

y

Is the local system ready for patching? [y|n]

y

The local system has been patched and can be restarted.

 

UtilSession: N-Apply done.

 

OPatch succeeded.

 

Post step for 13115859 – not required since we have not yet created any domain

Post step for 15903122 – only for existing Fusion Applications installation

Post step for 15938034 – only for systems using DevOps, remaining environments need not apply this

 

 

Post-Patch Instructions for IDM and IAM

 

Patch SOA

 

[fusion@fmwhost patch]$ cd /mnt/hgfs/setup/installers/soa/patch/

[fusion@fmwhost patch]$ ls -ltr

total 0

drwxrwxrwx 1 root root 0 Mar 20 2012 13263008

drwxrwxrwx 1 root root 0 Aug 16 2012 14501468

drwxrwxrwx 1 root root 0 Nov 20 18:00 14781147

[fusion@fmwhost patch]$ export ORACLE_HOME=/app/fusion/fmw/SOA

[fusion@fmwhost patch]$ $ORACLE_HOME/OPatch/opatch napply

Do you want to proceed? [y|n]

y

The local system has been patched and can be restarted.

 

UtilSession: N-Apply done.

 

OPatch succeeded.

 

Patch OHS/Web

[fusion@fmwhost patch]$ cd /mnt/hgfs/setup/installers/webtier/patch/

[fusion@fmwhost patch]$ export ORACLE_HOME=/app/fusion/fmw/web

[fusion@fmwhost patch]$ ls -ltr

total 0

drwxrwxrwx 1 root root 0 Jul 2 2012 14264658

drwxrwxrwx 1 root root 0 Oct 1 02:00 14695345

[fusion@fmwhost patch]$ $ORACLE_HOME/OPatch/opatch napply

Do you want to proceed? [y|n]

y

Is the local system ready for patching? [y|n]

Y

The local system has been patched and can be restarted.

 

UtilSession: N-Apply done.

 

OPatch succeeded.

 

Applying Workarounds

 

Provisioning the OIM Login Modules Under the WebLogic Server Library Directory

 

Due to issues with versions of the configuration wizard, some environmental variables are not added to the DOMAIN_HOME/bin/setDomainenv.sh script. This causes certain install sequences to fail. This is a temporary workaround for that problem.

 

1. Copy the files located under the IAM_ORACLE_HOME/server/loginmodule/wls directory to the MW_HOME/wlserver_10.3/server/lib/mbeantypes directory.

 

[fusion@fmwhost ~]$ ls -ltr /app/fusion/fmw/wlserver_10.3/server/lib/mbeantypes/

total 2896

-rwxr-x— 1 fusion dba 225160 Mar 3 17:23 xacmlSecurityProviders.jar

-rwxr-x— 1 fusion dba 89950 Mar 3 17:23 wlManagementMBean.jar

-rwxr-x— 1 fusion dba 231618 Mar 3 17:23 wlManagementImplSource.jar

-rwxr-x— 1 fusion dba 54884 Mar 3 17:23 systemPasswordValidatorProvider.jar

-rwxr-x— 1 fusion dba 163566 Mar 3 17:23 saml2IdentityAsserter.jar

-rwxr-x— 1 fusion dba 181014 Mar 3 17:23 saml2CredentialMapper.jar

-rwxr-x— 1 fusion dba 1662107 Mar 3 17:23 cssWlSecurityProviders.jar

-rwxr-x— 1 fusion dba 8139 Mar 3 17:23 commo.dtd

-rwxr-x— 1 fusion dba 306020 Mar 3 17:23 WLSSSecurityProviders.jar

 

[fusion@fmwhost ~]$ ls -ltr /app/fusion/fmw/iam/server/loginmodule/wls/

total 1604

-rwxrwxrwx 1 fusion dba 430383 Oct 10 07:04 oimsignaturembean.jar

-rwxrwxrwx 1 fusion dba 432248 Oct 10 07:04 oimsigmbean.jar

-rwxrwxrwx 1 fusion dba 421374 Oct 10 07:04 oimmbean.jar

-rwxrwxrwx 1 fusion dba 333397 Oct 10 07:04 OIMAuthenticator.jar

 

[fusion@fmwhost ~]$ cp -pr /app/fusion/fmw/iam/server/loginmodule/wls/* /app/fusion/fmw/wlserver_10.3/server/lib/mbeantypes/

 

2. Change directory to MW_HOME/wlserver_10.3/server/lib/mbeantypes/

 

[fusion@fmwhost ~]$ cd /app/fusion/fmw/wlserver_10.3/server/lib/mbeantypes/

 

3. Change the permissions on these files to 750 by using the chmod command.

 

[fusion@fmwhost mbeantypes]$ chmod 750 *

 

Creating the wlfullclient.jar File

 

Oracle Identity Manager uses the wlfullclient.jar library for certain operations. Oracle does not ship this library, so you must create this library manually. We will see mention of this during provisioning.

 

[fusion@fmwhost ~]$ cd /app/fusion/fmw/wlserver_10.3/server/lib

[fusion@fmwhost lib]$ ls -l wlfullclient.jar

wlfullclient.jar: No such file or directory

 

[fusion@fmwhost lib]$ java -jar wljarbuilder.jar

Created new jar file: /app/fusion/fmw/wlserver_10.3/server/lib/wlfullclient.jar

 

[fusion@fmwhost lib]$ ls -l wlfullclient.jar

-rw-r–r– 1 fusion dba 55004433 Mar 4 17:14 wlfullclient.jar

 

This concludes the installation of Oracle Identity Management components. Instead of directly configuring these components, we need to apply the mandatory patches first. These patches are listed in the latest release notes. Please refer to the latest release notes for the list of updated patches when you are installing.

Please note that the Webgate Patch is pending since we are yet to install webgate. We will install if required after installing webgate later

Next: Configure Oracle Identity and Access Management components

Installing Oracle Fusion Applications – steps

  1. Install Fusion Applications Provisioning Framework
  2. Install Oracle 11g Database (Applications Transactional Database)
  3. Run Oracle Fusion Applications Repository Creation Utility (Applications RCU)
  4. Create another database for Oracle Identity Management Infrastructure (optional)
  5. Run Repository Creation Utility (RCU) for Oracle Identity Management components
  6. Install Oracle Identity and Access Management Components
  7. Apply mandatory Patches
  8. Configure Oracle Identity and Access Management components
  9. Integrate Oracle Identity Manager (OIM) and Oracle Access Manager (OAM)
  10. Install provisioning framework on Node 2
  11. Create new Response File
  12. Provision an Applications Environment (Editing in progress, this link currently points to 11.1.5 counterpart)