Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-20 Thread Daniel Molina
Hi Sam,

Lot of issues have been fixed since one-4.0, therefore upgrading to the
last version is recommended.

In OpenNebula you can run sunstone on top of apache but memcache is not
supported, so you have to force only one server instance in your apache
configuration, otherwise authentication won't work.

Cheers


On 18 March 2014 12:34, sam song  wrote:

> hi all,
>
> I saw that we can deploy sunstone on apache2 with passenger module in the
> official document. But how about the sunstone of ONE 4.0 version? How to do
> that? The same as for ONE 4.4?
>
> In my installation, there are 4 host and about ten vms. There are several
> users using sunstone to admin ONE. Today, I found the process which is
> running sunstone-server.rb using 100% cpu time for a long time.
>
> The offical document said the default thin server is suit for small or
> medium deployment. But how to find it is suit or not?
>
> Thanks
>
> Sam
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-20 Thread Daniel Molina
On 20 March 2014 17:54, Daniel Molina  wrote:

> In OpenNebula you can run sunstone on top of apache but memcache is not
> supported, so you have to force only one server instance in your apache
> configuration, otherwise authentication won't work.


This applies to one-4.0, in one-4.4 memcache is supported


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-20 Thread sam song

Hi all,

Thanks for your reply.

I have configured one 4.0 to run in apache2 as a vhost, but there is an 
another issue.
After I login to sunstone successfully and the dashboard is shown, the 
browser is directed to the login page again at once.

I think it may be a misconfiguration issue.
I only changed the sunstone listening ip, session is managed by memory.

Any advice?

Sam


? 2014?03?21? 01:01, Daniel Molina ??:


On 20 March 2014 17:54, Daniel Molina > wrote:


In OpenNebula you can run sunstone on top of apache but memcache
is not supported, so you have to force only one server instance in
your apache configuration, otherwise authentication won't work.


This applies to one-4.0, in one-4.4 memcache is supported


--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org  | 
dmol...@opennebula.org  | @OpenNebula


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-21 Thread Daniel Molina
On 21 March 2014 03:39, sam song  wrote:

>  Hi all,
>
> Thanks for your reply.
>
> I have configured one 4.0 to run in apache2 as a vhost, but there is an
> another issue.
> After I login to sunstone successfully and the dashboard is shown, the
> browser is directed to the login page again at once.
> I think it may be a misconfiguration issue.
> I only changed the sunstone listening ip, session is managed by memory.
>

Are you using Apache as a proxy or are you using Passenger?



>
> Any advice?
>
> Sam
>
>
> 于 2014年03月21日 01:01, Daniel Molina 写道:
>
>
> On 20 March 2014 17:54, Daniel Molina  wrote:
>
>> In OpenNebula you can run sunstone on top of apache but memcache is not
>> supported, so you have to force only one server instance in your apache
>> configuration, otherwise authentication won't work.
>
>
> This applies to one-4.0, in one-4.4 memcache is supported
>
>
>  --
>  --
>  Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-21 Thread sam song
Hi Daniel,

I am using Passenger with apache2, configured according to [1].

[1]
http://docs.opennebula.org/4.4/advanced_administration/scalability/suns_advance.html#running-sunstone-with-passenger-in-apache


于 2014年03月21日 17:33, Daniel Molina 写道:
>
>
>
> On 21 March 2014 03:39, sam song  > wrote:
>
> Hi all,
>
> Thanks for your reply.
>
> I have configured one 4.0 to run in apache2 as a vhost, but there
> is an another issue.
> After I login to sunstone successfully and the dashboard is shown,
> the browser is directed to the login page again at once.
> I think it may be a misconfiguration issue.
> I only changed the sunstone listening ip, session is managed by
> memory.
>
>
> Are you using Apache as a proxy or are you using Passenger?
>
>
> Any advice?
>
> Sam
>
>
> 于 2014年03月21日 01:01, Daniel Molina 写道:
>>
>> On 20 March 2014 17:54, Daniel Molina > > wrote:
>>
>> In OpenNebula you can run sunstone on top of apache but
>> memcache is not supported, so you have to force only one
>> server instance in your apache configuration, otherwise
>> authentication won't work.
>>
>>
>> This applies to one-4.0, in one-4.4 memcache is supported
>>
>>
>> -- 
>> --
>> Daniel Molina
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org  |
>> dmol...@opennebula.org  | @OpenNebula
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org 
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> -- 
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org  |
> dmol...@opennebula.org  | @OpenNebula

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-24 Thread Daniel Molina
Then, you'll have to limit the number of processes that are spawned by
passenger (PassengerMaxProcesses) or upgrade opennebula to the last version
and configure the memcache sessions


