11.1 Understanding the inspre11.pl Script

You must use the inspre11.pl Perl script when installing Oracle Single Sign-On and Oracle Delegated Administration Services Release 10g (10.1.4.3.0) against Oracle Internet Directory 11g Release 1 (11.1.1). This topic describes how to use the inspre11.pl script.

The inspre11.pl script is located in the $ORACLE_HOME/ldap/bin/ directory on the host where Oracle Internet Directory 11g Release 1 (11.1.1) is installed. Perl is located in the $ORACLE_HOME/perl/bin/ directory.

Before you execute the inspre11.pl script, you must set the following environment variables:

  • ORACLE_INSTANCE to the Oracle Internet Directory 11g Release 1 (11.1.1) Oracle Instance location.

  • ORACLE_HOME to the Oracle Internet Directory 11g Release 1 (11.1.1) Oracle Home location.

The following is the syntax for the inspre11.pl script:

$OID11gR1_ORACLE_HOME/perl/bin/perl \
$OID11gR1_ORACLE_HOME/ldap/bin/inspre11.pl OID_HOST OID_PORT {-ssl | -nonssl} \
OID_COMPONENT TNS_CONNECT_STRING ODS_PASSWORD ORCLADMIN_PASSWORD \
{-op1 | -op2 | -op3}

The following list defines each of the options for the inspre11.pl script:

OID_HOST

Identifies the host where Oracle Internet Directory 11g Release 1 (11.1.1) is installed.

OID_PORT

The SSL or non-SSL Oracle Internet Directory port.

-ssl

Indicates the port identified by OID_PORT is the Oracle Internet Directory SSL port.

-nonssl

Indicates the port identified by OID_PORT is the Oracle Internet Directory non-SSL port.

OID_COMPONENT

The name of the Oracle Internet Directory component, such as oid1. You can identify the name of the Oracle Internet Directory component using the $ORACLE_INSTANCE/bin/opmnctl status command.

TNS_CONNECT_STRING

Represents the Oracle Internet Directory database connect string defined in the ORACLE_INSTANCE/config/tnsnames.ora file. The default value is oiddb.

Note:

Only use the Oracle Internet Directory database connect string defined in the ORACLE_INSTANCE/config/tnsnames.ora file—do not use any other tnsnames.ora file to identify the connect string.
ODS_PASSWORD

The password for the ODS schema.

ORCLADMIN_PASSWORD

The password for the Oracle Internet Directory administrator, which is typically cn=orcladmin.

-op1

Enables anonymous bind and disables entry caching. While the -op1 option does not use the TNS_CONNECT_STRING value, you must include it when executing inspre11.pl with the -op1 option.

-op2

Resets the Oracle Internet Directory version to allow you to install Oracle Single Sign-On and Oracle Delegated Administration Services Release 10g (10.1.4.3.0). This option also sets the seealso attribute to point to the database identified by the TNS_CONNECT_STRING option.

-op3

Sets the Oracle Internet Directory version back to 11g Release 1 (11.1.1) and enables entry caching.