12-31-2013 01:58 AM
Currently there is only one ldap server configured for HPSM.
We are planning for a backup server .
I have gone through the ldap configuration document, regarding failover it says we have to add
Can someone explain me what will be ldap server 1 and ldap server 2
Please check the attached sm.ini and screen from scldapconfig.
Solved! Go to Solution.
12-31-2013 02:02 AM
sorry unable to attach ...
###### LDAP Settings ##############
Ldap Server :172.23.20.10
Ldap Base directory:DC=corp,DC=du,DC=ae
12-31-2013 02:04 AM
ldapserver1: - should be your primary LDAP server
ldapserver2: - should be your backup LDAP server
If server 1 is not available then server 2 will be used for logins etc.
If the LDAP configuration is a failover configuration, then this is all you need. If both servers are available at the same time, then login queries may also be handled by the backup server, depending on the configuration and circumstances in the environment. As long as the LDAP servers are in sync, and using the same repository (or a replicated one), you should not encounter any difficulties.
12-31-2013 02:08 AM
Thank you for replying.
"If both servers are available at the same time, then login queries may also be handled by the backup server"
For the above point can we make only the primary server to handle the request if both are available.
and do we have to make any changes in SCLDAPCONFIG table as well.
12-31-2013 05:28 AM
The secondary (backup) server would only be referenced if the primary server was unavailable for 30 seconds, which could conceivably occur during busy periods or when network traffic is high, but otherwise only the primary would be referenced.
In both cases you should ensure that the host, port and base directory are specified, otherwise you can see a drop in performance when the secondary server is referenced.
So you should have something like:
Assuming the data structure is the same or shared, otherwise a different base directory should be set.
You should not make any changes to the scldapconfig records