Install Fusion Applications Provisioning Framework on IDM Host

Installing Oracle Fusion Applications > Setting up Identity and Access Management Node > Install Fusion Applications Provisioning Framework

Pro Oracle Fusion Applications – Installation and Administration

Now you can buy the first and only comprehensive book on Oracle Fusion Applications Installation and Administration which covers end to end information on introduction, planning, installation and troubleshooting guides for implementing Fusion Applications on premise. Buy it now from any of the following stores.

http://www.amazon.com/Pro-Oracle-Fusion-Applications-Administration/dp/1484209842

http://www.barnesandnoble.com/w/pro-oracle-fusion-applications-tushar-thakker/1121094340

http://www.apress.com/9781484209844

http://www.springer.com/us/book/9781484209844

Since we are using Oracle VirtualBox VM this time, we have created stage directory on our Windows host and we need to share this on Linux Guest OS using shared folder.

Note: If you are installing on physical host then you simply create the stage directory at /stage location.

Make sure that the IP, hostname etc are correctly set for idmhost

[root@idmhost ~]# service network restart

Let us mount the shared directory from VirtualBox on Linux guest.

[root@idmhost ~]# mkdir /stage

[root@idmhost ~]# mount -t vboxsf stage /stage

[root@idmhost ~]# ls -ltr /stage

total 12

drwxrwxrwx 1 root root 8192 Oct 24 03:02 installers

drwxrwxrwx 1 root root 4096 Oct 24 03:03 jdk6

 

Make sure your /etc/hosts includes entries for idmhost, fahost as well as database host aliases idmdbhost and fadbhost

[root@idmhost ~]# more /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

#::1 localhost6.localdomain6 localhost6

192.168.1.141 idmhost.paramlabs.com idmhost

192.168.1.141 idmdbhost.paramlabs.com idmdbhost

192.168.1.161 fahost.paramlabs.com fahost

192.168.1.161 fadbhost.paramlabs.com fadbhost

Important Note: We have made extra 2 entries here for same IPs. The reason being, in case if you want to keep DB on different server or move it to different server later, we can easily do it since our all configuration will use different DB host name.

 

If you are not using DNS resolution then comment out following entries in /etc/resolve.conf to speed up name resolution directly through hosts file.

[root@idmhost ~]# more /etc/resolv.conf

#search paramlabs.com

 

[root@idmhost ~]# cp -pr /etc/security/limits.conf /etc/security/limits.conf.bak

[root@idmhost ~]# vi /etc/security/limits.conf

Edit the values as follows.

[root@idmhost ~]# tail -3 /etc/security/limits.conf

# Fusion Applications specific changes

fusion soft nofile 327679

fusion hard nofile 327679

 

Also make sure UsePAM is set to Yes in /etc/ssh/sshd_config file

[root@fmwhost ~]# vi /etc/ssh/sshd_config

 

Edit /proc/sys/fs/file-max and set it to 6553600. No need for any changes if set to this or more.

The change becomes effective immediately but does not persist after a reboot. To make the change permanent edit /etc/sysctl.conf and set fs.file-max = 6553600

 

[root@fmwhost ~]# ulimit -u

24064

This should be 16384 or more

 

Make sure tmpfs size is more than the size you want to keep for the database SGA and PGA. In our case we are going to reduce DB memory to only 2GB since this is demo installation on VM, hence changing tmpfs to 4GB or more

[root@fmwhost ~]# cp -pr /etc/fstab /etc/fstab.bak

[root@fmwhost ~]# vi /etc/fstab

 

Change values as follows (only if it is less than 4G)

[root@fmwhost ~]# grep tmpfs /etc/fstab

tmpfs /dev/shm tmpfs size=4G 0 0

 

Restart machine

Note: If this size is less than memory_target then you will get error

ORA-00845: MEMORY_TARGET not supported on this system

 

Make sure that ip_local_port_range value is 32768 to 61000

First checking existing value.

[root@idmhost ~]# cat /proc/sys/net/ipv4/ip_local_port_range

9000 65500

Now let’s change as per the requirement.

[root@idmhost ~]# echo “32768 61000” > /proc/sys/net/ipv4/ip_local_port_range

[root@idmhost ~]# cat /proc/sys/net/ipv4/ip_local_port_range

32768 61000

 

To make this change persistent across reboots, change value in /etc/sysctl.conf

[root@idmhost ~]# vi /etc/sysctl.conf

[root@idmhost ~]# grep 61000 /etc/sysctl.conf

net.ipv4.ip_local_port_range = 32768 61000

 

Let’s create Fusion installation owner user.

[root@idmhost ~]# useradd fusion -g dba -G oinstall

[root@idmhost ~]# passwd fusion

Changing password for user fusion.

New UNIX password:

Retype new UNIX password:

passwd: all authentication tokens updated successfully.

 

Before you install the Oracle Database using the Provisioning Wizard, ensure that the value of the kernel parameter shmmax on the database host is greater than the value of the System Global Area (SGA) Memory.

