Registering Oracle HTTP Server with WebLogic Server Setting the Front End URL for the Administration Console

Creating the WebLogic Server Domain for Identity Management 6-9 WeblogicPort 7001 Location Location consolehelp SetHandler weblogic-handler WebLogicHost ADMINVHN.mycompany.com WeblogicPort 7001 Location Location em SetHandler weblogic-handler WebLogicHost ADMINVHN.mycompany.com WeblogicPort 7001 Location VirtualHost 2. Restart Oracle HTTP Server on both WEBHOST1 and WEBHOST2, as described in Section 20.1, Starting and Stopping Oracle Identity Management Components. WEBHOST1 ORACLE_BASEadmininstance_namebinopmnctl restartproc ias-component=ohs1 WEBHOST2 ORACLE_BASEadmininstance_namebinopmnctl restartproc ias-component=ohs2

6.10 Registering Oracle HTTP Server with WebLogic Server

For Oracle Enterprise Manager Fusion Middleware Control to be able to manage and monitor the Oracle HTTP server, you must register the Oracle HTTP server with the domain. To do this, you must register Oracle HTTP Server with WebLogic Server using the following command: WEBHOST1 cd ORACLE_BASEadmininstance_namebin WEBHOST1 .opmnctl registerinstance -adminHost ADMINVHN.mycompany.com \ -adminPort 7001 -adminUsername weblogic You must also run this command from WEBHOST2 for OHS2.

6.11 Setting the Front End URL for the Administration Console

Oracle WebLogic Server Administration Console tracks changes that are made to ports, channels and security using the console. When changes made through the console are activated, the console validates its current listen address, port and Notes: ■ Values such as admin.mycompany:80 and youyouraddress that are noted in this document serve as examples only. Enter values based on the actual environment. ■ If you are not using a virtual host for your Administration Server host single instance, replace ADMINVHN.mycompany.com with IDMHOST1.mycompany.com. ■ The RewriteRule entries are only necessary if your topology includes Oracle Access Manager. 6-10 Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management protocol. If the listen address, port and protocol are still valid, the console redirects the HTTP request, replacing the host and port information with the Administration Servers listen address and port. When the Administration Console is accessed using a load balancer, you must change the Administration Servers front end URL so that the users browser is redirected to the appropriate load balancer address. To make this change, perform the following steps: 1. Log in to Oracle WebLogic Server Administration Console.

2. Click Lock and Edit.

3. Expand the Environment node in the Domain Structure window.

4. Click Servers to open the Summary of Servers page.

5. Select Admin Server in the Names column of the table. The Settings page for

AdminServeradmin appears.

6. Click the Protocols tab.

7. Click the HTTP tab.

8. Set the Front End Host field to admin.mycompany.com your load balancer

address.

9. Set FrontEnd HTTP Port to 80

10. Save and activate the changes. To eliminate redirections, best practice is to disable the Administration consoles Follow changes feature. To do this, log in to the administration console and click Preferences -Shared Preferences. Deselect Follow Configuration Changes and click Save .

6.12 Enabling WebLogic Plug-in