The Oracle Identity Management components in the enterprise deployment use database repositories. This section describes how to perform the following steps:
Verify the database requirements as described in Plan for Database Requirements.
Verify all decisions that have been made regarding the database and documented in the Oracle Fusion Applications Installation Workbook. See Plan for Database Requirements.
One or two Oracle Identity Management databases may exist, based on the decision made during the planning phase and documented in the Oracle Fusion Applications Installation Workbook, Database tab, IDM Database table, IDM DB Type row. See Oracle Identity Management Split Database Configuration. The prerequisites in this section apply to both databases unless stated otherwise.
Install and configure the Oracle database repositories. See Install Oracle Database.
Create the required Oracle schemas in the database using the Oracle Fusion Middleware Repository Creation Utility (Oracle Fusion Middleware RCU). See Run the Oracle Fusion Middleware RCU for Oracle Identity Management.
An overview of databases and their schemas is in Plan for Database Requirements. All details in the sections below apply to those databases.
Before loading the metadata repository into thedatabases, check that they meet the requirements described in these subsections:
To check if the database is certified or to see all certified databases, see the latest certification information published at https://support.oracle.com.
To determine the version of the installed Oracle Database, execute the following query at the SQL prompt:
select version from sys.product_component_version where product like 'Oracle%';
Patches are required for some versions of Oracle Database. This section describes the patch details for different versions of the Oracle Database.
Table 7-1 lists patches required for Oracle Identity Manager configurations that use Oracle Database 12c. Before configuring Oracle Identity Manager 12c, be sure to apply the patches to the Oracle Database 12c database.
Table 7-1 Required Patches for Oracle Database 12c
Platform | Patch Number and Description on My Oracle Support |
---|---|
Linux |
7614692: BULK FEATURE WITH 'SAVE EXCEPTIONS' DOES NOT WORK IN ORACLE 11G |
Linux |
7000281: DIFFERENCE IN FORALL STATEMENT BEHAVIOR IN 11G |
Linux |
8327137: WRONG RESULTS WITH INLINE VIEW AND AGGREGATION FUNCTION |
Linux |
8617824: MERGE LABEL REQUEST ON TOP OF 11.1.0.7 FOR BUGS 7628358 7598314 |
If Oracle Database 12c is used, make sure to download and install the appropriate version (based on the platform) for the RDBMS Patch Number 10259620. This is a prerequisite for installing the Oracle Identity Manager schemas.
Table 7-2 lists the patches required for Oracle Identity Manager configurations that use Oracle Database 12c. Make sure to download and install the following patches before creating Oracle Identity Manager schemas.
Table 7-2 Required Patches for Oracle Database 12c
Platform | Patch Number and Description on My Oracle Support |
---|---|
Linux x86 (64-bit) |
RDBMS Interim Patch#10259620. |
If this patch is not applied, then problems might occur in user and role search and manager lookup. In addition, search results might return empty result.
Apply this patch in ONLINE mode. Refer to the readme.txt file bundled with the patch for the steps to be followed.
In some environments, the RDBMS Interim Patch has been unable to resolve the issue, but the published workaround works. Refer to the metalink note Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion due to fix for Bug:8352378 [Metalink Note ID 1264550.1] for the workaround. This note can be followed to set the parameters accordingly with the only exception that they need to be altered at the Database Instance level by using ALTER SYSTEM SET <param>=<value> scope=<memory>
or <both>
. To query initialization parameters, use the command SHOW PARAMETERS <parameter-name>
.
To query database for initialization parameters, run the following command:
SHOW PARAMETERS <parameter-name>;
The database must have the following minimum initialization parameters defined:
Table 7-3 Minimum Initialization Parameters for the Oracle Database
Parameter | Value |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The parallel_max_servers
parameter is only required for Oracle Internet Directory databases where the Oracle RAC system has more than 32 CPUs
The size of the redo log files is 0.5G. A minimum of 2G for each redo log file is recommended to improve redo log performance.
For guidelines on setting up optimum parameters for the Database, see Tune Database Initialization Parameters in the Oracle Fusion Applications Administrator’s Guide.
Before initiating the Oracle Identity Management database installation, verify the following checklist:
Necessary infrastructure
Access to the database server console is provided for the database OS User as well as root/pseudo access (VNC recommended).
The provisioning repository or Oracle database installers are available and accessible from the database nodes.
Prerequisites for the database server
General Oracle database prerequisites have been satisfied.
Planning
Oracle Fusion Applications Installation Workbook, Databases tab, Identity Management Database table has information that is used for the database installation.
For more information about installing Oracle Database Enterprise Edition with the Wizard, see Install Oracle Database Enterprise Edition with the Wizard.
Install and configure the database repository as follows:
Oracle Clusterware
For 10g Release 2 (10.2), see Related Documents in the Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for a specific platform.
For 11g Release 1 (11.1), see the Installing Oracle Clusterware in the Oracle Clusterware Installation Guide for a specific platform.
Automatic Storage Management
For 10g Release 2 (10.2), see Related Documents in the Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for a specific platform.
For 11g Release 1 (11.1), see the Installing Oracle Clusterware in the Oracle Clusterware Installation Guide for a specific platform.
When the installer is run, select the Configure Automatic Storage Management option in the Select Configuration screen to create a separate Automatic Storage Management home.
Oracle Real Application Clusters
For 10g Release 2 (10.2), see Related Documents the Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for a specific platform.
For 11g Release 1 (11.1), see Oracle RAC Installation Checklist in the Oracle Real Application Clusters Installation Guide for a specific platform.
Oracle Real Application Clusters Database
Create a Real Applications Clusters Database with the following characteristics:
Database must be in archive log mode to facilitate backup and recovery.
Optionally, enable the Flashback database.
Create UNDO tablespace of sufficient size to handle any rollback requirements during the Oracle Identity Manager reconciliation process.
Database is created with ALT32UTF8 character set.
Unzip the Oracle Fusion Middleware RCU zip file Linux: REPOSITORY_LOCATION
/installers/fmw_rcu/linux/rcuHome.zip
or
Windows: REPOSITORY_LOCATION
/installers/fmw_rcu/windows/rcuHome.zip
to: REPOSITORY_LOCATION
/installers/rcu
where REPOSITORY_LOCATION
is the Oracle Fusion Applications provisioning repository, as described in Create the Oracle Fusion Applications Provisioning Repository.
Use the Oracle Identity Management version of RCU, which now exists in that directory.
The Oracle Fusion Middleware RCU needs to be set up for the ODS and OAM components. Use FA as the prefix for the schema names.
Recommendation for Release 12 is to only use a single database for both ODS and OAM. However, it is recommended to create two separate service names (for the same database instance) and use one service name for OID application and the other for OAM applications. This will be used later in IDM DB Configuration Page.
Select a single password for all the schema while running the Oracle Fusion Middleware RCU.
The Oracle Fusion Middleware RCU is available only on Windows and Linux platforms. For Solaris, install and run the Oracle Fusion Middleware RCU from a Windows or Linux machine.
Run the Oracle Fusion Middleware RCU to create the collection of schemas used by Oracle Identity Management and Management Services.
To verify if the Oracle Identity Management database installation has been completed successfully, check the following:
The database is up and running on all nodes.
The database listener is up and running.
The database installation includes the required components.
Use SQL*Plus or another tool to check that the system user is able to connect to the database remotely.
Run opatch –lsinventory
on the database to verify that patches have been applied according to the document for the specific platform.
Complete the manual postinstallation tasks detailed in the database patch readme files. See Complete Database Patch Postinstallation Tasks.
The password policy has been defined and the passwords defined for the Oracle Identity Management database schemas are in line with the policy.
When the Oracle Identity Management database installation has been completed, see Install Oracle Fusion Applications Transaction Database for complete information to install the Oracle Fusion Applications transaction database.