On 22 March 2014 01:45, sam song  wrote:

>  Hi Daniel,
>
> I am using Passenger with apache2, configured according to [1].
>
> [1]
> http://docs.opennebula.org/4.4/advanced_administration/scalability/suns_advance.html#running-sunstone-with-passenger-in-apache
>
>
> 于 2014年03月21日 17:33, Daniel Molina 写道:
>
>
>
>
> On 21 March 2014 03:39, sam song  wrote:
>
>>  Hi all,
>>
>> Thanks for your reply.
>>
>> I have configured one 4.0 to run in apache2 as a vhost, but there is an
>> another issue.
>> After I login to sunstone successfully and the dashboard is shown, the
>> browser is directed to the login page again at once.
>> I think it may be a misconfiguration issue.
>> I only changed the sunstone listening ip, session is managed by memory.
>>
>
>  Are you using Apache as a proxy or are you using Passenger?
>
>
>
>>
>> Any advice?
>>
>> Sam
>>
>>
>> 于 2014年03月21日 01:01, Daniel Molina 写道:
>>
>>
>> On 20 March 2014 17:54, Daniel Molina  wrote:
>>
>>> In OpenNebula you can run sunstone on top of apache but memcache is not
>>> supported, so you have to force only one server instance in your apache
>>> configuration, otherwise authentication won't work.
>>
>>
>> This applies to one-4.0, in one-4.4 memcache is supported
>>
>>
>>  --
>>  --
>>  Daniel Molina
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
>>
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
>  --
>  --
>  Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
>
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-31 Thread Daniel Molina
Sorry, the memcache feature was also supported in one-4.0, you just have to
configure it:
http://archives.opennebula.org/documentation:archives:rel4.0:suns_advance#configuring_memcached

Cheers


On 24 March 2014 09:51, Daniel Molina  wrote:

> Then, you'll have to limit the number of processes that are spawned by
> passenger (PassengerMaxProcesses) or upgrade opennebula to the last version
> and configure the memcache sessions
>
>
> On 22 March 2014 01:45, sam song  wrote:
>
>>  Hi Daniel,
>>
>> I am using Passenger with apache2, configured according to [1].
>>
>> [1]
>> http://docs.opennebula.org/4.4/advanced_administration/scalability/suns_advance.html#running-sunstone-with-passenger-in-apache
>>
>>
>> 于 2014年03月21日 17:33, Daniel Molina 写道:
>>
>>
>>
>>
>> On 21 March 2014 03:39, sam song  wrote:
>>
>>>  Hi all,
>>>
>>> Thanks for your reply.
>>>
>>> I have configured one 4.0 to run in apache2 as a vhost, but there is an
>>> another issue.
>>> After I login to sunstone successfully and the dashboard is shown, the
>>> browser is directed to the login page again at once.
>>> I think it may be a misconfiguration issue.
>>> I only changed the sunstone listening ip, session is managed by memory.
>>>
>>
>>  Are you using Apache as a proxy or are you using Passenger?
>>
>>
>>
>>>
>>> Any advice?
>>>
>>> Sam
>>>
>>>
>>> 于 2014年03月21日 01:01, Daniel Molina 写道:
>>>
>>>
>>> On 20 March 2014 17:54, Daniel Molina  wrote:
>>>
 In OpenNebula you can run sunstone on top of apache but memcache is not
 supported, so you have to force only one server instance in your apache
 configuration, otherwise authentication won't work.
>>>
>>>
>>> This applies to one-4.0, in one-4.4 memcache is supported
>>>
>>>
>>>  --
>>>  --
>>>  Daniel Molina
>>> Project Engineer
>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
>>>
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>>  --
>>  --
>>  Daniel Molina
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
>>
>>
>>
>
>
> --
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
>



-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org