<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR-CH link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:FR-CH'>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:FR-CH'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:FR-CH'>We actually have a 2 nodes cluster with corosync and pacemaker for httpd. </span><span style='mso-fareast-language:FR-CH'>We have 2 VIP configured.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:FR-CH'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Since we’ve added ModSecurity 2.9, httpd restart is very slow. So I increased the start / stop timeout. But sometimes, after logrotate the following error occurs : <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 4.0pt;background:#DEEAF6'><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>Failed Actions:<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>* WebSite_monitor_300000 on node1 'not running' (7): call=26, status=complete, exitreason='none',<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> last-rc-change='Tue Jun 14 03:43:05 2016', queued=0ms, exec=0ms<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Here is the full output of crm_mon : <o:p></o:p></span></p><div style='mso-element:para-border-div;border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 4.0pt;background:#DEEAF6'><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>Last updated: Tue Jun 14 07:22:28 2016 Last change: Fri Jun 10 09:28:03 2016 by root via cibadmin on node1<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>Stack: corosync<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>Current DC: node1 (version 1.1.13-10.el7_2.2-44eb2dd) - partition with quorum<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>2 nodes and 4 resources configured<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>Online: [ node1 node2 ]<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>WebSite (systemd:httpd): Started node1<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Resource Group: WAFCluster<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> VirtualIP (ocf::heartbeat:IPaddr2): Started node1<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> MailMon (ocf::heartbeat:MailTo): Started node1<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> VirtualIP2 (ocf::heartbeat:IPaddr2): Started node1<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>Failed Actions:<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'>* WebSite_monitor_300000 on node1 'not running' (7): call=26, status=complete, exitreason='none',<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> last-rc-change='Tue Jun 14 03:43:05 2016', queued=0ms, exec=0ms<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 4.0pt;background:#DEEAF6'><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'># pcs resource --full<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Resource: WebSite (class=systemd type=httpd)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Attributes: configfile=/etc/httpd/conf/httpd.conf statusurl=http://127.0.0.1/server-status monitor=1min<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Operations: monitor interval=300s (WebSite-monitor-interval-300s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> start interval=0s timeout=300s (WebSite-start-interval-0s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> stop interval=0s timeout=300s (WebSite-stop-interval-0s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Group: WAFCluster<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Resource: VirtualIP (class=ocf provider=heartbeat type=IPaddr2)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Attributes: ip=195.70.7.74 cidr_netmask=27<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Operations: start interval=0s timeout=20s (VirtualIP-start-interval-0s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> stop interval=0s timeout=20s (VirtualIP-stop-interval-0s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> monitor interval=30s (VirtualIP-monitor-interval-30s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Resource: MailMon (class=ocf provider=heartbeat type=MailTo)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Attributes: email=system@dfi.ch<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Operations: start interval=0s timeout=10 (MailMon-start-interval-0s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> stop interval=0s timeout=10 (MailMon-stop-interval-0s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> monitor interval=10 timeout=10 (MailMon-monitor-interval-10)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Resource: VirtualIP2 (class=ocf provider=heartbeat type=IPaddr2)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Attributes: ip=195.70.7.75 cidr_netmask=27<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> Operations: start interval=0s timeout=20s (VirtualIP2-start-interval-0s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> stop interval=0s timeout=20s (VirtualIP2-stop-interval-0s)<o:p></o:p></span></p><p class=MsoNormal style='background:#DEEAF6;border:none;padding:0cm'><span lang=EN-US style='font-family:"Courier New"'> monitor interval=30s (VirtualIP2-monitor-interval-30s)<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>If I run <i>crm_resource –P</i> the Failed Actions disappear.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>How can I fix the monitor “not running” error ?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Jérémy<o:p></o:p></span></p></div></body></html>