<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 http-equiv="Content-Type" content="text/html; charset=koi8-r">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
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="RU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello, <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">We have a cluster configured via pacemaker+corosync+crm. The configuration is:<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">node master<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">node slave<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">primitive HA-VIP1 IPaddr2 \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> params ip=192.168.22.71 nic=bond0 \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> op monitor interval=1s<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">primitive HA-variator lsb: variator \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> op monitor interval=1s \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> meta migration-threshold=1 failure-timeout=1s<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">group HA-Group HA-VIP1 HA-variator<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">property cib-bootstrap-options: \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> dc-version=1.1.10-14.el6-368c726 \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> cluster-infrastructure="classic openais (with plugin)" \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> expected-quorum-votes=2 \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> stonith-enabled=false \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> no-quorum-policy=ignore \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> last-lrm-refresh=1383871087<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">rsc_defaults rsc-options: \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> resource-stickiness=100<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">Firstly I make the variator service down on the master node (actually I delete the service binary and kill the variator process, so the variator fails to restart). Resources very quickly move on the slave node as expected.
Then I return the binary on the master and restart the variator service. Now I make the same stuff with binary and service on slave node. The crm status command quickly shows me HA-variator (lsb: variator): Stopped. But it take to much time (for us)
before recourses are switched on the master node (around 1 min). Then line <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Failed actions:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> HA- variator _monitor_1000 on slave 'unknown error' (1): call=-1, status=Timed Out, last-rc-change='Sat Dec 21 03:59:45 2013', queued=0ms, exec=0ms<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">appears in the crm status and recourses are switched.
<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">What is that timeout? Where I can change it?<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" style="mso-fareast-language:RU">------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:RU">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:RU">Dmitriy Matveichev.
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>