<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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Arial Black";
panose-1:2 11 10 4 2 1 2 2 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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texto de bal\00E3o Car\00E1cter";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EstiloCorreioElectrnico17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.TextodebaloCarcter
{mso-style-name:"Texto de bal\00E3o Car\00E1cter";
mso-style-priority:99;
mso-style-link:"Texto de bal\00E3o";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:764305688;
mso-list-type:hybrid;
mso-list-template-ids:1309056952 -1039889536 135659523 135659525 135659521 135659523 135659525 135659521 135659523 135659525;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:20.25pt;
text-indent:-18.0pt;
font-family:Symbol;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:56.25pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:92.25pt;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:128.25pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:164.25pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:200.25pt;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:236.25pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:272.25pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:308.25pt;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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=PT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-GB>Hi all.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>We have one cluster that has 9 nodes and 20 resources.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Four of those hosts are PSIP-SRV01-active, PSIP-SRV01-passive, PSIP-SRV02-active and PSIP-SRV02-active.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>They should provide an lsb:opensips service, 2 by 2:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:20.25pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-GB style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-GB>The SRV01-opensips and SRV01-IP resources should be active on one of PSIP-SRV01-active or PSIP-SRV01-passive;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:20.25pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-GB style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-GB>The SRV02-opensips and SRV02-IP resources should be active on one of PSIP-SRV02-active or PSIP-SRV02-passive.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>The relevant configuration is the following:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'>Resources:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Resource: SRV01-IP (class=ocf provider=heartbeat type=IPaddr2)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Attributes: ip=10.0.0.1 cidr_netmask=27<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Meta Attrs: target-role=Started<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Operations: monitor interval=8s (SRV01-IP-monitor-8s)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Resource: SRV01-opensips (class=lsb type=opensips)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Operations: monitor interval=8s (SRV01-opensips-monitor-8s)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Resource: SRV02-IP (class=ocf provider=heartbeat type=IPaddr2)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Attributes: ip=10.0.0.2 cidr_netmask=27<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Operations: monitor interval=8s (SRV02-IP-monitor-8s)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Resource: SRV02-opensips (class=lsb type=opensips)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Operations: monitor interval=30 (SRV02-opensips-monitor-30)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'>Location Constraints:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Resource: SRV01-opensips<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Enabled on: PSIP-SRV01-active (score:100) (id:prefer1-srv01-active)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Enabled on: PSIP-SRV01-passive (score:99) (id:prefer3-srv01-active)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Resource: SRV01-IP<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Enabled on: PSIP-SRV01-active (score:100) (id:prefer-SRV01-ACTIVE)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Enabled on: PSIP-SRV01-passive (score:99) (id:prefer-SRV01-PASSIVE)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Resource: SRV02-IP<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Enabled on: PSIP-SRV02-active (score:100) (id:prefer-SRV02-ACTIVE)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Enabled on: PSIP-SRV02-passive (score:99) (id:prefer-SRV02-PASSIVE)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Resource: SRV02-opensips<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Enabled on: PSIP-SRV02-active (score:100) (id:prefer-SRV02-ACTIVE)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> Enabled on: PSIP-SRV02-passive (score:99) (id:prefer-SRV02-PASSIVE)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'>Ordering Constraints:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> SRV01-IP then SRV01-opensips (score:INFINITY) (id:SRV01-opensips-after-ip)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> SRV02-IP then SRV02-opensips (score:INFINITY) (id:SRV02-opensips-after-ip)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'>Colocation Constraints:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> SRV01-opensips with SRV01-IP (score:INFINITY) (id:SRV01-opensips-with-ip)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> SRV02-opensips with SRV02-IP (score:INFINITY) (id:SRV02-opensips-with-ip)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'>Cluster Properties:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> cluster-infrastructure: cman<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> …<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-GB style='font-family:Consolas'> symmetric-cluster: false<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Everything works fine, until the moment that one of those nodes is rebooted. In the last case the problem occurred with a reboot of PSIP-SRV01-passive, that wasn’t providing the service at that moment.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>To be noted that all opensips nodes had the opensips service to be started on boot by initd, which was removed in the meanwhile.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>The problem is that the service SRV01-opensips is detected to be started on both PSIP-SRV01-active and PSIP-SRV01-passive, and the SRV02-opensips is detected to be started on both PSIP-SRV01-active and PSIP-SRV02-active.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>After that and several operations done by the cluster, which include actions to stop both SRV01-opensips on both PSIP-SRV01-active and PSIP-SRV01-passive, and to stop SRV02-opensips on PSIP-SRV01-active and PSIP-SRV02-active, which fail on PSIP-SRV01-passive, the resource SRV01-opensips becomes unmanaged.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Any ideas on how to fix this?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:black;mso-fareast-language:PT'>Nuno Pereira<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:black;mso-fareast-language:PT'>G9Telecom</span><span lang=EN-GB style='font-size:9.0pt;font-family:"Arial Black","sans-serif";color:#333333;mso-fareast-language:PT'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div></body></html>