Here we will use OIM BULK LOAD UTILITY to import bulk users in OIM. For understanding of this utility please refer by previous blog.
1) Make sure Organization where you want to import users exists in OIM. For demo purposes, I will be using OraWorld Org which I have created before.
2) Shutdown the Oracle Identity Manager server. Change to the directory /OIM_HOME/server/db/oim/oracle/Utilities/oimbulkload.
Now lets copy the sample csv and modify it as per our requirements.
In the csv_files directory, create a CSV file containing the data that you want to load.The file should contain the minimum data required for the data type. The first line represents the control, while the second line and onward contain the data that you are loading.
Note: First record has USR_LOGIN defined but other two have it blank. This is to show automatic generation of User Login later by running Bulk Load Post Processing task.Second record doesn’t have either an email or a login value. This is to show that both of them can be generated.Last record contains email. With the help of this record we may demonstrate how login is generated from email.
3) Create a master file that contains all of the CSV files to be loaded during the transaction. You can specify multiple CSV files. These files must represent the same data type. If you are loading user data, only files that contain user data can be specified in the master file. This master file must also be in the csv_files subdirectory. In this example, the master file is master.txt.
Note: This master file is not used when loading account data. It is used when loading all other data types.
4) Stop OIM server before running Bulk Load Utility
5) Execute oim_blkld.sh script.
6) Enter all the Database related details when prompted. After checking connectivity you are prompted for the DB password again. Enter it and follow the instructions.
7) When you run the utility, it prompts for the login name of the existing OIM User whose password you want to use as the default password for the new OIM Users.
8) Observe the different files created at the end of a bulk load operation.
9) Open oim_blkld_user_load_summary.log to make sure we don’t have any unexpected errors.
10) Lets login to Identity Console and check the newly created users.
We have just imported new users in OIM. But we now need to perform post configuration so that users can be assigned to Role and provision them to LDAP. I will cover these steps in the next blog.