Skip Headers

Oracle Internet Directory Administrator's Guide
Release 9.2

Part Number A96574-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to next page

D
Upgrading Oracle Internet Directory

This chapter tells you how to upgrade from Oracle Internet Directory release 2.1.1.x or release 3.0.1.x to Oracle Internet Directory Release 9.2.1.0.

This appendix contains these topics:

Recommended Upgrade Procedure

To upgrade Oracle Internet Directory, follow the instructions in the Oracle9i Database Server Release 2 (9.2) installation documentation for your operating system.

Alternate Procedure: Upgrading a Standalone Oracle Internet Directory Node

In certain circumstances, it can be awkward to attempt an upgrade for a standalone Oracle Internet Directory node:

To upgrade the directory in these circumstances, follow the steps in the sections listed here:

Task 1: Stop Oracle Directory Server on the Old Version Node

To stop the Oracle directory server, run the following command from $ORACLE_HOME/bin/ on the node:

oidctl connect=<db_connect_string> server=oidldapd instance=1 stop

Task 2: Backup the Sponsor Node by Using Export Utility

  1. Create a new file, oidexp.dat, containing the following:
    FILE=oid.data
    OWNER=ods, odscommon
    GRANTS=y
    ROWS=y
    
    
  2. Run the following command (from $ORACLE_HOME/bin/) against the identified sponsor node:
    exp system/manager PARFILE=oidexp.dat
    

    Note: OID schema and data will be backed up in oid.data file. Move this file to the new node before performing the next task.:

Task 3: Load Data into the New Node by Using the Import Utility

  1. Run the following SQL scripts:
     cd $ORACLE_HOME/ldap/admin/
     sqlplus system/manager @ldapdrop.sql
     sqlplus system/manager @ldapxact.sql
     sqlplus system/manager @ldapxsec.sql
    
    
  2. Create a new file, oidimp1.dat, containing the following:
     FILE=oid.data
     FROMUSER=ods
     TOUSER=ods
    
    
  3. Run the following commands against the new node:
     imp system/manager PARFILE=oidimp1.dat
    

    Note: Make sure the backup oid.data file is present in the
    current directory:

  1. Create a new file, oidimp2.dat, containing the following:
     FILE=oid.data
     FROMUSER=odscommon
     TOUSER=odscommon
    
    
  2. Run the following commands against the new node:
    imp system/manager PARFILE=oidimp2.dat
    

    Note: Make sure the backup oid.data file is present in the
    current directory:

Task 4: Perform Oracle Internet Directory Schema Upgrade

  1. Launch the OID Configuration Assistant by running
    $ORACLE_HOME/bin/oidca
  2. Click Next at the Welcome Screen.
  3. Select the option `Upgrade an existing OID' and click Next.
  4. The Database Migration Screen comes up. Here you are required to provide the information about the database to which Oracle Internet Directory data has been imported. (New version OID). Enter the following information
    1. Database SID
    2. Passwords for the database users, `SYSTEM' and `ODS' respectively
    3. Oracle home
    4. Location of the INIT.ORA file.
    5. Listener Port for the OID database
    6. Connect String for the OID database
  5. Click Next. (When this operation completes, the Oracle Internet Directory base schema has been upgraded to Oracle Internet Directory version 9.0.2.1.0.)
  6. In the next screen, provide the following information about the Oracle directory server:
    1. Non-SSL port on which the directory server needs to be started. The default value specified is 389.
    2. SSL port on which the directory server needs to be started. The default value specified is 636.
    3. The super-user distinguished name.
    4. The corresponding super-user password.
  7. Click Next. In the next step, Oracle-context-related information and the Oracle Directory Integration Platform-related information will be upgraded.
  8. The Upgrading Subscriber screen appears. Here, you need to enter the distinguished name (DN) that identifies the root of your organization--for example, o=acme, dc=com. This domain is then upgraded to become the default subscriber.
  9. Click Next. The User Data Migration screen appears. This step might take a long time if you have a large directory. If you have a large directory--that is, more than 10,000 users--then Oracle Corporation recommends that you postpone your data migration and do it as a postinstallation step.
  10. However, if you want to do the user data migration as a part of this OID Configuration Assistant operation, select Yes and click Next. This completes the user data migration.

At the end of the upgrade, the directory server is running, listening to the specified Non-SSL and SSL ports.

Post-Upgrade Task: Migrate User Data

If you have a large directory--that is, greater than 10,000 entries--then Oracle Corporation recommends that you migrate the user data as a post-upgrade task.

  1. Use ldapsearch to output all the encrypted user passwords to a file.
    ldapsearch -L -h OID_host_name -p OID_Non-SSL_port -D OID_Super_User_DN -w 
    OID_Super_User_Password  -b "" -s sub "objectclass=*" dn userpassword
    
    $ORACLE_HOME/ldap/install/pwdin.ldif
    
    
  2. Use the passwordconvert tool to convert the user passwords in the file $ORACLE_HOME/ldap/install/pwdin.ldif from hex to base-64.
    passwordconvert -m hex2base64 -f modify 
    $ORACLE_HOME/ldap/install/pwdin.ldif 
    $ORACLE_HOME/ldap/install/pwdout.ldif
    
    
  3. Use ldapmodify to upload the base-64 encoded user passwords in the file $ORACLE_HOME/ldap/install/pwdout.ldif into the directory server.
    ldapmodify -h OID_host_name  -p ID_Non-SSL_port -D ID_Super_User_DN  -w ID_
    Super_User_Password -f $ORACLE_HOME/ldap/install/pwdout.ldif.
    

Go to previous page Go to next page
Oracle
Copyright © 1999, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback