Recovering Oracle WebCenter Activities Graph

Recovering Your Environment 18-17 shared disk. Your application files should be available in the same relative location on the new file system as on the file system of the original Administration Server.

18.2.9.1 Recovering Application Artifacts

If an applications artifacts, such as the .ear file, have been lost or corrupted, you can recover the application. To recover the application: 1. Start the Managed Server to which the application was deployed. For example: DOMAIN_HOMEbinstartManagedWebLogic.sh managed_server_name admin_url This synchronizes the configuration with the Administration Server. On each Managed Server restart, the configuration and application artifacts are retrieved from the Administration Server.

18.2.9.2 Recovering a Redeployed Application That Is No Longer Functional

If a Java EE application was redeployed to a Managed Server whether or not the Managed Server is part of a cluster and the application is no longer functional, you can recover it. To recover the application: 1. Recover the application files from backup, if needed. 2. Redeploy the old version of the application from the backup. You cannot just copy the original ear file. Even if the original ear file from the backup is copied back to the Managed Server stage directory and you restart the Managed Server, the application is still not recovered. You must redeploy the original version.

18.2.9.3 Recovering an Undeployed Application

If a deployed application was undeployed from Oracle WebLogic Server, you can recover it. To recover the application: 1. Recover the application files from backup, if needed. 2. Redeploy the old version of the application from the backup. If the application was deployed to a cluster, redeploy the application to the same cluster. You cannot just copy the original ear file. Even if the original ear file from the backup is copied back to the Managed Server stage directory and you restart the Managed Server, the application is still not recovered. You must redeploy the original version.

18.2.9.4 Recovering a Composite Application

A new version of a composite application such as SOA application was redeployed to a Managed Server or cluster. The application is no longer functional. To recover the application: 1. Recover the application files from backup, if needed. See Also: Oracle Fusion Middleware Deploying Applications to Oracle WebLogic Server for information about deploying applications 18-18 Oracle Fusion Middleware Administrators Guide 2. Redeploy the old version of the application. If the application was deployed to a cluster, redeploy the application to the same cluster.

18.2.10 Recovering a Database

If your database that contains your metadata repository, including the MDS Repository, is corrupted, you can recover it using RMAN. You can recover the database at the desired granularity, either a full recovery or a tablespace recovery. For best results, recover the database to the most current state, using point-in-time recovery if the database is configured in Archive Log Mode. This ensures that the latest data is recovered. For example: rman restore database; rman recover database; See Appendix D for the schemas used by each component. For detailed steps, see the Oracle Database Backup and Recovery Users Guide, which is available at: http:www.oracle.comtechnetworkdatabaseenterprise-editiondocumenta tionindex.html

18.3 Recovering After Loss of Host

This section describes how to recover your Oracle Fusion Middleware environment after losing the original operating environment. For example, you could have a serious system malfunction or loss of media. The sections includes the following topics: ■ Recovering After Loss of Oracle WebLogic Server Domain Host ■ Recovering After Loss of Administration Server Host ■ Recovering After Loss of Managed Server Host ■ Recovering After Loss of Component Host ■ Additional Actions for Recovering Entities After Loss of Host ■ Recovering After Loss of Database Host

18.3.1 Recovering After Loss of Oracle WebLogic Server Domain Host

To recover an Oracle WebLogic Server domain: 1. Stop all relevant processes. That is, stop all processes that are related to the domain, such as the Administration Server and Managed Servers. For example, stop the Administration Server: DOMAIN_HOMEbinstopWeblogic.sh username password [admin_url] 2. Recover the domain directory from backup: cd DOMAIN_HOME UNIX tar -xf domain_backup_092010.tar Windows jar xtf domain_backup_092010.jar Note: When you are recovering in the case of loss of host, you must restore the files using the same path as on the original host.