Modifying Additional Oracle Human Resources Attributes for Synchronization

Synchronizing with Oracle Human Resources 10-9 1. Ensure that the Oracle Human Resources connector and the directory integration server are installed on the host from which you want to run the Oracle Human Resources connector. 2. Ensure that you have the information for accessing the Oracle Human Resources system, including: ■ Connect string to the Oracle Human Resources system database ■ Access account ■ Password 3. Configure an integration profile for the Oracle Human Resources connector, as described in Task 1: Configure a Directory Integration Profile for the Oracle Human Resources Connector on page 10-3. Ensure that all values in the integration profile are properly set, including: ■ Oracle Human Resources attribute list ■ Oracle Human Resources attribute mapping rules ■ Scheduling interval 4. Once everything is properly set, set the Profile Status attribute to ENABLE. This indicates that the Oracle Human Resources connector is ready to run. 5. Start the Oracle directory server and the Oracle Human Resources system if they are not already running on the respective hosts. 6. When everything is ready, start the directory integration server if it is not already running on this host.

10.4 The Synchronization Process

Once the Oracle Human Resources system, Oracle Internet Directory, and the Oracle Directory Integration Platform are running, and the Oracle Human Resources connector is enabled, the Oracle Directory Integration Platform automatically starts synchronizing changes from the Oracle Human Resources system into Oracle Internet Directory. It follows this process: 1. Depending on the value specified in the Last Execution Time orclodipLastExecutionTime and the Scheduling Interval orclodipschedulinginterval, the Oracle Directory Integration Platform invokes the Oracle Human Resources connector. 2. The Human Resources agent extracts: ■ All the changes from the Oracle Human Resources System based on the time specified in the orclodipLastSuccessfulExecutionTime attribute in the integration profile ■ Only the attributes specified in the orclodipAgentConfigInfo attribute in the profile It then writes the changes into the Oracle Human Resources import file, namely ORACLE_HOMEldapodiimportHR_Agent_Name.dat. 3. After the agent completes execution, it creates a data file that looks similar to the following: FirstName: John LastName: Liu EmployeeNumber: 12345 10-10 Oracle Fusion Middleware Administrators Guide for Oracle Directory Integration Platform Title: Mr. Sex: M MaritalStatus: Married TelephoneNumber: 123-456-7891 Mail: Jliumy_company.com Address: 100 Jones Parkway City: MyTown 4. The Oracle Directory Integration Platform imports the changes to Oracle Internet Directory by doing the following: ■ Reading each change record from the import file. ■ Converting each change record into an LDAP change entry based on the rules specified in the Mapping Rules orclodipAttributeMappingRules in the integration profile. 5. After importing all the changes to Oracle Internet Directory, Oracle Human Resources connector moves the import file to the archive directory, ORACLE_ HOMEldapodiimportarchive. The status attributes Last Execution Time orclodipLastExecutionTime and Last Successful Execution Time orclodipLastSuccessfulExecutionTime are updated to the current time. If the import operation fails, only the Last Execution Time orclodipLastExecutionTime attribute is updated, and the connector attempts to extract the changes from Human Resources system based on the Last Successful Execution Time orclodipLastSuccessfulExecutionTime attribute. The reason for failure is logged in the trace file in ORACLE_ HOMEldapodiHR_Agent_Name.trc file.

10.5 Bootstrapping Oracle Internet Directory from Oracle Human Resources

There are two ways to bootstrap Oracle Internet Directory from Oracle Human Resources: ■ Use the Oracle Human Resources connector. In the integration profile, set the orclodipLastSuccessfulExecutionTime attribute to a time before Oracle Human Resources was installed. ■ Use external tools to migrate data from Oracle Human Resources into Oracle Internet Directory.