Syntax for syncProfileBootstrap Directory Bootstrapping Using syncProfileBootstrap

Bootstrapping a Directory in Oracle Directory Integration Platform 8-5

8.1.5.2 Bootstrapping Using an LDIF File

This section describes the following two ways to bootstrap a directory by using an LDIF file: ■ Bootstrapping from an LDIF File Using Directory-Dependent Tools to Read the Source Directory ■ Bootstrapping from an LDIF File Using the syncProfileBootstrap Command to Load Data into Oracle Internet Directory Bootstrapping from an LDIF File Using Directory-Dependent Tools to Read the Source Directory Oracle recommends that you use this method for large directories. To use this method: 1. Download the data from the directory to an LDIF file. The tool you use depends on the directory from which you are loading the data. If you are bootstrapping from a Microsoft Active Directory, then use the ldifde command to load the data. Be sure to load all the required attributes for each entry. 2. Create the mapping file with appropriate mapping rules. When you want to do further synchronization, be sure that the mapping file is the same as the one used for synchronization. 3. Create the parameter file with source and destination as LDIF and other details. A sample parameter file is available in: ORACLE_HOMEldapodiconfldf2ldf.properties. 4. Use the syncProfileBootstrap command with a parameter file in which the source is specified as LDIF and the destination type is specified as LDIF. This converts the source data and creates a new LDIF as required by Oracle Internet Directory. Run the syncProfileBootstrap command as follows: syncProfileBootstrap -profile profile_name -loadParallelism threads -loadRetry retries 5. Check the NAME_OF_MANAGED_SERVER-diagnostic.log file for any errors. This file can be found in the following location: MW_HOMEuser_projectsdomainsDOMAIN_NAMEserversNAME_ OF_MANAGED_SERVERlogsNAME_OF_MANAGED_ SERVER-diagnostic.log 6. Use bulkload.sh or the ldapadd command to upload the data to Oracle Internet Directory. 7. To continue synchronization, use the updatechgnum operation of the manageSyncProfiles command to update the last change number, as follows: manageSyncProfiles updatechgnum -h HOST -p PORT -D wlsuser \ -profile my_Import_Profile Bootstrapping from an LDIF File Using the syncProfileBootstrap Command to Load Data into Oracle Internet Directory To use this method: 1. Download the data from the directory to an LDIF file. The tool you use depends on the directory from which you are loading the data. If you are bootstrapping from a Microsoft Active Directory, then use the ldifde command to load the data. Be sure to load all the required attributes for each entry.