Migrate Users and Groups from Embedded WebLogic LDAP Server

If you subscribe to Oracle Analytics Cloud - Classic through a traditional metered or unmetered subscription you might be using an embedded WebLogic LDAP server for identity management. The way you migrate users and groups to Oracle Analytics Cloud on Oracle Cloud Infrastructure (Gen 2) depends whether your target environment offers Oracle Cloud Infrastructure Identity and Access Management (IAM) identity domains or Oracle Identity Cloud Service (IDCS).

If your service uses an embedded WebLogic LDAP server, use the wls_ldap_csv_exporter script to export users and groups to CSV files so you can migrate to Oracle Cloud Infrastructure (Gen 2). Prepare both CSV files so they contain all the information required and then import them on the target environment.

  1. Export users and groups from your source environment. Run the wls_ldap_csv_exporter script:
    $ /bi/app/public/bin/wls_ldap_csv_exporter -u weblogic_admin_user -c oracle_common_folder_path -D output_dir

    Typically, oracle_common_folder_path is the folder /bi/app/fmw/oracle_common

    This script creates two CSV files, one CSV file contains users and the other contains groups. There is also a log file, which describes any invalid or incompatible records that your target environment won’t understand.

    • Every user must have a default password.

    • IAM identity domains and IDCS don't support group memberships; that is, where a group is a member of another group. Such records are discarded from the group CSV file and mentioned in the log file.

    • IAM identity domains and IDCS both require several mandatory parameters for users: User ID,Last Name,First Name,Password,Work Email. User records that don't include all the required parameters aren't imported.

    Before you import CSV files on your target environment, take some time to make sure the CSV files contain all the required information.

  2. Prepare both CSV files for migration.
    1. Review the log file for information about invalid or incomplete records.
    2. Review the users CSV file, and ensure the information is complete.
    3. Repeat for the groups CSV file.
  3. Import users from the CSV file you exported earlier:
  4. Import groups from the CSV file you exported earlier.