Skip Headers
Oracle® Application Server Metadata Repository Creation Assistant User's Guide
10g Release 2 (10.1.2) for Microsoft Windows (64-Bit) on Intel Itanium
B25336-01
  Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

3 Registering OracleAS Metadata Repository with Oracle Internet Directory

If you did not register the OracleAS Metadata Repository with an Oracle Internet Directory when you installed it, you can run OracleAS Metadata Repository Creation Assistant again just to do the registration. It does not install any schemas or tablespaces in the database.

You cannot use the Database Configuration Assistant (DBCA) to register the OracleAS Metadata Repository with Oracle Internet Directory if the metadata repository is in a Real Application Clusters database. You must use OracleAS Metadata Repository Creation Assistant to do the registration.

Contents:

3.1 Registering with Oracle Internet Directory


Notes:

  • You can only register the OracleAS Metadata Repository with supported versions of Oracle Internet Directory. See Section 1.6, "Requirements for Oracle Internet Directory" for details.

  • You cannot use OracleAS Metadata Repository Creation Assistant to register a metadata repository from Release 2 (9.0.2) with an Oracle Internet Directory from 10g (9.0.4).

  • If OracleAS Metadata Repository Creation Assistant finds the same service name already registered with Oracle Internet Directory, it will just display an error message saying that the service name is already registered with the Oracle Internet Directory. In order to continue, you need to remove the registration first.


To register the OracleAS Metadata Repository with Oracle Internet Directory:

  1. Start up OracleAS Metadata Repository Creation Assistant. See Section 1.7, "Starting OracleAS Metadata Repository Creation Assistant".

  2. Follow the screens:

    Table 3-1 Registering OracleAS Metadata Repository with Oracle Internet Directory


    Screen Action

    1.

    Welcome

    Click Next.

    2.

    Specify Oracle Home

    Oracle Home: Enter the full path of the Oracle home directory for the database. Be sure you use the conventions of the computer that is running the database (for example, use the proper slashes).

    Log File Directory: Enter the full path of the directory where you want OracleAS Metadata Repository Creation Assistant to write its log files. This path is on the computer where you are running OracleAS Metadata Repository Creation Assistant.

    Note that once you click Next to move to the next screen, you cannot change the log file directory. If you click Back to return to this screen, the Log File Directory field becomes read-only. This is to prevent OracleAS Metadata Repository Creation Assistant from writing log files in different directories.

    Click Next.

    3.

    Select Operation

    Select Register.

    Click Next.

    4.

    Specify Database Connection Information

    Enter connect information for the database.

    DBA Username and Password: Enter the username and password to log in to the database. The user must have DBA privileges.

    Select Single Node Instance or Real Application Clusters database, depending on your database type, and complete the appropriate fields.

    Fields for Single Node Instance:

    • Hostname: Enter the name of the computer that is running the database. If your middle tier instances are located in a different domain, you need to append the domain name to the hostname.

    • Port: Enter the port number for the database.

    • Service Name: Enter the service name of the database. Note that the service name must include the database domain name.

      Example: orcl.mydomain.com

    Fields for Real Application Clusters Database:

    • Hostname and Port: Enter the names of all the computers running the Real Application Clusters database and the port numbers used by the listener. Use the format host:port, and separate each host:port with a comma character:

      hostname1:port1,hostname2:port2,hostname3:port3, ...
      
      

      If your middle tier instances are located in a different domain, you need to append the domain name to the hostname.

      Example 1 (same domain): myhost:1521,myhost2:1521

      Example 2 (different domain): myhost.mydomain.com:1521,myhost2.mydomain.com:1521

    • Service Name: Enter the service name of the database. The service name must include the database domain name. The service name must be the same for all instances in the cluster.

      Example: orcl.mydomain.com

    Click Next.

    5.

    Specify Oracle Internet Directory Connection

    Internet Directory Hostname: Enter the name of the computer that is running Oracle Internet Directory. If your middle tier instances are located in a different domain, you need to append the domain name to the hostname.

    Internet Directory Port: Enter the port number for Oracle Internet Directory.

    Use SSL to Connect to Oracle Internet Directory for Registration Purposes: Select this option if you want OracleAS Metadata Repository Creation Assistant to connect to Oracle Internet Directory using SSL when performing the registration.

    Click Next.

    6.

    Specify Login for Oracle Internet Directory

    Enter the Username and Password to log in to Oracle Internet Directory. The user must belong to the iAS Admins group. You can use the user's simple name (for example, jdoe) or the user's DN (for example, cn=orcladmin).

    If your Oracle Internet Directory contains more than one realm, you need to enter the realm that contains the specified user.

    Note: If you log in as the Oracle Internet Directory superuser (cn=orcladmin), the realm value is not used because the superuser does not belong to any realm. The realm value is used only if you log in using a simple name.

    Click Next.

    7.

    Specify Oracle Context

    Specify the location in Oracle Internet Directory where you want to register the OracleAS Metadata Repository.

    Root Oracle Context (cn=OracleContext): Select this option to register OracleAS Metadata Repository in the root Oracle context.

    Custom Oracle Context: Select this option to register OracleAS Metadata Repository in a specific realm in Oracle Internet Directory. Enter the DN of the realm in the provided field.

    Click Next.

    8.

    Success

    Click OK to exit OracleAS Metadata Repository Creation Assistant.


3.2 Post-Registration Step

After registering the OracleAS Metadata Repository with Oracle Internet Directory, you need to copy the ldap.ora file from the OracleAS Metadata Repository Creation Assistant home to the database home. See Section 2.7.2, "Copy ldap.ora File to the Database Oracle Home" for details.

3.3 If You Exit Before Registration Is Completed, or If Registration Fails

If you exit OracleAS Metadata Repository Creation Assistant before the registration is completed or if the registration fails, you must perform the following manual steps before you run OracleAS Metadata Repository Creation Assistant again to re-register.

  1. Remove repository entries from Oracle Internet Directory. See Section 4.4, "Deregistering and Removing OracleAS Metadata Repository Using the Wizard".

  2. Reset all schema passwords to their default values.

    For a list of all schemas, see Table 1-9, "Schemas and Tablespaces".

    C:\> sqlplus "sys/password as sysdba"
    SQL> alter user schema_name identified by schema_password;
    
    
  3. Lock all schema passwords.

    C:\> sqlplus "sys/password as sysdba"
    SQL> alter user schema_name account lock password expire;
    
    

Once these steps are done, you can restart OracleAS Metadata Repository Creation Assistant to register the database.