<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;}
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";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I wish to monitor a certain running process and migrate floating IP addresses when this process stops running. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My current configuration is as following:<o:p></o:p></p><p class=MsoNormal>crm(live)configure# show<o:p></o:p></p><p class=MsoNormal>node $id="8fe81814-6e85-454f-b77b-5783cc18f4c6" proxy1<o:p></o:p></p><p class=MsoNormal>node $id="ceb5c90f-ee6a-44b9-b722-78781f6a61ab" proxy2<o:p></o:p></p><p class=MsoNormal>primitive sip_ip ocf:heartbeat:IPaddr \<o:p></o:p></p><p class=MsoNormal> params ip="10.0.0.1" cidr_netmask="255.255.255.0" nic="eth1" \<o:p></o:p></p><p class=MsoNormal> op monitor interval="40s" timeout="20s"<o:p></o:p></p><p class=MsoNormal>primitive sip_ip_2 ocf:heartbeat:IPaddr \<o:p></o:p></p><p class=MsoNormal> params ip="10.0.0.2" cidr_netmask="255.255.255.0" nic="eth1" \<o:p></o:p></p><p class=MsoNormal> op monitor interval="40s" timeout="20s"<o:p></o:p></p><p class=MsoNormal>primitive sip_ip_3 ocf:heartbeat:IPaddr \<o:p></o:p></p><p class=MsoNormal> params ip="10.0.0.3" cidr_netmask="255.255.255.0" nic="eth1" \<o:p></o:p></p><p class=MsoNormal> op monitor interval="40s" timeout="20s"<o:p></o:p></p><p class=MsoNormal>location sip_ip_pref sip_ip 100: proxy1<o:p></o:p></p><p class=MsoNormal>location sip_ip_pref_2 sip_ip_2 101: proxy1<o:p></o:p></p><p class=MsoNormal>location sip_ip_pref_3 sip_ip_3 102: proxy1<o:p></o:p></p><p class=MsoNormal>property $id="cib-bootstrap-options" \<o:p></o:p></p><p class=MsoNormal> dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \<o:p></o:p></p><p class=MsoNormal> cluster-infrastructure="Heartbeat" \<o:p></o:p></p><p class=MsoNormal> stonith-enabled="false"<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Couple days ago our kamailio process stopped and the ip resources weren’t migrated to our secondary node. <o:p></o:p></p><p class=MsoNormal>The secondary node already has the kamailio process running. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>How do I configure ha so that the kamailio process is monitored every x seconds and when it has stopped the three ip addresses are migrated to the secondary node?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Grant<o:p></o:p></p></div></body></html>