Recovering a System Component to a Different Host

18-34 Oracle Fusion Middleware Administrators Guide 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 7. Copy the file from the previous step to the new host. 8. In the new host, modify the OssoConfigFile section in the following file to include the path of the file in step 6: ORACLE_INSTANCEconfigOHSohs1moduleconfmod_osso.conf For example: IfModule mod_osso.c OssoIpCheck off OssoSecureCookies off OssoIdleTimeout off OssoConfigFile tmppath_of_file_created 9. 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 10. If the published host used to access Oracle Portal is changing, take the following steps. This could happen if you have a single node install which contains both Oracle Web Cache and WLS_PORTAL, and those processes must move to a different host. Another scenario is when you have Oracle Web Cache running on a node remotely from WLS_PORTAL, and Oracle Web Cache must move to a different host. In both these cases, take the following steps to update the Published Host information within Oracle Portal. Note: If you have a load balancer or reverse proxy configuration, the steps are not needed. a. Recursively delete all content from the following directory, but do not delete the directory itself: ORACLE_INSTANCEportalcache b. Log in to Fusion Middleware Control. Expand the farm and right-click Portal. Then, choose Settings, then Wire Configuration. c. In the Portal Midtier section, update Published Host with the new host name. 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