Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
LDAP-Cluster-Failure of PUNJAB GOVT
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[category:Punjab's IFMS-IWDMS Project]] Problem : LDAP Services not working on the Cluster setup Details '''LDAP Server 1 - 192.168.10.91 ( ldap1.pbifmsiwdms.pjb )''' '''LDAP Server 2 - 192.168.10.96 ( ldap2.pbifmsiwdms.pjb )''' '''Cluster IP - 192.168.10.98''' '''Diagnosis Process and resolution''' Check Cluster Status on LDAP 1 # clustat '''Service not running''' Check Cluster Status on LDAP 2 #clustat Cluster Status for LdapCluster @ Sat May 21 10:02:44 2016 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ '''ldap1.pbifmsiwdms.pjb 1 Offline''' ldap2.pbifmsiwdms.pjb 2 Online, Local '''But Services were not showing''' On LDAP1 Started the cman and rgmanager services /etc/init.d/cman start /etc/init.d/rgmanager start Checked in /var/log/messages for any error . cman and rgmanager Services started successfully . Checked the cluster status #clustat Cluster Status for LdapCluster @ Sat May 21 10:02:44 2016 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ ldap1.pbifmsiwdms.pjb 1 Online, Local ldap2.pbifmsiwdms.pjb 2 Online '''But Services were still not showing.''' We have to enable the service manually #clusvcadm -e dummy_httpd -m ldap1.pbifmsiwdms.pjb ( where dummy_httpd is the service named defined in /etc/cluster/cluster.conf ) '''But Service dummy_httpd failled''' . Checked the log and found '''/etc/init.d/httpd''' , could not start . Tried to start httpd service via '''"/etc/init.d/httpd start"''' , but failed . Checked the log i.e /var/log/httpd/error_log and found [Sat May 21 10:14:45 2016] [error] Unable to verify certificate 'Server-Cert'. Add '''"NSSEnforceValidCerts off"''' to nss.conf so the server can start until the problem can be resolved. We added '''NSSEnforceValidCerts''' off in /etc/httpd/conf.d/nss.conf in virtualHost context . Checked the httpd service via starting it on the cli , it worked successfully . Then we stopped this service as it is controlled by cluster process. We enabled the service manually again #clusvcadm -e dummy_httpd -m ldap1.pbifmsiwdms.pjb '''The services started successfully''' . [root@ldap1 ~]# clustat Cluster Status for LdapCluster @ Sat May 21 10:43:43 2016 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ ldap1.pbifmsiwdms.pjb 1 Online, Local, rgmanager ldap2.pbifmsiwdms.pjb 2 Online Service Name Owner (Last) State ------- ---- ----- ------ ----- '''service:dummy_httpd ldap1.pbifmsiwdms.pjb started''' '''Now Cluster IP is visible and LDAP is successfully accessed''' .
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)