A Validating OID Instances and Setting Environment Variables
As part of the pre-upgrade assessment process, you have to ensure that the OID instances are running and set the necessary environment variables.
This part contains the following topics:
Validating that the OID1 Instances are Running
You can validate the running OID1 instance on the first Oracle Internet Directory server in each environment by running the following command:
ps -ef | grep oidldapd | grep -v grep | wc -l
If the command results in 0 (zero), it means that the instance is not running.
Setting Environment Variables for Oracle Internet Directory Tools
PATH= $PATH:$ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin:$ORACLE_INSTANCE/bin
INSTANCE_NAME=oid1
COMPONENT_NAME=oid1
Examples of Locations
ORACLE_HOME: The location of the base of the Oracle Internet Directory installation.
For example:
/u01/oracle/products/dir
ORACLE_INSTANCE: The location of the base of each Oracle Internet Directory instance configuration.
For example:
/u02/private/oracle/config/domains/IAMDirectoryDomain/config/fmwconfig/components/OID
TNS_ADMIN: The location within the ORACLE_INSTANCE where the database connection file, tnsnames.ora, is located.
For example:
ORACLE_INSTANCE/config
JAVA_HOME: The location of the base Java installation.
For example:
/u01/oracle/products/jdk
ASERVER_HOME: The base location of the Administration FMW domain.
For example:
/u01/oracle/config/domains/IAMDirectoryDomain
MSERVER_HOME: The location of the Oracle Internet Directory instance domain.
For example:
/u02/private/oracle/config/domains/IAMDirectoryDomain
APPLICATION_HOME: The location of the domain’s application files.
For example:
/u01/oracle/config/applications/IAMDirectoryDomain