Select Environment - Servers from the Domain Structure menu. Select the Control tab. Select Shutdown - Force shutdown now. Select Yes when the confirmation dialogue opens. On APPHOST1, open the opmn.xml file is located in the ORACLE_ Search the file for t

Configuring High Availability for Oracle Portal, Forms, Reports, and Discoverer 14-67 change Oracle Discoverer on APPHOST2 to point to the preference store on APPHOST1. Identify Preference Store Host Name and Port The nominated preference server in this example is configured to run on APPHOST1. When installed onto the server, the Preference server is assigned a port. Locate this value before proceeding to the following next steps: 1. On APPHOST1, open the opmn.xml file is located in the ORACLE_ INSTANCEconfigOPMNopmn directory. 2. Search the file for the entry PREFERENCE_PORT the value= shows the port assigned to the preference server. Specifying a Discoverer Preferences Server on other Machines Having identified the host name and port number of the machine that is going to run the Preferences component that is, the Discoverer Preferences server machine, you must now ensure that other machines use the Preferences component on the Discoverer Preferences server machine. To modify the opmn.xml file of other machines to use the Discoverer Preferences server machine, perform the following steps on every other machine in the installation. 1. On each machine except the Preferences server machine, open the opmn.xml file in a text editor or XML editor. 2. Locate the PREFERENCE_HOST variable, and change its value to the host name of the Discoverer Preferences server machine, as follows: variable id=PREFERENCE_HOST value=hostname 3. Locate the PREFERENCE_PORT variable, and change its value to the port number of the Discoverer Preferences server machine, as follows: variable id=PREFERENCE_PORT value=port 4. Locate the PreferenceServer process type, and change its status to disabled, as follows: process-type id=PreferenceServer module-id=Disco_PreferenceServer working-dir=DC_LOG_DIR status=disabled 5. Save the opmn.xml file.

14.6.5.8.5 Restart WLS_DISCO and WLS_DISCO1 Restart the Web Logic managed servers

WLS_DISCO and WLS_DISCO1 by logging into the WebLogic Administration Console using the following URL: http:apphost1.mycompany.com:7001console

1. Select Environment - Servers from the Domain Structure menu.

2. Select the Control tab.

3. Select the boxes next to the server WLS_DISCO and WLS_DISCO1.

4. Select Shutdown - Force shutdown now.

5. Select Yes when the confirmation dialogue opens.

14-68 Oracle Fusion Middleware High Availability Guide 6. When the server is shutdown, restart it by selecting the boxes next to the server WLS_DISCO and WLS_DISCO1.

7. Click Start.

14.6.5.8.6 Validate the Configuration Validate the configuration using the following tests:

14.6.5.8.7 Failover of the Preference Server If the server hosting the preference server

fails, the preference server must be started on one of the surviving nodes using the following procedure: Identify Preference Store Host Name and Port The nominated preference server in this example is configured to run on APPHOST1. When installed onto the server, the Preference server is assigned a port. Locate this value using the following procedure:

1. On APPHOST1, open the opmn.xml file is located in the ORACLE_

INSTANCEconfigOPMNopmn directory.

2. Search the file for the entry PREFERENCE_PORT the value= shows the port

assigned to the preference server. Enable the Preference Store on APPHOST2 Now that APPHOST2 is using the preference store on APPHOST1, disable the preference store on APPHOST2 by editing the opmn.xml file located in the ORACLE_ INSTANCEconfigOPMNopmn directory Locate the following line: process-type id=PreferenceServer module-id=Disco_PreferenceServer working-dir=DC_LOG_DIR status=disabled Change status=disabled to status=enabled. For example: process-type id=PreferenceServer module-id=Disco_PreferenceServer working-dir=DC_LOG_DIR status=enabled Start the Preference Server on APPHOST2 Start the preference server on APPHOST2 using the following command: opmnctl startproc process-type=PreferenceServer Change Surviving Servers to Use the Preference Store on APPHOST2 Now that the preference server has been started on APPHOST2, amend all discoverer instances to use this preference server, including APPHOST2. The preference store being used is determined at the startup of the WebLogic Managed Server WLS_DISCO1. In order to get WLS_DISCO1 to use a different preference store Test URL Result Test Load Balancer http:mysite.mycompany.com AS Home Page Displayed Discoverer http:mysite.mycompany.com discovererviewer Discoverer Servlet Home Page displayed. Configuring High Availability for Oracle Portal, Forms, Reports, and Discoverer 14-69 the startup parameters must be changed, by logging into the WebLogic Administration Console using the following URL: http:apphost1.mycompany.com:7001console Continue with the following steps:

1. Select Environment - Servers from the Domain Structure menu.