<div dir="ltr">T<div style="font-family:'courier new',monospace;display:inline" class="gmail_default">he only real problem is that it would consume a lot of IP addresses when exposing the public interfaces.   I _think_ I may have the solution in your blog actually:  <a href="http://www.sebastien-han.fr/blog/2012/10/19/highly-available-lvs/">http://www.sebastien-han.fr/blog/2012/10/19/highly-available-lvs</a>/</div>
<div><span style="font-family:'courier new',monospace"><div style="font-family:'courier new',monospace;display:inline" class="gmail_default">and</div></span></div><div><a href="http://clusterlabs.org/wiki/Using_ldirectord">http://clusterlabs.org/wiki/Using_ldirectord</a></div>
<div><span style="font-family:'courier new',monospace"><div style="font-family:'courier new',monospace;display:inline" class="gmail_default"><br></div></span></div><div><span style="font-family:'courier new',monospace"><div style="font-family:'courier new',monospace;display:inline" class="gmail_default">
I am trying to weigh the pros and cons of this method vs keepalived/haproxy and just biting the bullet and using one IP per service.</div></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 4:17 AM, Sébastien Han <span dir="ltr"><<a href="mailto:han.sebastien@gmail.com" target="_blank">han.sebastien@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What's the problem to have one IP on service pool basis?</div><div class="gmail_extra"><br clear="all">
<div><div>--</div>Regards,<div>Sébastien Han.</div></div><div><div class="h5">
<br><br><div class="gmail_quote">On Wed, Feb 13, 2013 at 8:45 PM, Samuel Winchenbach <span dir="ltr"><<a href="mailto:swinchen@gmail.com" target="_blank">swinchen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><font face="courier new,monospace">What if the VIP is created on a different host than keystone is started on?   It seems like you either need to set </font><font face="courier new, monospace">net.ipv4.ip_nonlocal_bind = 1 or create a colocation in pacemaker (which would either require all services to be on the same host, or have an ip-per-service).  </font><div>



<font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 13, 2013 at 2:28 PM, Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">There we go<div><a href="https://review.openstack.org/#/c/21581/" target="_blank">https://review.openstack.org/#/c/21581/</a><div>



<br><div>
<span style="border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">



<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div><div style="font-style:normal;font-size:medium;font-family:Helvetica"><font color="#13708a">Tel : <a href="tel:%2B33%209%2072%2037%2094%2015" value="+33972379415" target="_blank">+33 9 72 37 94 15</a></font></div>



</span></span></span></span></span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Arial;word-spacing:0px">



<span><img height="125" width="125"></span>
</div>
<br></div><div><div>Le 13 févr. 2013 à 20:15, Razique Mahroua <<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>> a écrit :</div><br><blockquote type="cite"><div style="word-wrap:break-word">



<div>I'm currently updating that part of the documentation - indeed it states that two IPs are used, but in fact, you end up with only one VIP for the API service.<div>I'll send the patch tonight</div></div>
<div><br><div><div>
<span style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="font-weight:normal;font-family:Helvetica;font-size:medium;font-style:normal">



<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div><div style="font-family:Helvetica;font-size:medium;font-style:normal"><font color="#13708a">Tel : <a href="tel:%2B33%209%2072%2037%2094%2015" value="+33972379415" target="_blank">+33 9 72 37 94 15</a></font></div>



</span></span></span></span></span><br style="font-family:Arial;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">



</div><span><NUAGECO-LOGO-Fblan_petit.jpg></span>
</div><div><div>
<br><div><div>Le 13 févr. 2013 à 20:05, Samuel Winchenbach <<a href="mailto:swinchen@gmail.com" target="_blank">swinchen@gmail.com</a>> a écrit :</div><br><blockquote type="cite"><div dir="ltr"><font face="courier new, monospace">In that documentation it looks like each openstack service gets it own IP (keystone is being assigned 192.168.42.103 and glance is getting 192.168.42.104).   </font><div>



<br>
</div><div><font face="courier new, monospace">I might be missing something too because in the section titled "Configure the VIP" it create a primitive called "p_api-ip" (or p_ip_api if you read the text above it) and then in "Adding Keystone resource to Pacemaker" it creates a group with "p_ip_keystone"???</font></div>




<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Stranger yet, "</font><span style="font-family:Verdana,Geneva,sans-serif">Configuring OpenStack Services to use High Available Glance API" says:  "</span><span style="font-family:Verdana,Geneva,sans-serif;font-size:13.63636302947998px">For Nova, for example, if your Glance API service IP address is 192.168.42.104 as in the configuration explained here, you would use the following line in your </span><code style="font-size:13.63636302947998px">nova.conf</code><span style="font-family:Verdana,Geneva,sans-serif;font-size:13.63636302947998px"> file : </span><span style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:11.818181991577148px">glance_api_servers = 192.168.42.103"  But, in the step before it set:  "</span><span style="color:rgb(35,48,45);font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:11.818181991577148px">registry_host = 192.168.42.104"?</span></div>




<div><br></div><div><font color="#23302d" face="Monaco, Courier New, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace"><span style="font-size:12px">So I am not sure which ip you would connect to here...  </span></font></div>




<div><font color="#23302d" face="Monaco, Courier New, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace"><span style="font-size:12px"><br></span></font></div><div><font color="#23302d" face="Monaco, Courier New, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace"><span style="font-size:12px">Sam</span></font></div>




<div><font face="courier new, monospace"><br></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 13, 2013 at 1:29 PM, JuanFra Rodriguez Cardoso <span dir="ltr"><<a href="mailto:juanfra.rodriguez.cardoso@gmail.com" target="_blank">juanfra.rodriguez.cardoso@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Samuel:<div><br></div><div>Yes, it's possible with pacemaker. Look at <a href="http://docs.openstack.org/trunk/openstack-ha/content/ch-intro.html" target="_blank">http://docs.openstack.org/trunk/openstack-ha/content/ch-intro.html</a>.</div>





<div><br></div><div>Regards,</div><div><div>JuanFra</div>
<br><br><div class="gmail_quote">2013/2/13 Samuel Winchenbach <span dir="ltr"><<a href="mailto:swinchen@gmail.com" target="_blank">swinchen@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div>
<div dir="ltr"><font face="courier new,monospace">Hi All,</font><div><font face="courier new,monospace"><br></font></div><div><font face="courier new,monospace">I currently have a HA OpenStack cluster running where the OpenStack services are kept alive with a combination of haproxy and keepalived.</font></div>






<div><font face="courier new,monospace"><br></font></div><div><font face="courier new, monospace">Is it possible to configure pacemaker so that all the OpenStack services  are served by the same IP?  With keepalived I have a virtual ip that can move from server to server and haproxy sends the request to a machine that has a "live" service.   This allows one (public) ip to handle all incoming requests.  I believe it is the combination of VRRP/IPVS that allows this.</font></div>






<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Is it possible to do something similar with pacemaker?  I really don't want to have an IP for each service, and I don't want to make it a requirement that all OpenStack services must be running on the same server.</font></div>






<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Thanks... I hope this question is clear, I feel like I sort of butchered the wording a bit.</font></div><div>
<font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Sam</font></div></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>



Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>



</blockquote></div><br></div></div></div></div></blockquote></div><br></div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>