<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US">Hi,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span class="Apple-style-span" style="font-family: Arial; font-size: 13px; ">I am trying to configure a service (ftp for proof of
concept) to run in an active / active configuration. A floating IP is used to
access this service. What I am trying to achieve is that a floating IP would
move to second node, if service fails on the first node. After that service
should be restarted.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US">I am able to achieve all but the restart of the
service with the following configuration:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span lang="PL" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:PL">node $id="34d5eba9-130f-4c64-9460-4a5310ac510c"
<a href="http://jesenice.iskratel.si">jesenice.iskratel.si</a> \</span></p>
<p class="MsoNormal"><span lang="PL" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:PL"><span style="mso-spacerun:yes"> </span></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:
EN-US">attributes standby="off"</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US">node
$id="5fdf23a5-61c4-4a57-80fb-c764954a5f14" <a href="http://olimpija.iskratel.si">olimpija.iskratel.si</a> \</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US"><span style="mso-spacerun:yes">
</span>attributes standby="off"</span></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US">primitive
res_ftp lsb:vsftpd \</span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>meta migration-threshold="1"
\</span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>op monitor on-fail="restart"
interval="10s"</span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US">primitive
res_ip_ftp ocf:heartbeat:IPaddr2 \</span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>params ip="172.18.251.6"
cidr_netmask="24" \</span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span>op monitor interval="15s"
timeout="30s"</span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US">clone
c_ftp res_ftp \</span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>meta clone-max="2"
clone-node-max="1" globally-unique="false"
target-role="Started"</span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US">colocation
c_ip_on_ftp inf: res_ip_ftp c_ftp</span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US">property $id="cib-bootstrap-options" \</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span>dc-version="1.0.8-9881a7350d6182bae9e8e557cf20a3cc5dac3ee7"
\</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US"><span style="mso-spacerun:yes">
</span>cluster-infrastructure="Heartbeat" \</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US"><span style="mso-spacerun:yes">
</span>stonith-enabled="false" \</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US"><span style="mso-spacerun:yes">
</span>default-resource-stickiness="200" \</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US"><span style="mso-spacerun:yes">
</span>no-quorum-policy="ignore" \</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";
mso-ansi-language:EN-US"><span style="mso-spacerun:yes">
</span>last-lrm-refresh="1290440895"</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US">If I up the migration-threshold then service restarts
n times, but floating IP doesn’t move to another node. Do you have any idea how
to achieve the desired configuration?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US"> </span></p>
<p class="MsoNormal"><span class="Apple-style-span" style="font-family: Arial; font-size: 13px; ">Regards,</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US"><br></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US">Marko</span><span class="Apple-style-span" style="font-family: Arial; font-size: 13px; "> </span></p>
<p style="margin:0cm;margin-bottom:.0001pt;text-align:justify;line-height:12.0pt"><font class="Apple-style-span" face="Arial"><b><br></b></font></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-ansi-language:EN-US"> </span></p>