<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: trebuchet ms,sans-serif; font-size: 10pt; color: #000000'><div><br></div><hr id="zwchr"><blockquote id="DWT653" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Felipe Gutierrez" <felipe.o.gutierrez@gmail.com><br><b>To: </b>pacemaker@oss.clusterlabs.org<br><b>Sent: </b>Thursday, December 13, 2012 2:41:35 PM<br><b>Subject: </b>[Pacemaker] problem with float IP with pacemaker<br><br>Hi,<br><br>I tryed to make this configuration of failover floating IP on my cluster: <br><br>on the master:<br><span style="font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;" id="internal-source-marker_0.6590900370103926">crm configure</span><br>
<span style="font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">primitive ClusterIP ocf:heartbeat:IPaddr2 params ip=192.168.188.80 cidr_netmask=32 op monitor interval=30s</span><br>
<span style="font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">commit<br><br>After this I configured the quorum:<br>
</span>crm configure property no-quorum-policy=ignore<br><span style="font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;"><br>
I stop the corosync on master machine and the IP float to the slave machine. But when I start the corosync on the master machine, the IP doesn't float back.<br>Does anyone know why?</span><br></blockquote>I'm not sure the guide is correct in showing the IP going back to the master machine with that basic configuration...  You would need at least one of these three things before the cluster would fail-back the IP to the master when it comes back:<br>Location preference for the master<br>Modification of resource-stickiness<br>More than one resource configured<br><br>On the next page of the guide "<span style="color: rgb(0, 0, 0); font-family: 'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',helvetica,verdana,arial,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15.4667px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: rgb(255, 255, 255); display: inline ! important; float: none;">By default, Pacemaker assumes there is zero cost associated with moving resources and will do so to achieve "optimal</span><sup style="widows: 2; orphans: 2; color: rgb(153, 153, 153); margin: 0em; padding: 0em; line-height: 0.4em; font-size: 1em; font-family: 'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',helvetica,verdana,arial,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: rgb(255, 255, 255);">[<a id="id790210" href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Clusters_from_Scratch/ch05s03s02.html#ftn.id790210" class="footnote" style="widows: 2 ! important; orphans: 2 ! important; outline: medium none; font-size: 0.7em; margin: 0em; color: rgb(128, 128, 128); position: relative; border-bottom-width: 1px; border-bottom-style: dotted;">15</a>]</sup><span style="color: rgb(0, 0, 0); font-family: 'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',helvetica,verdana,arial,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15.4667px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: rgb(255, 255, 255); display: inline ! important; float: none;">" resource placement." - I don't see anything in the basic config that would make the cluster move the IP back to master.<br><br>HTH<br><br>Jake<br></span><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">i am following this site:<br>
<a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Clusters_from_Scratch/ch05s03.html" target="_blank">http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Clusters_from_Scratch/ch05s03.html</a><br><br>Thanks in advance,<br>
Felipe<br clear="all"><br>-- <br><b>--<br>-- Felipe Oliveira Gutierrez<br>-- <a href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b><br>

<br>_______________________________________________<br>Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br>http://oss.clusterlabs.org/mailman/listinfo/pacemaker<br><br>Project Home: http://www.clusterlabs.org<br>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>Bugs: http://bugs.clusterlabs.org<br></blockquote><br></div></body></html>