<div dir="ltr">







<p class="gmail-p1">Hi all,</p>
<p class="gmail-p2"><br></p>
<p class="gmail-p1">I having some problems with VIP error when fail Active node. My details are below:</p>
<p class="gmail-p1">OS : Ubuntu precise (12.04.4 LTS)</p>
<p class="gmail-p1">Pacemaker : Pacemaker 1.1.6</p>
<p class="gmail-p1">Corosync : version  1.4.2</p>
<p class="gmail-p2"><br></p>
<p class="gmail-p1">Im using Two nodes for failover (Active/Standby) but when I killed process manually by  “ps aux | grep “corosync” | grep -v grep | awk '{ print $2 }' | xargs kill -9” this command it’s not failover to Standby node, standby node is failed to get VIP and having error on standby node with “vip-local-check_start_0 (node=pm1.local, call=26, rc=1, status=complete): unknown error” this error.after all this VIP is still having with first node which is already OFF. What is the actual problem and can I fixed this problem?</p><p class="gmail-p1"><br></p><p class="gmail-p1">This is my cofiguration:<br></p><p class="gmail-p1"><br></p><p class="gmail-p1"><span class="gmail-s1">node</span><span class="gmail-s2"> pm1.local</span></p><p class="gmail-p1"><span class="gmail-s1">node</span><span class="gmail-s2"> pm2.local</span></p><p class="gmail-p1"><span class="gmail-s1">primitive</span><span class="gmail-s2"> asterisk ocf:heartbeat:asterisk \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">       </span></span><span class="gmail-s1">params</span><span class="gmail-s3"> </span><span class="gmail-s2">binary</span><span class="gmail-s3">="</span><span class="gmail-s4">/usr/sbin/asterisk</span><span class="gmail-s3">" </span><span class="gmail-s2">canary_binary</span><span class="gmail-s3">="</span><span class="gmail-s4">astcanary</span><span class="gmail-s3">" </span><span class="gmail-s2">additional_parameters</span><span class="gmail-s3">="</span><span class="gmail-s4">-vvvg -I</span><span class="gmail-s3">" </span><span class="gmail-s2">config</span><span class="gmail-s3">="</span><span class="gmail-s4">/etc/asterisk/asterisk.conf</span><span class="gmail-s3">" </span><span class="gmail-s2">user</span><span class="gmail-s3">="</span><span class="gmail-s4">root</span><span class="gmail-s3">" </span><span class="gmail-s2">group</span><span class="gmail-s3">="</span><span class="gmail-s4">root</span><span class="gmail-s3">" </span><span class="gmail-s2">additional_parameters</span><span class="gmail-s3">="</span><span class="gmail-s4">-vvvg -I</span><span class="gmail-s3">" </span><span class="gmail-s2">realtime</span><span class="gmail-s3">="</span><span class="gmail-s4">true</span><span class="gmail-s3">" </span><span class="gmail-s2">maxfiles</span><span class="gmail-s3">="</span><span class="gmail-s4">32768</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s1">meta</span><span class="gmail-s3"> </span><span class="gmail-s2">migration-threshold</span><span class="gmail-s3">="</span><span class="gmail-s4">2</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">      </span></span><span class="gmail-s1">op</span><span class="gmail-s3"> monitor </span><span class="gmail-s2">interval</span><span class="gmail-s3">="</span><span class="gmail-s4">20s</span><span class="gmail-s3">" </span><span class="gmail-s2">timeout</span><span class="gmail-s3">="</span><span class="gmail-s4">30s</span><span class="gmail-s3">" </span><span class="gmail-s2">start-delay</span><span class="gmail-s3">="</span><span class="gmail-s4">5s</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">      </span></span><span class="gmail-s1">op</span><span class="gmail-s3"> stop </span><span class="gmail-s2">on-fail</span><span class="gmail-s3">="</span><span class="gmail-s4">ignore</span><span class="gmail-s3">" </span><span class="gmail-s2">interval</span><span class="gmail-s3">="</span><span class="gmail-s4">0s</span><span class="gmail-s3">"</span></p><p class="gmail-p1"><span class="gmail-s1">primitive</span><span class="gmail-s2"> changeSrcIp ocf:pacemaker:changeSrcIp \</span></p><p class="gmail-p3"><span class="gmail-s3"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s1">params</span><span class="gmail-s3"> </span><span class="gmail-s5">vip</span><span class="gmail-s3">="</span><span class="gmail-s2">192.168.12.230</span><span class="gmail-s3">" </span><span class="gmail-s5">mask</span><span class="gmail-s3">="</span><span class="gmail-s2">23</span><span class="gmail-s3">" </span><span class="gmail-s5">device</span><span class="gmail-s3">="</span><span class="gmail-s2">eth0</span><span class="gmail-s3">" \</span></p><p class="gmail-p1"><span class="gmail-s2"><span class="gmail-Apple-tab-span">   </span></span><span class="gmail-s1">op</span><span class="gmail-s2"> start </span><span class="gmail-s5">interval</span><span class="gmail-s2">="</span><span class="gmail-s4">0s</span><span class="gmail-s2">" </span><span class="gmail-s5">timeout</span><span class="gmail-s2">="</span><span class="gmail-s4">0</span><span class="gmail-s2">" \</span></p><p class="gmail-p1"><span class="gmail-s2"><span class="gmail-Apple-tab-span">      </span></span><span class="gmail-s1">op</span><span class="gmail-s2"> monitor </span><span class="gmail-s5">interval</span><span class="gmail-s2">="</span><span class="gmail-s4">10s</span><span class="gmail-s2">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span"> </span></span><span class="gmail-s1">op</span><span class="gmail-s3"> stop </span><span class="gmail-s2">on-fail</span><span class="gmail-s3">="</span><span class="gmail-s4">ignore</span><span class="gmail-s3">" </span><span class="gmail-s2">interval</span><span class="gmail-s3">="</span><span class="gmail-s4">0s</span><span class="gmail-s3">"</span></p><p class="gmail-p1"><span class="gmail-s1">primitive</span><span class="gmail-s2"> setDefaultGateway ocf:pacemaker:setDefaultGateway \</span></p><p class="gmail-p3"><span class="gmail-s3"><span class="gmail-Apple-tab-span"> </span></span><span class="gmail-s1">params</span><span class="gmail-s3"> </span><span class="gmail-s5">gateway</span><span class="gmail-s3">="</span><span class="gmail-s2">192.168.12.1</span><span class="gmail-s3">" </span><span class="gmail-s5">device</span><span class="gmail-s3">="</span><span class="gmail-s2">eth0</span><span class="gmail-s3">" \</span></p><p class="gmail-p1"><span class="gmail-s2"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s1">op</span><span class="gmail-s2"> start </span><span class="gmail-s5">interval</span><span class="gmail-s2">="</span><span class="gmail-s4">0s</span><span class="gmail-s2">" </span><span class="gmail-s5">timeout</span><span class="gmail-s2">="</span><span class="gmail-s4">0</span><span class="gmail-s2">" \</span></p><p class="gmail-p1"><span class="gmail-s2"><span class="gmail-Apple-tab-span">      </span></span><span class="gmail-s1">op</span><span class="gmail-s2"> monitor </span><span class="gmail-s5">start-delay</span><span class="gmail-s2">="</span><span class="gmail-s4">10s</span><span class="gmail-s2">" </span><span class="gmail-s5">interval</span><span class="gmail-s2">="</span><span class="gmail-s4">20s</span><span class="gmail-s2">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s1">op</span><span class="gmail-s3"> stop </span><span class="gmail-s2">on-fail</span><span class="gmail-s3">="</span><span class="gmail-s4">ignore</span><span class="gmail-s3">" </span><span class="gmail-s2">interval</span><span class="gmail-s3">="</span><span class="gmail-s4">0s</span><span class="gmail-s3">"</span></p><p class="gmail-p1"><span class="gmail-s1">primitive</span><span class="gmail-s2"> stonithPM1 stonith:external/ssh \</span></p><p class="gmail-p3"><span class="gmail-s3"><span class="gmail-Apple-tab-span">   </span></span><span class="gmail-s1">params</span><span class="gmail-s3"> </span><span class="gmail-s5">nodename</span><span class="gmail-s3">="</span><span class="gmail-s2">pm1.local</span><span class="gmail-s3">" </span><span class="gmail-s5">ipaddr</span><span class="gmail-s3">="</span><span class="gmail-s2">192.168.12.231</span><span class="gmail-s3">" </span><span class="gmail-s5">userid</span><span class="gmail-s3">="</span><span class="gmail-s2">root</span><span class="gmail-s3">" </span><span class="gmail-s5">passwd</span><span class="gmail-s3">="</span><span class="gmail-s2">0000</span><span class="gmail-s3">"</span></p><p class="gmail-p1"><span class="gmail-s1">primitive</span><span class="gmail-s2"> vip-local ocf:heartbeat:IPaddr2 \</span></p><p class="gmail-p3"><span class="gmail-s3"><span class="gmail-Apple-tab-span">      </span></span><span class="gmail-s1">params</span><span class="gmail-s3"> </span><span class="gmail-s5">ip</span><span class="gmail-s3">="</span><span class="gmail-s2">192.168.12.230</span><span class="gmail-s3">" </span><span class="gmail-s5">cidr_netmask</span><span class="gmail-s3">="</span><span class="gmail-s2">23</span><span class="gmail-s3">" </span><span class="gmail-s5">broadcast</span><span class="gmail-s3">="</span><span class="gmail-s2">192.168.13.255</span><span class="gmail-s3">" </span><span class="gmail-s5">nic</span><span class="gmail-s3">="</span><span class="gmail-s2">eth0</span><span class="gmail-s3">" </span><span class="gmail-s5">iflabel</span><span class="gmail-s3">="</span><span class="gmail-s2">0</span><span class="gmail-s3">" \</span></p><p class="gmail-p1"><span class="gmail-s2"><span class="gmail-Apple-tab-span">    </span></span><span class="gmail-s1">op</span><span class="gmail-s2"> start </span><span class="gmail-s5">interval</span><span class="gmail-s2">="</span><span class="gmail-s4">0</span><span class="gmail-s2">" </span><span class="gmail-s5">timeout</span><span class="gmail-s2">="</span><span class="gmail-s4">20s</span><span class="gmail-s2">" \</span></p><p class="gmail-p1"><span class="gmail-s2"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s1">op</span><span class="gmail-s2"> monitor </span><span class="gmail-s5">interval</span><span class="gmail-s2">="</span><span class="gmail-s4">5s</span><span class="gmail-s2">" </span><span class="gmail-s5">timeout</span><span class="gmail-s2">="</span><span class="gmail-s4">20s</span><span class="gmail-s2">" </span><span class="gmail-s5">on-fail</span><span class="gmail-s2">="</span><span class="gmail-s4">ignore</span><span class="gmail-s2">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">       </span></span><span class="gmail-s1">op</span><span class="gmail-s3"> stop </span><span class="gmail-s2">on-fail</span><span class="gmail-s3">="</span><span class="gmail-s4">ignore</span><span class="gmail-s3">" </span><span class="gmail-s2">interval</span><span class="gmail-s3">="</span><span class="gmail-s4">0</span><span class="gmail-s3">"</span></p><p class="gmail-p1"><span class="gmail-s1">primitive</span><span class="gmail-s2"> vip-local-check ocf:heartbeat:VIPcheck \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s1">params</span><span class="gmail-s3"> </span><span class="gmail-s2">target_ip</span><span class="gmail-s3">="</span><span class="gmail-s4">192.168.12.230</span><span class="gmail-s3">" </span><span class="gmail-s2">count</span><span class="gmail-s3">="</span><span class="gmail-s4">1</span><span class="gmail-s3">" </span><span class="gmail-s2">wait</span><span class="gmail-s3">="</span><span class="gmail-s4">5</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">  </span></span><span class="gmail-s1">op</span><span class="gmail-s3"> start </span><span class="gmail-s2">interval</span><span class="gmail-s3">="</span><span class="gmail-s4">0s</span><span class="gmail-s3">" </span><span class="gmail-s2">timeout</span><span class="gmail-s3">="</span><span class="gmail-s4">60s</span><span class="gmail-s3">" </span><span class="gmail-s2">on-fail</span><span class="gmail-s3">="</span><span class="gmail-s4">ignore</span><span class="gmail-s3">" \</span></p><p class="gmail-p1"><span class="gmail-s2"><span class="gmail-Apple-tab-span"> </span></span><span class="gmail-s1">op</span><span class="gmail-s2"> stop </span><span class="gmail-s5">on-fail</span><span class="gmail-s2">="</span><span class="gmail-s4">ignore</span><span class="gmail-s2">" </span><span class="gmail-s5">interval</span><span class="gmail-s2">="</span><span class="gmail-s4">0s</span><span class="gmail-s2">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">  </span></span><span class="gmail-s1">op</span><span class="gmail-s3"> monitor </span><span class="gmail-s2">interval</span><span class="gmail-s3">="</span><span class="gmail-s4">0s</span><span class="gmail-s3">" </span><span class="gmail-s2">timeout</span><span class="gmail-s3">="</span><span class="gmail-s4">60s</span><span class="gmail-s3">" </span><span class="gmail-s2">on-fail</span><span class="gmail-s3">="</span><span class="gmail-s4">ignore</span><span class="gmail-s3">"</span></p><p class="gmail-p4"><span class="gmail-s1">group</span><span class="gmail-s3"> TestService </span><span class="gmail-s2">vip-local-check</span><span class="gmail-s3"> </span><span class="gmail-s2">vip-local</span><span class="gmail-s3"> </span><span class="gmail-s2">changeSrcIp</span><span class="gmail-s3"> </span><span class="gmail-s2">asterisk</span><span class="gmail-s3"> </span><span class="gmail-s2">setDefaultGateway</span><span class="gmail-s3"> </span><span class="gmail-s2">stonithPM1</span></p><p class="gmail-p1"><span class="gmail-s1">property</span><span class="gmail-s2"> $id="cib-bootstrap-options" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">    </span></span><span class="gmail-s2">have-watchdog</span><span class="gmail-s3">="</span><span class="gmail-s4">false</span><span class="gmail-s3">" \</span></p><p class="gmail-p3"><span class="gmail-s3"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s5">dc-version</span><span class="gmail-s3">="</span><span class="gmail-s2">1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">       </span></span><span class="gmail-s2">cluster-infrastructure</span><span class="gmail-s3">="</span><span class="gmail-s4">openais</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">  </span></span><span class="gmail-s2">expected-quorum-votes</span><span class="gmail-s3">="</span><span class="gmail-s4">2</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span"> </span></span><span class="gmail-s2">stonith-enabled</span><span class="gmail-s3">="</span><span class="gmail-s4">false</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">   </span></span><span class="gmail-s2">no-quorum-policy</span><span class="gmail-s3">="</span><span class="gmail-s4">ignore</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span"> </span></span><span class="gmail-s2">enable-startup-probes</span><span class="gmail-s3">="</span><span class="gmail-s4">false</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s2">maintenance-mode</span><span class="gmail-s3">="</span><span class="gmail-s4">false</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">  </span></span><span class="gmail-s2">startup-fencing</span><span class="gmail-s3">="</span><span class="gmail-s4">false</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">   </span></span><span class="gmail-s2">dc-deadtime</span><span class="gmail-s3">="</span><span class="gmail-s4">20s</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span"> </span></span><span class="gmail-s2">last-lrm-refresh</span><span class="gmail-s3">="</span><span class="gmail-s4">1480070336</span><span class="gmail-s3">" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">     </span></span><span class="gmail-s2">placement-strategy</span><span class="gmail-s3">="</span><span class="gmail-s4">balanced</span><span class="gmail-s3">"</span></p><p class="gmail-p1"><span class="gmail-s1">rsc_defaults</span><span class="gmail-s2"> $id="rsc-options" \</span></p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">       </span></span><span class="gmail-s2">resource-stickiness</span><span class="gmail-s3">="</span><span class="gmail-s4">INFINITY</span><span class="gmail-s3">" \</span></p><p class="gmail-p1">




















































</p><p class="gmail-p2"><span class="gmail-s3"><span class="gmail-Apple-tab-span">        </span></span><span class="gmail-s2">migration-threshold</span><span class="gmail-s3">="</span><span class="gmail-s4">1</span><span class="gmail-s3">"</span></p><p class="gmail-p2"><br></p><p class="gmail-p2">Thanks and Regards,</p><p class="gmail-p2">Siwakoti Ganesh</p></div>