In the Available field, located in the Migration Configuration section, select Click Save. Click Activate Changes. Testing the Server Migration

17-6 Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management preference for each server that is configured with server migration. Follow these steps to configure cluster migration in a migration in a cluster: 1. Log in to the Oracle WebLogic Server Administration Console http:Host:Admin_Portconsole. Typically, Admin_Port is 7001 by default.

2. In the Domain Structure window, expand Environment and select Clusters. The

Summary of Clusters page is displayed. 3. Click the cluster for which you want to configure migration OIM_CLUSTER in the Name column of the table.

4. Click the Migration tab.

5. Click Lock and Edit.

6. In the Available field, select the machine to which to allow migration and click the

right arrow. In this case, select OIMHOST1 and OIMHOST2. 7. Select the data source to be used for automatic migration. In this case, select the leasing data source.

8. Click Save.

9. Click Activate Changes.

10. Repeat steps 2 through 9 for the SOA cluster. 11. Set the candidate machines for server migration. You must perform this task for all of the Managed Servers as follows: a. In the Domain Structure window of the Oracle WebLogic Server Administration Console, expand Environment and select Servers. b. Select the server for which you want to configure migration.

c. Click the Migration tab.

d. In the Available field, located in the Migration Configuration section, select

the machines to which to allow migration and click the right arrow. For WLS_ OIM1 , select OIMHOST2. For WLS_OIM2, select OIMHOST1. e. Select Automatic Server Migration Enabled. This enables Node Manager to start a failed server on the target node automatically.

f. Click Save.

g. Click Activate Changes.

h. Repeat the previous steps for the WLS_SOA1 and WLS_SOA2 Managed Servers. i. Restart WebLogic Administration Server, Node Managers, and the servers for which server migration has been configured. Tip: Click Customize this table in the Summary of Servers page and move Current Machine from the Available window to the Chosen window to view the machine on which the server is running. This is different from the configuration if the server gets migrated automatically. Configuring Server Migration for Oracle Identity Manager 17-7

17.6 Testing the Server Migration

The final step is to test the server migration. Perform these steps to verify that server migration is working properly: From OIMHOST1: 1. Stop the WLS_OIM1 Managed Server. To do this, run this command: OIMHOST1 kill -9 pid where pid specifies the process ID of the Managed Server. You can identify the pid in the node by running this command: OIMHOST1 ps -ef | grep WLS_OIM1 2. Watch the Node Manager console. You should see a message indicating that WLS_ OIM1s floating IP has been disabled. 3. Wait for Node Manager to try a second restart of WLS_OIM1. It waits for a fence period of 30 seconds before trying this restart. 4. Once Node Manager restarts the server, stop it again. Node Manager should now log a message indicating that the server will not be restarted again locally. From OIMHOST2: 1. Watch the local Node Manager console. After 30 seconds since the last try to restart WLS_OIM1 on OIMHOST1, Node Manager on OIMHOST2 should prompt that the floating IP for WLS_OIM1 is being brought up and that the server is being restarted in this node. 2. Access the soa-infra console in the same IP. Follow the previous steps to test server migration for the WLS_OIM2, WLS_SOA1, and WLS_SOA2 Managed Servers. Table 17–2 shows the Managed Servers and the hosts they migrate to in case of a failure. Verification From the Administration Console Migration can also be verified in the Administration Console:

1. Log in to the Administration Console.

2. Click Domain on the left console.

3. Click the Monitoring tab and then the Migration sub tab.

The Migration Status table provides information on the status of the migration. Table 17–2 WLS_OIM1, WLS_OIM2, WLS_SOA1, WLS_SOA2 Server Migration Managed Server Migrated From Migrated To WLS_OIM1 OIMHOST1 OIMHOST2 WLS_OIM2 OIMHOST2 OIMHOST1 WLS_SOA1 OIMHOST1 OIMHOST2 WLS_SOA2 OIMHOST2 OIMHOST1 17-8 Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management Note: After a server is migrated, to fail it back to its original nodemachine, stop the Managed Server from the Oracle WebLogic Administration Console and then start it again. The appropriate Node Manager starts the Managed Server on the machine to which it was originally assigned. 18 Integrating Components 18-1 18 Integrating Components This chapter contains the following topics: ■ Section 18.1, Integrating Oracle Identity Manager and Oracle Access Manager 11g