Set the Source Directory to Read-Only Mode

Before the directory information is exported from the source 11g environment, the instances there should be set as read-only, so that the new information is not written to the directory while the export is being created.

Perform the following steps to set the source 11g environment nodes as read-only:

Note:

Perform these steps only on the first source host. All tool execution requires that you set the environment variables for Oracle Internet Directory tools. See Environment Variables for Oracle Internet Directory Tools.
  1. Create an LDIF file with the following information:

    For Example:

    ro_change_mode.ldif:
    dn: cn=OID_INSTANCE_NAME,cn=osdldapd,cn=subconfigsubentry
    changetype: modify
    replace: orclservermode
    orclservermode: r
    dn: cn=OID_INSTANCE_NAME,cn=osdldapd,cn=subconfigsubentry
    changetype: modify
    replace: orclservermode
    orclservermode: r

    Where, OID_INSTANCE_NAME is the name of each instance. An entry is required for each instance in the Oracle Internet Directory cluster on the target 12c environment.

  2. Run the following command:

    ldapmodify -D "cn=orcladmin" -q -h ON_PREM_HOST -p ON_PREM_PORT -f CHANGE_LDIF_FILE

    For Example:

    ldapmodify -D "cn=orcladmin" -q -h s_ldaphost1 -p 3060 -f ro_change_mode.ldif