Recovering Oracle Identity Federation to a Different Host Because Oracle Identity

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 Recovering Your Environment 18-37 Edit the parameters SERVER_NAME, OHS_HOST and REPORTS_ MANAGED_WLS_HOST. ■ 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 ■ reports_ohs.conf. The file is located in: UNIX ORACLE_INSTANCEconfigOHSohs_namemoduleconf Windows ORACLE_INSTANCE\config\OHS\ohs_name\moduleconf ■ rwservlet.properties. The file is located in: UNIX DOMAIN_HOMEconfigfmwconfigserversserver_ nameapplicationsreports_versionconfiguration Windows DOMAIN_HOME\config\fmwconfig\servers\server_ name\applications\reports_version\configuration In the file, modify the server element to use the new host name. 5. In the following directory, rename the subdirectory to have the new host name: UNIX ORACLE_INSTANCEdiagnosticslogsReportsServer Windows ORACLE_INSTANCE\diagnostics\logs\ReportsServer 6. In the following directory, rename the old_host_name.dat file to the new host name: UNIX ORACLE_INSTANCEreportsserver Windows ORACLE_INSTANCE\reports\server 7. In the following directory, rename the subdirectory to have the new host name: UNIX ORACLE_INSTANCEconfigReportsServer Windows ORACLE_INSTANCE\config\ReportsServer 8. 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