The value of SGA Memory (sga_target) is 9 GB in the default Database Configuration Assistant (DBCA) template for the Starter database. If you are running DBCA using the production DBCA template packaged with Oracle Fusion Applications Provisioning, the value of the SGA Memory is 18 GB. Ensure that shmmax > (shmall * shmmni) > SGA Memory, where shmmax, shmall, shmmni are kernel parameters.

For example, to retrieve the values of these kernel parameters on Linux, use the following command:

[root@fmwhost ~]# /sbin/sysctl -a | grep shm

kernel.shmmax = 4398046511104

kernel.shmall = 1073741824

kernel.shmmni = 4096

vm.hugetlb_shm_group = 0

 

To set the value of a kernel parameter:

[user@host] /sbin/sysctl -w sys.kernel.shmmax=value

 

Let us start the installation of Fusion Applications Provisioning Framework

[fusion@idmhost ~]$ cd /stage/installers/faprov/Disk1/

[fusion@idmhost Disk1]$ ./runInstaller

(make sure NOT TO use “&” since this will prompt for java directory if java home is not set)

Please specify JRE/JDK location ( Ex. /home/jre ), <location>/bin/java should exist :/stage/jdk6

 

 

If this is the first Oracle software on this machine using this user, it will prompt for inventory directory location.

 

Once prompted, run the following script as root.

[root@idmhost ~]# /home/fusion/oraInventory/createCentralInventory.sh

Setting the inventory to /home/fusion/oraInventory

Setting the group name to dba

Creating the Oracle inventory pointer file (/etc/oraInst.loc)

Changing permissions of /home/fusion/oraInventory to 770.

Changing groupname of /home/fusion/oraInventory to dba.

The execution of the script is complete

 

Click Next

Once prerequisite check is completed, click Next

Create the root directory for installation as follows.

[root@idmhost ~]# mkdir /app

[root@idmhost ~]# chown fusion:dba /app

 

Enter /app/fusion and click Next

Review summary. Save inventory if required and click Install

Once installation is finished click Next

Review the summary and click Finish

 

Next: Install Oracle 11g Database (Identity management database)

 

Installing Oracle Fusion Applications – steps

A. Setting up Identity and Access Management Node

1. Install Fusion Applications Provisioning Framework

2. Install Oracle 11g Database (Identity management database)

3. Run Repository Creation Utility (RCU) for Oracle Identity Management components

4. Install Identity Management Provisioning Wizard

5. Create IDM provisioning Response File

6. Provision Identity Management

7. Perform Post-Provisioning Configuration

B. Setting up Fusion Applications Node

1. Install Fusion Applications Provisioning Framework

2. Install Oracle 11g Database (Fusion Apps Database)

3. Run Oracle Fusion Applications Repository Creation Utility (Applications RCU)

4. Create new Applications Provisioning Response File

5. Provision an Applications Environment

