<HTML>
<HEAD>
<TITLE>Re: [Openstack] Multiple nova-api's...</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The way suggested here would setup them as different ec2 entry points though right? (the different port part).<BR>
<BR>
If you have one nova-api on one machine Y with X port and then another nova-api on another machine Z with X port would that work.<BR>
<BR>
It would seem possible, just not sure if the code would handle that correctly (is everything really stateless...) <BR>
<BR>
That way if Y machine dies, action will still occur on machine Z (just whatever Y may be doing is dead – which may result in DB state & messages being incorrect?).<BR>
<BR>
It seems like rabbitmq has active/passive failure, has anyone looked into that?<BR>
<BR>
On 8/18/11 12:27 PM, "Everett Toews" <<a href="everett.toews@cybera.ca">everett.toews@cybera.ca</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Yes and maybe (we're doing it).<BR>
<BR>
The individual nova-api processes need to run on their own port though.<BR>
<BR>
nova-api --flagfile=/etc/nova/nova.conf --logfile=/var/log/nova/nova-api-<port1>.log --ec2_listen_port=<port1><BR>
nova-api --flagfile=/etc/nova/nova.conf --logfile=/var/log/nova/nova-api-<port2>.log --ec2_listen_port=<port2><BR>
<BR>
you can fire up multiple nova-api processes with something like monit. Then you can load balance between them with something like haproxy.<BR>
<BR>
Everett<BR>
<BR>
On Thu, Aug 18, 2011 at 11:43 AM, Joshua Harlow <<a href="harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Is it possible to have multiple nova-api’s, nova-networks running in the same instance (connected to the same db/rabbitmq)?<BR>
<BR>
Say that you want to have fault tolerance, so you would have multiple instances of these, so that if one failed the whole iaas system would not.<BR>
<BR>
Is that something typically done? <BR>
<BR>
_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
Post to     : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>