<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=us-ascii"><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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1321153969;
        mso-list-type:hybrid;
        mso-list-template-ids:782926442 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Hello,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I've configured it in a lab and the outcome is as following:<o:p></o:p></p><p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>      </span></span><![endif]>When I restart/stop the heartbeat process the IP and kamailio process are started on the secondary node. Which is good.<o:p></o:p></p><p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>      </span></span><![endif]>When I reboot/shutdown the whole server the IP and kamailio process are started on the secondary node. Which is good.<o:p></o:p></p><p class=MsoPlainText style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'>      </span></span><![endif]>When I only stop the kamailio process on the primary node, the process is restarted again. Which is also good, but I thought it would migrate everything to the secondary node when the kamailio process stopped. <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>If there is something wrong on the primary node which causes the kamailio process to keep crashing and restarting, it could be a hazard for our production environment. <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Did I configure something wrong which causes this behavior?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>node $id="625e6e6a-7162-4aaa-892c-6eececb384d2" proxy2<o:p></o:p></p><p class=MsoPlainText>node $id="f72871df-3756-4682-a7c6-8753efbecaf3" proxy1<o:p></o:p></p><p class=MsoPlainText>primitive kamailio lsb:kamailio \<o:p></o:p></p><p class=MsoPlainText>        op monitor interval="40s" timeout="20s"<o:p></o:p></p><p class=MsoPlainText>primitive sip_ip ocf:heartbeat:IPaddr \<o:p></o:p></p><p class=MsoPlainText>        params ip="10.0.0.1" cidr_netmask="255.255.255.0" nic="eth1" \<o:p></o:p></p><p class=MsoPlainText>        op monitor interval="40s" timeout="20s"<o:p></o:p></p><p class=MsoPlainText>group SIP sip_ip kamailio<o:p></o:p></p><p class=MsoPlainText>location sip_ip_pref SIP 100: proxy1<o:p></o:p></p><p class=MsoPlainText>property $id="cib-bootstrap-options" \<o:p></o:p></p><p class=MsoPlainText>        dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \<o:p></o:p></p><p class=MsoPlainText>        cluster-infrastructure="Heartbeat" \<o:p></o:p></p><p class=MsoPlainText>        stonith-enabled="false"<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<br>From: Grant Bagdasarian [mailto:GB@cm.nl] <br>Sent: Tuesday, February 19, 2013 3:59 PM<br>To: The Pacemaker cluster resource manager<br>Subject: Re: [Pacemaker] Monitor process, migrate only ip resources</p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Alright! Thanks Andreas and Michael for your feedback.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I'll get a lab environment up and running first and configure this there, before configuring it on our live environment. <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Regards,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Grant<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org"><span style='color:windowtext;text-decoration:none'>Pacemaker@oss.clusterlabs.org</span></a> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker"><span style='color:windowtext;text-decoration:none'>http://oss.clusterlabs.org/mailman/listinfo/pacemaker</span></a><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Project Home: <a href="http://www.clusterlabs.org"><span style='color:windowtext;text-decoration:none'>http://www.clusterlabs.org</span></a> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf"><span style='color:windowtext;text-decoration:none'>http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</span></a><o:p></o:p></p><p class=MsoPlainText>Bugs: <a href="http://bugs.clusterlabs.org"><span style='color:windowtext;text-decoration:none'>http://bugs.clusterlabs.org</span></a><o:p></o:p></p></div></body></html>