Oracle
Human Resources Integration: Configure the HR .cfg file
One of the
first things you need to do is evaluate which tables and columns in
the HR database you want to synchronize with OID. This is configured
using the OracleHRAgent.cfg file.
This file
is located in your $ORACLE_HOME/ldap/odi/conf directory. In most cases
the default settings in this file will suffice and are already loaded
in your default OracleHRAgent profile. If these default setting are
ok for your integration needs then it will not be necessary to change
or load the OracleHRAgent.cfg settings into your OracleHRAgent profile
and you may skip this configuration page entirely.
The first
thing to note about each line is the five sections that are delimited
by four ":" characters.
The first
column is the HR attribute called "PersonId".
PersonId:person_id:PER:NUMBER:Y
The next column
is the database column name for this attribute called "person_id".
PersonId:person_id:PER:NUMBER:Y
The next column
is the name of the database table where we are getting our data from.
PersonId:person_id:PER:NUMBER:Y
The next column
in this line is the data type for the values we wish to import form
the HR database. In this example it is the data type is NUMBER.
PersonId:person_id:PER:NUMBER:Y
The last column
basically asks us if we want to use this column for mapping to OID.
PersonId:person_id:PER:NUMBER:Y
The OracleHRAgent.cfg
file tells the DIP server the name of the database table, and the columns
in the database table to check for new employees or changes to employee
information. It also tells the DIP server what datatype to use when
processing the employee attributes.
Uploading
the OracleHRAgent.cfg file
If you find
it necessary to change any of this default information, it will be necessary
to upload the file to the OracleHRAgent profile. This is done using
the "ldapUploadAgentFile.sh" command.
The ldapUploadAgentFile.sh
program is located in the ORACLE_HOME/ldap/admin directory. The following
is an sample command using this program to upload the OracleHRAgent.cfg
file.