Sunday, October 9, 2016

Oracle Identity Manager (OIM) 11G R2 PS3 (11.1.2.3.0) Bulk Load Utility

Oracle Identity Manager (OIM) 11G R2 PS3 (11.1.2.3.0) Bulk Load Utility

Modes 
Offline (OIM Server Up)
Online (OIM Server Down)

Features 

  1. Data can be loaded into OIM Users, accounts allocated (provisioned) to OIM Users, roles, role hierarchies, role memberships, role categories, or organizations.
  2. Data can be loaded from a single or multiple CSV files or a database table. Data imported into OIM is automatically converted into OIM Usera, accounts provisioned to OIM Users, roles, role hierarchiesm role memberships, role categories, or organizations.
  3. Data can be loaded from a single or multiple trusted sources.
  4. Data can be loaded into either an empty OIM repository or an OIM repository that already contains data about OIM Users and resources.
  5. The utility is for creating new entities only. It cannot be used to update or delete existing entities.
  6. Exceptions generated during user data loading are handles, and records  that fail the loading process can be retried.
  7. Audit snapshots can be generated after a bulk load operation for users.
  8. After bulk loading of OIM User data, password change at first login is enforced because a dummy password is used during the operation.
    • Note: You cannot use the utility to encrypt user attributes. In oyjer words, if a user field in OIM us encrypted, then the utility cannot be used to encrypt data that is loaded into that field.
  9. The utility can be run in offline or online modes.



Zip and copy from 
MIDDLEWARE_HOME/Oracle_IDM1/server/db/oim/oracle/Utilities/oimbulkload
It was already copied after installation to C:\Oracle2\Middleware\Oracle_IDM1\server\db\oim\oracle\Utilities\oimbulkload
C:\Oracle2\Middleware\Oracle_IDM1\server\db\oim\oracle\Utilities\oimbulkload\scripts

oim_blkld.bat or oim_blkld.sh
oim_blkld_setup.sql - To add a datafile in OIM tablespaces and provide additional grants to OIM database user.

Temporary Tables Used
OIM_BLKLD_TMP_SUFFIX
OIM_BLKLD_EX_SUFFIX
OIM_BLKLD_LOG

Options

  1. Load User Data
  2. Load Account Data
  3. Load Role Data
  4. Load ROle Membership
  5. Load Role Hierarchy
  6. Load Organizations
  7. Load Role Category
  8. Generate Audit Snapshot


Preparation

  • Creating a Tablespace
  • Creating a Datafile


Running the utility

  1. Copy the ojdbc5.jar if DB is 12c
  2. SQLPlus session
  3. NLS_LANG=UTF8
  4. oim_blkld.sh -online (default)
  5. select options
  6. 2nd menu


    • Either CSV File or DB Tables



Loading OIM User Data

  1. Setting a Default Password for OIM Users Added by the Utility (Uses an existing user's password)
  2. Creating the Input Source for the Bulk Load Operation
  3. Determining Values for the Input Parameters of the Utility
  4. Monitoring the Progress of the Operation
  5. Handling Exceptions Recorded During the Operation
  6. Fixing Exceptions and Reloading Data Records
  7. Verifying the Outcome of the Bulk Load Operation
  8. Generating an Audit Snapshot

-------------------------------------------------------

  1. Loading Account Data
  2. Loading Role, Role Hierarchy, Role Membership, and Role Category Data
  3. Loading Organization Data
  4. Data Recorded During the Operation
  5. Gathering Diagnostic Data from the Bulk Load Operation
  6. Cleaning Up After a Bulk Load Operation
  7. Bulk Load High Volume Strategy and Case Studies