How to implement LDAP failover with WebSphere Portal?

Share

This type of question i answered a several times.

 The solution posted here is only one of the several solutions and depends on the architecture and servers on your deployment.

How can you implement LDAP failover for IBM WebSphere Portal version 6.1, 6.1.5, and 7 so that a replica LDAP server can be leveraged for cases in which your primary LDAP server is unavailable?

TN 1282720

Use the following steps for cases in which you configure security to a standalone LDAP:

1. Perform the WebSphere Application Server configuration steps by referencing the topic, Configuring multiple LDAP servers for user registry failover.

In addition to following the steps documented in the above link, you must follow the steps below to ensure that the Virtual Member Manager (VMM) component used by WebSphere Portal is aware of the replica LDAP servers.

2. Open the wimconfig.xml file.
For a stand-alone portal, use /config/cells//wim/config/wimconfig.xml.
For a portal cluster, use /config/cells//wim/config/wimconfig.xml

3. Search for the following line:

4. Add the failover LDAP entry under the line in Step 3:

5. Disable connection pooling with the following setting: connectionPool="false"
6. Save the changes and restart the servers.  

Use the following steps for cases in which you configure security to a federated LDAP:

1. Log into the Deployment Manager or the WebSphere Administration Console.

2. Navigate to Secure administration, applications, and infrastructure --> Federated repositories --> Manage repositories --> repository name.

3. Find the following line:
Failover server used when primary is not available

4. Add your hostname and port for the failover server.

5. Confirm the connectionPool is set to false in the wimconfig.xml file.

For a stand-alone portal, use /config/cells//wim/config/wimconfig.xml.
For a portal cluster, use /config/cells//wim/config/wimconfig.xml

6. Save the changes and restart all servers.