Recovering Oracle Identity Manager to a Different Host To recover Oracle Identity

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 18-38 Oracle Fusion Middleware Administrators Guide -admin_info cn=orcladmin -virtualhost -remote_midtier 9. Copy the file from the previous step to the new host. 10. In the new host, modify the OssoConfigFile section in the following file to include the path of the file in step 8: ORACLE_INSTANCEconfigOHSohs1moduleconfmod_osso.conf For example: IfModule mod_osso.c OssoIpCheck off OssoSecureCookies off OssoIdleTimeout off OssoConfigFile tmppath_of_file_created 11. In the following file, replace occurrences of the host name with the new host name: UNIX DOMAIN_HOMEserversserver_nametmp_WL_userreports_versionrandom_ stringMETA-INFmbeans.xml Windows DOMAIN_HOME\servers\server_name\tmp\_WL_user\reports_version\random_ string\META-INF\mbeans.xml 12. In the following file, replace occurrences of the host name with the new host name: ORACLE_INSTANCEEMAGENTemagent_instanceNamesysmanemdtargets.xml You change the host name in the elements beginning with the following: Target TYPE=oracle_repapp .. Target TYPE=oracle_repserv ..

18.3.4.8.4 Recovering Oracle Business Intelligence Discoverer to a Different Host To recover

Oracle Business Intelligence Discoverer 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: ■ module_disco.conf. This file is located in: UNIX ORACLE_INSTANCEconfigOHSohs_namemoduleconf Windows ORACLE_INSTANCE\config\OHS\ohs_name\moduleconf ■ 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. 5. Run the ssoreg script, which is located in: