After upgrading to AIX 5.3 TL9 SP4, we found that secldapclntd will go into a death loop during a HACMP failover. It consumes more and more CPU until the system doesn’t have any capacity left, and stops the HACMP failover. Killing secldapclntd will let HACMP continue.
We didn’t see this behavior w/ AIX 5.3 TL8 SP3. IBM has identified a couple of issues that are probably coming together to cause our problem, but they won’t be fixed in TL9… ever. IBM’s work-around is to setup a pre and post-event script to stop secldapclntd before the IP takeover (and release) and restart it afterward. In testing, this works pretty well, and it only takes a few seconds to stop and start secldapclntd.
Here’s the workaround by IBM:
- Create a script “/usr/local/cluster/start-ldap.sh” and copy it to every node in the cluster
#!/usr/bin/ksh
echo “STOP LDAP CLIENT Daemon”
/usr/sbin/start-secldapclntd
exit 0
- Create a script “/usr/local/cluster/stop-ldap.sh” and copy it to every node in the cluster
#!/usr/bin/ksh
echo “STOP LDAP CLIENT Daemon”
/usr/sbin/stop-secldapclntd
exit 0
- Create a pre-event
smitty hacmp
Extended Configuration
Extended Event Configuration
Configure Pre/Post-Event Commands
Add a Custom Cluster Event
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Cluster Event Name [] << I use the name "ldapClientStart"
* Cluster Event Description [] << Start ldap client daemon
* Cluster Event Script Filename [] << /usr/local/cluster/start-ldap.sh
- Create a post-event
smitty hacmp
Extended Configuration
Extended Event Configuration
Configure Pre/Post-Event Commands
Add a Custom Cluster Event
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Cluster Event Name [] << I use the name "ldapClientStop"
* Cluster Event Description [] << Stop ldap client daemon
* Cluster Event Script Filename [] << /usr/local/cluster/stop-ldap.sh
- Update the acquire_service_addr event
smitty hacmp
Extended Configuration
Extended Event Configuration
Change/Show Pre-Defined HACMP Events
(select –> acquire_service_addr )
Change/Show Cluster Events
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Event Name acquire_service_addr
Pre-event Command [ldapClientStop] <<< the defined name "ldapClientStop"
Post-event Command [ldapClientStart] <<< the defined name "ldapClientStart"
- Update the release_service_addr event
smitty hacmp
Extended Configuration
Extended Event Configuration
Change/Show Pre-Defined HACMP Events
(select –> release_service_addr )
Change/Show Cluster Events
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Event Name release_service_addr
Pre-event Command [ldapClientStop] <<< the defined name "ldapClientStop"
Post-event Command [ldapClientStart] <<< the defined name "ldapClientStart"
- Synchronize the cluster configuration, and you’re done