OIG PS2 Automated Installation Guide for Single Instance

Embed Size (px)

Citation preview

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    1/50

    IDMLCM Installation Guide

    1 | P a g e

    Oracle Fusion Middleware

    IDMLCM Installation Guide for OIM-OAM-OUD

    11g Release 2 (11.1.2.2.0)

    12 June 2014

    Darren Shei ([email protected])

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    2/50

    IDMLCM Installation Guide

    2 | P a g e

    Table of Contents1. Downloading Software .................................................................................................................... 3

    2. Pre-requisites .................................................................................................................................. 5

    2.1 Hardware: ...................................................................................................................................... 5

    2.2 Kernel tuning: ................................................................................................................................ 5

    2.3 Installing Database ........................................................................................................................ 5

    2.3.1 Downloading database Download db from ........................................................................... 5

    2.3.2 Checking the DB Requirements.............................................................................................. 7

    2.3.3 Run DB Installer ...................................................................................................................... 7

    2.3.4 Checking Oracle JVM and Oracle Text are installed in the database ................................... 17

    2.3.5 Creating XAVIEWS in the database. ..................................................................................... 19

    2.3.6 Checking whether or not DBMS_SHARED_POOL is installed in the database ..................... 19

    2.3.7 Checking Minimum Initialization Parameters ...................................................................... 20

    2.3.8 Running RCU for EDGOAM ................................................................................................... 21

    2.3.9 Running RCU for EDGOIM .................................................................................................... 26

    3. Installing IDM Lifecycle Tools ........................................................................................................ 30

    4. Creating a Deployment Response File .......................................................................................... 35

    5. Performing Deployment ................................................................................................................ 42

    5.1 Oracle Identity and Access Management Deployment Stages ................................................... 42

    5.2 Performing Deployment Using the Deployment Wizard ............................................................ 44

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    3/50

    IDMLCM Installation Guide

    3 | P a g e

    1. Downloading Software

    You may download the software from either OTN or eDelivery.

    1. OTN (http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-

    2104316.html)

    2. eDelivery (https://edelivery.oracle.com)

    http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.htmlhttp://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.htmlhttp://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.htmlhttp://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.htmlhttps://edelivery.oracle.com/https://edelivery.oracle.com/https://edelivery.oracle.com/https://edelivery.oracle.com/http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.htmlhttp://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.html
  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    4/50

    IDMLCM Installation Guide

    4 | P a g e

    Unzip the software under the following directory:

    $ cd /u01/app/oracle/idmlcm/repository/installers

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    5/50

    IDMLCM Installation Guide

    5 | P a g e

    2. Pre-requisites

    2.1 Hardware:

    1. The machine used must have 16GB RAM or more.

    2.

    It must have more than 30GBof free disk space at the time of deployment, meaning ifthe repo is copied to a local disk there must be at least this must free space still left over.

    2.2 Kernel tuning:

    As is usual for FMW products, certain params applicable to the kernel and executing shell need

    to be set.

    To set these parameters:w

    - Log in as root and add or amend the entries in the file /etc/sysctl.conf.

    Parameter Value

    kernel.sem 256 32000 100 142

    kernel.shmmax 2147483648 or higher

    - Save the file.

    - Activate the changes by issuing the command:

    /sbin/sysctl -p

    2.3 Installing Database

    The IDM Deployment Tool does not create a database or execute RCU.

    A database needs to be manually installed, configured and tuned, and RCU run to add IDM

    schema.

    Note: Section 2.3 were done based on the requirements from Deployment Guide for Oracle

    Identity and Access Management 11g R2 (11.1.2.2.0) Section 3.4 Overview of Database

    Preparation:

    http://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preparatory_tasks.htm#CHDCCAFB

    2.3.1 Downloading database

    Download db fromhttps://support.oracle.com

    Steps are based on:

    https://updates.oracle.com/Orion/Services/download?type=readme&aru=16716375

    http://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preparatory_tasks.htm#CHDCCAFBhttp://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preparatory_tasks.htm#CHDCCAFBhttps://support.oracle.com/https://support.oracle.com/https://updates.oracle.com/Orion/Services/download?type=readme&aru=16716375https://updates.oracle.com/Orion/Services/download?type=readme&aru=16716375https://updates.oracle.com/Orion/Services/download?type=readme&aru=16716375https://support.oracle.com/http://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preparatory_tasks.htm#CHDCCAFB
  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    6/50

    IDMLCM Installation Guide

    6 | P a g e

    Unzip db under the following directory:

    /u01/app/oracle/idmlcm/repository/installers/db

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    7/50

    IDMLCM Installation Guide

    7 | P a g e

    2.3.2 Checking the DB Requirements

    http://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCJCGCB

    Creating Required OS Groups and Users

    http://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCBCFDI

    Configuring Kernel Parameters & Resource Limitshttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCCADGD

    Creating Required Directories

    http://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGIHDBF

    Configuring the oracle Users environment

    http://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGEGDBA

    2.3.3 Run DB Installer

    http://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCJCGCBhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCJCGCBhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCBCFDIhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCBCFDIhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCCADGDhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCCADGDhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGIHDBFhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGIHDBFhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGEGDBAhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGEGDBAhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGEGDBAhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGIHDBFhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCCADGDhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCBCFDIhttp://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCJCGCB
  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    8/50

    IDMLCM Installation Guide

    8 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    9/50

    IDMLCM Installation Guide

    9 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    10/50

    IDMLCM Installation Guide

    10 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    11/50

    IDMLCM Installation Guide

    11 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    12/50

    IDMLCM Installation Guide

    12 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    13/50

    IDMLCM Installation Guide

    13 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    14/50

    IDMLCM Installation Guide

    14 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    15/50

    IDMLCM Installation Guide

    15 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    16/50

    IDMLCM Installation Guide

    16 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    17/50

    IDMLCM Installation Guide

    17 | P a g e

    2.3.4 Checking Oracle JVM and Oracle Text are installed in the database

    select * from all_registry_banners;

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    18/50

    IDMLCM Installation Guide

    18 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    19/50

    IDMLCM Installation Guide

    19 | P a g e

    2.3.5 Creating XAVIEWS in the database.

    2.3.6 Checking whether or not DBMS_SHARED_POOL is installed in the database

    Select count(*) from dba_objects where OWNER = 'SYS'

    AND object_name = 'DBMS_SHARED_POOL'

    AND object_type IN ( 'PACKAGE','PACKAGE BODY') ;

    This query should return a count of 2.

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    20/50

    IDMLCM Installation Guide

    20 | P a g e

    2.3.7 Checking Minimum Initialization Parameters

    Open_cursors 3001600

    Session_max_open_files 1050

    Sessions 248500

    Processes 150500Sga_max_size 3120M4000M

    Session_cached_cursors 50500

    Restart database and make sure the parameters show the correct values.

    SQL> shutdown immediate;

    SQL> startup;

    SQL> show parameters session_max_open_files;

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    21/50

    IDMLCM Installation Guide

    21 | P a g e

    2.3.8 Running RCU for EDGOAM

    Download 64-bit version of RCU from the following link:

    http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.html

    $ cd /u01/app/oracle/idmlcm/repository/installers/fmw_rcu/linux64

    $ unzipd /u01/app/oracle/rcu64/ ofm_rcu_linux.11.1.2.2.-_64_disk1_1of1.zip

    $ cd /u01/app/oracle/rcu64/rcuHome/bin

    $ ./rcu

    http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.htmlhttp://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.htmlhttp://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.html
  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    22/50

    IDMLCM Installation Guide

    22 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    23/50

    IDMLCM Installation Guide

    23 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    24/50

    IDMLCM Installation Guide

    24 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    25/50

    IDMLCM Installation Guide

    25 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    26/50

    IDMLCM Installation Guide

    26 | P a g e

    2.3.9 Running RCU for EDGOIM

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    27/50

    IDMLCM Installation Guide

    27 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    28/50

    IDMLCM Installation Guide

    28 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    29/50

    IDMLCM Installation Guide

    29 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    30/50

    IDMLCM Installation Guide

    30 | P a g e

    3. Installing IDM Lifecycle Tools

    Based on Oracle Fusion Middleware Deployment Guide for Oracle Identity and Access Management

    11gRelease 2 (11.1.2.2.0) Part Number E48635-02

    (http://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preprov.htm#BCGJHGAJ )

    $ cd /u01/app/oracle/idmlcm/repository/installers/jdk

    $ unzipd /u01/app/oracle/ jdk6.zip

    $ cd /u01/app/oracle/idmlcm/repository/installers/idmlcm/Disk1

    $ ./runInstallerjreLoc /u01/app/oracle/jdk6

    http://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preprov.htm#BCGJHGAJhttp://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preprov.htm#BCGJHGAJhttp://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preprov.htm#BCGJHGAJhttp://docs.oracle.com/cd/E40329_01/doc.1112/e48635/preprov.htm#BCGJHGAJ
  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    31/50

    IDMLCM Installation Guide

    31 | P a g e

    Please make sure all packages are installed before proceeding.

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    32/50

    IDMLCM Installation Guide

    32 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    33/50

    IDMLCM Installation Guide

    33 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    34/50

    IDMLCM Installation Guide

    34 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    35/50

    IDMLCM Installation Guide

    35 | P a g e

    4. Creating a Deployment Response File

    Based on Oracle Fusion Middleware Deployment Guide for Oracle Identity and Access Management

    11gRelease 2 (11.1.2.2.0) Part Number E48635-02

    http://docs.oracle.com/cd/E40329_01/doc.1112/e48635/createprovprofile.htm

    $ export JAVA_HOME=/u01/app/oracle/jdk6

    http://docs.oracle.com/cd/E40329_01/doc.1112/e48635/createprovprofile.htmhttp://docs.oracle.com/cd/E40329_01/doc.1112/e48635/createprovprofile.htmhttp://docs.oracle.com/cd/E40329_01/doc.1112/e48635/createprovprofile.htm
  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    36/50

    IDMLCM Installation Guide

    36 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    37/50

    IDMLCM Installation Guide

    37 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    38/50

    IDMLCM Installation Guide

    38 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    39/50

    IDMLCM Installation Guide

    39 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    40/50

    IDMLCM Installation Guide

    40 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    41/50

    IDMLCM Installation Guide

    41 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    42/50

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    43/50

    IDMLCM Installation Guide

    43 | P a g e

    Tasks performed for the OIM-OAM Integrated and Oracle Unified Directory (OUD)

    Order of

    Execution Stage Tasks Performed

    1. preverify Checks that each of the servers being used in the topology satisfies

    the minimum requirements of the software being installed and

    configured.

    2. install Installs all of the software and related patches present in Oracle

    Identity and Access Management deployment repository.

    3. preconfigure Creates OUD and seeds it with Users/Groups.

    SSL Enable OUD

    Creates the WebLogic Domain and extends it to all the

    necessary components

    Creates OHS instance

    4. configure Starts managed servers as necessary

    Configures OIM Associates OAM with OUD

    5. configure-

    secondary

    Integrates Weblogic Domain with Webtier

    Registers Webtier with domain

    Integrates OAM and OIM

    6. postconfigure Runs OIM Reconciliation

    Configures UMS Mail Server

    Generates OAM Keystore

    Configures Webgates

    7. startup Starts up all components in the topology

    8. validate Verifies the deployed environment.

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    44/50

    IDMLCM Installation Guide

    44 | P a g e

    5.2 Performing Deployment Using the Deployment Wizard

    Make sure DB is up and running

    Log file is located at

    /u01/app/oracle/idmlcm/provisioning/logs/iam.oraclepts.com/

    Both the script (runIAMDeployment.sh) and the deployment response file (provisioning.rsp) are

    located at the same directory:

    $ cd /u01/app/Middleware/Oracle_IDMLCM1/provisioning/bin

    $ ./iamDeploymentWizard.sh

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    45/50

    IDMLCM Installation Guide

    45 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    46/50

    IDMLCM Installation Guide

    46 | P a g e

    The Review Deployment Configuration screen enables you to select configurations you want to

    review. This is optional. If you want to view or modify the configuration details of any component,

    then select that component and click Next.

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    47/50

    IDMLCM Installation Guide

    47 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    48/50

    IDMLCM Installation Guide

    48 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    49/50

    IDMLCM Installation Guide

    49 | P a g e

  • 8/11/2019 OIG PS2 Automated Installation Guide for Single Instance

    50/50

    IDMLCM Installation Guide

    The end.