Recovering Oracle Internet Directory to a Different Host To recover Oracle Internet Recovering Oracle Virtual Directory to a Different Host To recover Oracle Virtual

Recovering Your Environment 18-35 d. In the Oracle Web Cache section, update Host with the new host name. 11. Restart the WLS_PORTAL instance.

18.3.4.8.2 Recovering Oracle Forms Services to a Different Host To recover Oracle Forms

Services to a different host: 1. Recover the Managed Server, as described in Section 18.3.3.2 . 2. Recover Oracle Management Agent, as described in Section 18.3.5.3 . 3. Register the Oracle instance, along with all of its components, with the Administration Server, using the opmnctl registerinstance command on the new host. For example: opmnctl registerinstance -adminHost admin_server_host -adminPort admin_server_port -adminUsername username -adminPassword password -wlserverHome wlserver_home_location 4. Edit the following files, replacing the previous host name with the new host name: ■ webcache.xml. This file is located in: UNIX ORACLE_INSTANCEconfigWebCachewebcache_name Windows ORACLE_INSTANCE\config\WebCache\webcache_name Replace all occurrences of the previous host name with the new host name. ■ instance.properties. The file is located in: UNIX ORACLE_INSTANCEconfigOPMNopmn Windows ORACLE_INSTANCE\config\OPMN\opmn In the following line, replace the previous host name with the new host name if the Administration Server host name has changed. adminHost=host_name ■ forms.conf. The file is located in: UNIX ORACLE_INSTANCEconfigOHSohs_namemoduleconf Windows ORACLE_INSTANCE\config\OHS\ohs_name\moduleconf Replace the host name in the parameter WebLogicHost with the name of the new host. 5. On the Administration Server host, edit the following file: DOMAIN_HOMEopmntopology.xml Add properties for the ias-component id element for Oracle Forms Services. The following example shows the element after you modify it: ias-component ias-component id=forms type=FormsComponent em-properties property name=OracleHome value=path_to_oracle_home property name=instName value=instance_name property name=EMTargetType value=oracle_forms property name=version value=11.1.1 em-properties ias-component 18-36 Oracle Fusion Middleware Administrators Guide 6. On the host where the Oracle instance has been recovered, update the registration of the component with the Administration Server, using the opmnctl updatecomponentregistration command on the new host. For example: opmnctl updatecomponentregistration -Host new_host -Port nonSSLPort -componentName forms -componentType FormsComponent 7. Run the ssoreg script, which is located in: Identity_Management_ORACLE_HOMEssobin Use the following command: ssoreg.sh -site_name newhost:http_listen_port -mod_osso_url http:newhost:http_listen_port -config_mod_osso TRUE -oracle_home_path ORACLE_HOME -config_file any_new_file_path -admin_info cn=orcladmin -virtualhost -remote_midtier For example: ssoreg.sh -site_name example.com:8090 -mod_osso_url http:example.com:8090 -config_mod_osso TRUE -oracle_home_path ORACLE_HOME -config_file tmploh_osso.conf -admin_info cn=orcladmin -virtualhost -remote_midtier 8. Copy the file from the previous step to the new host. 9. In the new host, modify the OssoConfigFile section in the following file to include the path of the file in step 7: ORACLE_INSTANCEconfigOHSohs1moduleconfmod_osso.conf For example: IfModule mod_osso.c OssoIpCheck off OssoSecureCookies off OssoIdleTimeout off OssoConfigFile tmppath_of_file_created

18.3.4.8.3 Recovering Oracle Reports to a Different Host To recover Oracle Reports to a

different host: 1. Recover the Managed Server, as described in Section 18.3.3.2 . 2. Recover Oracle Management Agent, as described in Section 18.3.5.3 . 3. Register the Oracle instance, along with all of its components, with the Administration Server, using the opmnctl registerinstance command on the new host. For example: opmnctl registerinstance -adminHost admin_server_host -adminPort admin_server_port -adminUsername username -adminPassword password -wlserverHome wlserver_home_location 4. Edit the following files, replacing the previous host name with the new host name: ■ reports_install.properties. The file is located in: UNIX ORACLE_INSTANCEreports Windows ORACLE_INSTANCE\reports