[one-users] how to use Haproxy for Frontend load balance

Carlos Martín Sánchez cmartin at opennebula.org
Thu Aug 29 02:33:38 PDT 2013


Hi,

OpenNebula is not designed to be deployed in an active-active
configuration. We cache lots of things from the DB in oned, so two
different oned processes will not coordinate.

With the right configuration, however, it is very unlikely that oned will
be the cloud bottleneck. This will be even truer in 4.4, as we are adding
more tuning parameters to the xml-rpc server [1].
You can deploy the Sunstone server behind a load balancer, see [2].

If what you are after is high availability, there are some how-tos in our
blog [3] and the community wiki [4].

Regards

[1] http://dev.opennebula.org/issues/2245
[2] http://opennebula.org/documentation:rel4.2:suns_advance
[3] http://blog.opennebula.org/?p=1523
[4] http://wiki.opennebula.org/


--
Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Wed, Aug 28, 2013 at 3:00 PM, Romany Nageh <engromanynageh at gmail.com>wrote:

> how to use Haproxy for Frontend  load balance
>
> i am using two frontEnd and on database server
>
> After frontend1 insert in the database .Frontend2 find conflict to insert
> in the database.
>
> I.e
>
> when front1 create 2user with id (14,15) it inset it correctly. after that
> if Front2 try to create  new user give conflict error
>
> if we restart opennebula service on front2 it can work.and after insert
> one record front1 will have the same problem
>
> SQL command was: INSERT INTO user_pool (oid, name, body, uid, gid,
> owner_u, group_u, other_u) VALUES
> (14,'kkkk','<USER><ID>14</ID><GID>1</GID><GNAME>users</GNAME><NAME>kkkk</NAME><PASSWORD>12d860be3734010a62e9b1015e75471d61dbceb5</PASSWORD><AUTH_DRIVER>core</AUTH_DRIVER><ENABLED>1</ENABLED><TEMPLATE><TOKEN_PASSWORD><![CDATA[b97cb083ce53d73d8c2a6be2e51e08cbaa16a392]]></TOKEN_PASSWORD></TEMPLATE><DATASTORE_QUOTA></DATASTORE_QUOTA><NETWORK_QUOTA></NETWORK_QUOTA><VM_QUOTA></VM_QUOTA><IMAGE_QUOTA></IMAGE_QUOTA></USER>',14,1,1,0,0),
> error 1062 : Duplicate entry '14' for key 'PRIMARY'
>
>
> any one know where opennebula save metadata or why he still see id 14 not
> 16(expected user id)
>
> Please any one can help me?
>
> thanks
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130829/6310e520/attachment-0002.htm>


More information about the Users mailing list