Nov 3rd, 2013 | Posted by Tushar Thakker | In Uncategorized
  1. Alex
    Sep 29th, 2016 at 00:37 | #1

    Dear,
    I encounted a error when prerequisite check in this guide.
    [JRockit] ERROR: The JVM has crashed.
    and the err message is Error Message: Illegal memory access. [54]
    other info as below:
    Signal info : si_signo=11, si_code=128 si_addr=(nil)
    Version : Oracle JRockit(R) R28.2.9-13-157938-1.6.0_65-20130920-0910-linux-x86_64
    CPU : Intel (null) SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 Intel64
    Number CPUs : 4
    Tot Phys Mem : 8381259776 (7992 MB)
    OS version : Red Hat Enterprise Linux Server release 6.0 (Santiago)
    Linux version 2.6.32-100.28.5.el6.x86_64 (mockbuild@ca-build44.us.oracle.com) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Wed Feb 2 18:40:23 EST 2011 (x86_64)
    Hypervisor : Unknown (but probably running on a hypervisor)
    Thread System: Linux NPTL
    LibC release : 2.12-stable
    Java locking : Lazy unlocking enabled (class banning) (transfer banning)
    State : JVM is running (Main thread has finished)
    Command Line : -Doracle.installer.library_loc=/tmp/OraInstall2016-09-28_11-45-54PM/oui/lib/linux64 -Doracle.installer.oui_loc=/tmp/OraInstall2016-09-28_11-45-54PM/oui -Doracle.installer.bootstrap=TRUE -Doracle.installer.startup_location=/mnt/hgfs/E/Oracle_Fusion_Application_installation/installers/faprov/Disk1/install/linux64 -Doracle.installer.jre_loc=/mnt/hgfs/E/Oracle_Fusion_Application_installation/jdk6 -Doracle.installer.extjre=true -Doracle.installer.nlsEnabled=”TRUE” -Doracle.installer.prereqConfigLoc=/tmp/OraInstall2016-09-28_11-45-54PM/prereq -Doracle.installer.unixVersion=2.6.32-100.28.5.el6.x86_64 -Xmx4096m -XX:MaxPermSize=4096m -Doracle.installer.appendjre=true -Dsun.java.command=oracle.sysman.oio.oioc.OiocOneClickInstaller -scratchPath /tmp/OraInstall2016-09-28_11-45-54PM -sourceLoc /mnt/hgfs/E/Oracle_Fusion_Application_installation/installers/faprov/Disk1/install/linux64/../../stage/products.xml -sourceType network -timestamp 2016-09-28_11-45-54PM JVM_OPTIONS= -mx4096m -XX:MaxPermSize=4096m -Dsun.java.launcher=SUN_STANDARD oracle.sysman.oio.oioc.OiocOneClickInstaller -scratchPath /tmp/OraInstall2016-09-28_11-45-54PM -sourceLoc /mnt/hgfs/E/Oracle_Fusion_Application_installation/installers/faprov/Disk1/install/linux64/../../stage/products.xml -sourceType network -timestamp 2016-09-28_11-45-54PM JVM_OPTIONS= -mx4096m -XX:MaxPermSize=4096m
    Repository :
    java.home : /mnt/hgfs/E/Oracle_Fusion_Application_installation/jdk6/jre
    j.class.path : /tmp/OraInstall2016-09-28_11-45-54PM::/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/faprov.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/glassfish.jaxb.xjc_1.0.0.0_2-1-7.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/ojdl.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/commonutils.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/log-config.xml:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/footprint.xml:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/soawl.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/ojdl-log4j.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/dms.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/WindowsFolders.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/ojdl2.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/glassfish.jaxb_1.0.0.0_2-1-7.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/engine.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/install.properties:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/enginehelp.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/oneclick.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/template.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/faprovinstallhelp.jar:/tmp/OraInstall2016-09-28_11-45-54PM/ext/jlib/message.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/oneclick.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/share.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/emocmutl.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/emCfg.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/jsch.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/ssh.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/http_client.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/OraSuiteInstaller.jar:../stage/Components/oracle.swd.opatch/11.1.0.7.0/1/DataFiles/jlib/opatch.jar:../stage/Components/oracle.swd.opatch/11.1.0.7.0/1/DataFiles/jlib/opatchactions.jar:../stage/Components/oracle.swd.opatch/11.1.0.7.0/1/DataFiles/jlib/opatchprereq.jar:../stage/Components/oracle.swd.opatch/11.1.0.7.0/1/DataFiles/jlib/opatchutil.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstImages.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/help4.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/help4-nls.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/ewt3.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/swingaccess.jar::/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/jewt4.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/ojmisc.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/xml.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/srvm.jar:/tmp/OraInstall2016-09-28_11-45-54PM/oui/jlib/classes12.jar
    j.lib.path : /usr/java/packages/lib/amd64:/mnt/hgfs/E/Oracle_Fusion_Application_installation/jdk6/jre/lib/amd64/jrockit:/mnt/hgfs/E/Oracle_Fusion_Application_installation/jdk6/jre/lib/amd64:/mnt/hgfs/E/Oracle_Fusion_Application_installation/jdk6/jre/../lib/amd64
    JAVA_HOME :
    _JAVA_OPTIONS:
    LD_LIBRARY_PATH: /mnt/hgfs/E/Oracle_Fusion_Application_installation/jdk6/jre/lib/amd64/jrockit:/mnt/hgfs/E/Oracle_Fusion_Application_installation/jdk6/jre/lib/amd64:/mnt/hgfs/E/Oracle_Fusion_Application_installation/jdk6/jre/../lib/amd64
    LD_ASSUME_KERNEL:
    LD_PRELOAD :
    StackOverFlow: 0 StackOverFlowErrors have occured
    OutOfMemory : 0 OutOfMemoryErrors have occured
    C Heap : Good; no memory allocations have failed
    GC Strategy : Mode: throughput, with strategy: genparpar (basic strategy: genparpar)
    GC Status : OC is not running. Last finished OC was OC#0.
    : YC is not running. Last finished YC was YC#3.
    YC Promotion : Last YC successfully promoted all objects
    YC History : Ran 3 YCs since last OC.
    Heap : 0x100000000 – 0x104000000 (Size: 64 MB)
    Compaction : (no compaction area)
    Allocation : TLA-min: 2048, TLA-preferred: 65536 TLA-waste limit: 2048
    NurseryList : 0x100000000 – 0x102000000
    KeepArea : 0x100fffff0 – 0x1017fffe8
    KA Markers : [ 0x100fffff0, 0x1017fffe8 , 0x102000000 ]
    Forbidden A : (none)
    Previous KA : 0x1017fffe8 – 0x102000000
    Previous FA : (none)
    CompRefs : References are compressed, with heap base 0x0 and shift 3.

    Would you please check it for me and give me some advice to solve it.
    Thanks very much!

  2. Siba
    Jun 8th, 2016 at 08:27 | #2

    A very good basic guide for all.

  3. Alberto Rossi
    Jan 4th, 2015 at 18:33 | #3

    Great guide. I’m having a hard time with xhost, how can I make it permanent?

    • Tushar Thakker
      Feb 10th, 2015 at 19:30 | #4

      No need to use DISPLAY. Just use X11 forwarding in putty with Xmanager installed on your windows or any client. Officially oracle does not support this for Fusion Apps installation but it works 100%

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>