Recovering a Component That Is Not Functioning Properly

Recovering Your Environment 18-15

18.2.8 Recovering a Cluster

The following topics describe how to recover a cluster: ■ Recovering a Cluster After Deletion or Cluster-Level Configuration Changes ■ Recovering a Cluster After Membership Is Mistakenly Modified

18.2.8.1 Recovering a Cluster After Deletion or Cluster-Level Configuration Changes

In this scenario, the cluster has been erroneously deleted or the cluster-level configuration, such as the JMS configuration or container-level data sources, was mistakenly changed and committed. The server cannot be started or does not operate properly or the services running inside the server are not starting. You cannot ascertain what was changed. If the configuration changes are few, then the easiest way is to redo the configuration changes. If that is not feasible, use the following procedure to recover the configuration: 1. Stop the cluster. You can use the Oracle WebLogic Server Administration Console or WLST. For example, to use WLST: stopclusterName, Cluster 2. Stop the Administration Server. For example: DOMAIN_HOMEbinstopWeblogic.sh username password [admin_url] 3. Recover the Administration Server configuration by recovering the domain home backup to a temporary location. Then, restore the config directory to the following location: DOMAIN_HOMEconfig 4. Start the Administration Server. For example: DOMAIN_HOMEbinstartWebLogic.sh -Dweblogic.management.username=username -Dweblogic.management.password=password -Dweblogic.system.StoreBootIdentity=true 5. Start the cluster. You can use the Oracle WebLogic Server Administration Console or WLST. For example, to use WLST: startclusterName, Cluster

18.2.8.2 Recovering a Cluster After Membership Is Mistakenly Modified

You can recover a cluster when the clusters membership has been mistakenly modified. For example, if you inadvertently delete a member from the cluster, you can restore the member to the cluster. Caution: Performing a domain-level recovery can impact other aspects of a running system and all of the configuration changes performed after the backup was taken will be lost.