[one-users] Load balance for sunstone

Zeeshan Ali Shah zashah at pdc.kth.se
Thu Feb 7 13:15:53 PST 2013


I am looking forward to open nebula 4.0 for this issue . meanwhile i started passenger standalone with proxy manual from nginx .

BR

Zeeshan


On W3-Jan 14, 2013, at 6:27 PM, Daniel Molina wrote:

> Hi,
> 
> On 10 January 2013 11:53, Zeeshan Ali Shah <zashah at pdc.kth.se> wrote:
>> Thanks Hector,
>> 
>> We are running thin  . here is gem list
>> 
>> -- any hint to run it with passenger ? right now i start it with bin/sunstone-server restart command.
>> 
>> apache+passenger module is another option for this beside apache+passenger  do we have have to change some parts of sunstone to run with passenger ?
> 
> Some changes are required in sunstone to make it work with Passenger.
> Actually, these changes will be included in OpenNebula 4.0:
> 
> http://dev.opennebula.org/issues/1370
> 
> Cheers
> 
>> 
>> 
>> 
>> gem list
>> 
>> *** LOCAL GEMS ***
>> 
>> bundler (1.2.2)
>> daemons (1.1.9)
>> eventmachine (1.0.0)
>> json (1.7.5)
>> rack (1.4.1)
>> rack-protection (1.2.0)
>> rake (10.0.2)
>> rubygems-bundler (1.1.0)
>> rvm (1.11.3.5)
>> sequel (3.41.0)
>> sinatra (1.3.3)
>> thin (1.5.0)
>> tilt (1.3.3)
>> 
>> 
>> Zeeshan
>> 
>> On W2-Jan 9, 2013, at 6:54 PM, Hector Sanjuan wrote:
>> 
>>> If your sunstone performs so bad I doubt that is something you can solve by load balancing.
>>> 
>>> Is it running with Webbrick or with thin (i.e. is the thin gem installed?)? I would check gem versions in general... make sure you are running the latest etc. thin can launch several processes too (-s) so you can try using it along with nginx.
>>> 
>>> You can also try proxying with Apache+passenger which will also take care of spanning several processes...
>>> 
>>> Hector
>>> 
>>> On Wed, 09 Jan 2013 11:13:49 +0100, Zeeshan Ali Shah <zashah at pdc.kth.se> wrote:
>>> 
>>>> HI,
>>>> We are running sunstone as proxy with nginx . during testing with only 2 users the server hanged . nginx was fine but sunstone went belly up (very slow with no error in debug)
>>>> 
>>>> 1. any way we can increase number of processes for sunstone ?
>>>> 2. or running sunstone with different ports on same system and load balance them from nginx ?
>>>> 
>>>> any hint ?
>>>> 
>>>> Regards
>>>> 
>>>> Zeeshan
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>> 
>>> 
>>> --
>>> Hector Sanjuan
>>> @hecsanjuan
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 
> -- 
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula



More information about the Users mailing list