Editing
LoadBalancer External Sites: Apache mod balancer
(section)
Jump to navigation
Jump to search
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!
= Troubleshooting = == cluster failures == * The cluster will retry to fix all services every 60s [ONLY if the cluster is ONLINE] === Working Cluster looks like === <source> [root@modbalancer2 init.d]# crm_mon -rf1 ============ Last updated: Wed Mar 27 14:39:08 2013 Stack: openais Current DC: modbalancer2 - partition with quorum Version: 1.1.5-1.1.el5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f 2 Nodes configured, 2 expected votes 9 Resources configured. ============ Online: [ modbalancer1 modbalancer2 ] Full list of resources: Clone Set: clone_httpd [httpd] Started: [ modbalancer2 modbalancer1 ] p_ip-10.0.0.104 (ocf::heartbeat:IPaddr): Started modbalancer1 p_ip-10.0.0.105 (ocf::heartbeat:IPaddr): Started modbalancer2 p_ip-10.0.0.106 (ocf::heartbeat:IPaddr): Started modbalancer1 p_ip-10.0.0.107 (ocf::heartbeat:IPaddr): Started modbalancer2 p_ip-10.0.0.108 (ocf::heartbeat:IPaddr): Started modbalancer1 p_ip-10.0.0.109 (ocf::heartbeat:IPaddr): Started modbalancer2 p_ip-10.0.0.110 (ocf::heartbeat:IPaddr): Started modbalancer1 p_ip-10.0.0.111 (ocf::heartbeat:IPaddr): Started modbalancer2 Migration summary: * Node modbalancer1: * Node modbalancer2: </source> == nagios page: check_crm CRITICAL - Connection to cluster FAILED: connection failed== :FIX: make sure corosync is running and packemaker is running ==nagios page: httpd:0 httpd:1 Stopped [ Clone OK-NONE!] == :FIX: httpd configs are probably messed up on both. You need to fix any apache config errors : Once apache starts properly, cleanup the cluster httpd server <source> crm resource cleanup clone_httpd </source> == UNCLEAN (offline) == * stop pacemaker and corosync - then start - in that order * reason (in a bad failure . I.E. pacemaker cannot get status, it would notmally stonith, but that is not enabled) <source> # Stop /etc/init.d/pacemaker stop /etc/init.d/corosync stop # Start /etc/init.d/corosync start /etc/init.d/pacemaker start </source> == nagios page: httpd failure detected, fail-count=1 == : These will fix themselves if apache is starting propely. : If you are impatient, you can run <source> crm resource cleanup clone_httpd </source> == httpd - crm == * If apache failed for a while, you may need to kick start pacemaker if you are impatient <source> crm resource cleanup clone_httpd </source> == Unison == * '''Synchronisation failed : please check /root/unison.log file for diagnosis ''' FIX: remove /root/.unison/ar* files from both servers and resync manually <source> ssh modbalancer1 sudo su - cp -R /etc/httpd/ /etc/httpd.bak rm /root/.unison/ar* ssh modbalancer1 -C "rm /root/.unison/ar*" /usr/bin/unison -times=true -prefer newer -batch -auto /etc/httpd/ ssh://root@modbalancer2//etc/httpd/ </source> == inotify_watcher == * '''PROCS CRITICAL: 0 processes with args '/usr/local/bin/inotify_watcher.pl' ''' FIX: check /etc/rc.local to make sure the startup script is there. Start the process in screen <source> screen -dmS inotify /usr/local/bin/inotify_watcher.pl </source>
Summary:
Please note that all contributions to RARForge 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
RARForge:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Home
All Pages
All Files
View Categories
Recent changes
Random page
Edit this menu
Tools
What links here
Related changes
Special pages
Page information