Registering Oracle Virtual Directory with the Oracle WebLogic Server Domain

9-6 Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management

9.4 Post-Configuration Steps

This section contains the following topics: ■ Section 9.4.1, Registering Oracle Virtual Directory with the Oracle WebLogic Server Domain

9.4.1 Registering Oracle Virtual Directory with the Oracle WebLogic Server Domain

All the Oracle Fusion Middleware components deployed in this enterprise deployment are managed by using Oracle Enterprise Manager Fusion Middleware Control. To manage the Oracle Virtual Directory component with this tool, you must register the component and the Oracle Fusion Middleware instance that contains it with an Oracle WebLogic Server domain. A component can be registered either at install time or post-install. A previously un-registered component can be registered with a WebLogic domain by using the opmnctl registerinstance command. To register the Oracle Virtual Directory instances, follow these steps on OVDHOST1:

1. Set the ORACLE_HOME variable. For example, issue this command:

export ORACLE_HOME=IDM_ORACLE_HOME

2. Set the ORACLE_INSTANCE variable. For example, on OVDHOST1, issue this

command: export ORACLE_INSTANCE=u01apporacleadminovd_inst1 On OVDHOST2, issue this command: export ORACLE_INSTANCE=u01apporacleadminovd_inst2

3. Execute the opmnctl registerinstance command:

ORACLE_INSTANCE binopmnctl registerinstance -adminHost WLSHostName -adminPort WLSPort -adminUsername adminUserName For example: ORACLE_INSTANCE binopmnctl registerinstance \ -adminHost ADMINVHN.mycompany.com -adminPort 7001 -adminUsername weblogic The command requires login to WebLogic Administration Server. Username: weblogic Password: password Note: Ensure that the following environment variables are set before using ldapbind: ■ ORACLE_HOME set to IDM_ORACLE_HOME ■ ORACLE_INSTANCE ■ PATH - The following directory locations should be in your PATH: ORACLE_HOME bin ORACLE_HOME ldapbin ORACLE_HOME ldapadmin Extending the Domain with Oracle Virtual Directory 9-7 4. In order to manage Oracle Virtual Directory by using Oracle Enterprise Manager Fusion Middleware Control, you must update the Enterprise Manager Repository URL to point to the virtual IP address associated with the WebLogic Administration Server. Do this using the emctl utility with the switchOMS flag. The emctl utility is located under the ORACLE_ INSTANCE EMAGENTEMAGENTbin directory. Syntax: .emctl switchOMS ReposURL For Example: .emctl switchOMS http:ADMINVNH:7001emupload Output: .emctl switchOMS http:ADMINVHN.mycompany.com:7001emupload Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0. Copyright c 1996, 2009 Oracle Corporation. All rights reserved. SwitchOMS succeeded. 5. Validate if the agents on OVDHOST1 and OVDHOST2 are configured properly to monitor their respective targets. Follow these steps to complete this task: a. Use a web browser to access Oracle Enterprise Manager Fusion Middleware Control at http:adminvhn.mycompany.com:7001em. Log in as the weblogic user. b. From the Domain Home Page navigate to the Agent-Monitored Targets page using the menu under Farm - Agent-Monitored Targets c. Validate that the host name in Agent URL under the Agent column matches the host name under the Host column. In case of a mismatch follow these steps to correct the issue: – Click configure to go to the Configure Target Page. – On the Configure Target Page, click Change Agent and choose the correct agent for the host. – Update the WebLogic monitoring user name and the WebLogic monitoring password. Enter weblogic as the WebLogic monitoring user name and the password for the weblogic user as the WebLogic monitoring password. – Click OK to save your changes.

9.5 Disable Oracle Virtual Directory Listener SSL NIO