Re: [DISCUSS] Granular Global Parameters

2013-04-16 Thread Nitin Mehta
Also as Mice asked do we plan to restart MS to update say config changes we make at zone/cluster level ? For now I would suggest to stop using the class variables (which get loaded during the class initiation time) and introduce a generic interface with methods (input as name and scope id) to

Re: [DISCUSS] Granular Global Parameters

2013-04-16 Thread Abhinandan Prateek
On 16/04/13 12:14 PM, Nitin Mehta nitin.me...@citrix.com wrote: Also as Mice asked do we plan to restart MS to update say config changes we make at zone/cluster level ? That is how things are currently handled in MS. You need to restart MS after any config change. For now I would suggest to

RE: [DISCUSS] Granular Global Parameters

2013-04-16 Thread Mice Xia
- From: Abhinandan Prateek [mailto:cloudst...@aprateek.com] Sent: Tuesday, April 16, 2013 3:17 PM To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Granular Global Parameters On 16/04/13 12:14 PM, Nitin Mehta nitin.me...@citrix.com wrote: Also as Mice asked do we plan to restart MS to update

Re: [DISCUSS] Granular Global Parameters

2013-04-16 Thread Abhinandan Prateek
...@aprateek.com] Sent: Tuesday, April 16, 2013 3:17 PM To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Granular Global Parameters On 16/04/13 12:14 PM, Nitin Mehta nitin.me...@citrix.com wrote: Also as Mice asked do we plan to restart MS to update say config changes we make at zone/cluster level

Re: [DISCUSS] Granular Global Parameters

2013-04-15 Thread Abhinandan Prateek
For Granular params, I am proposing that we use updateConfiguration command with two additional parameters i.e. scope_type and scope_id. Where scope_type can be zone, account, cluster or pool and scope_id will be the corresponding id of that scope. We also similarly overload listConfiguration

Re: [DISCUSS] Granular Global Parameters

2013-04-15 Thread Harikrishna Patnala
Yes Abhi I agree with you, this approach will eliminate the usage of multiple APIs. We can specify scope for each configuration parameter both in config.java file and configuration table. We will not set the default values during the creation of resource (Zone/cluster/pool/account). Whenever

Re: [DISCUSS] Granular Global Parameters

2013-04-14 Thread Abhinandan Prateek
@cloudstack.apache.org Subject: Re: [DISCUSS] Granular Global Parameters On 10/04/13 6:30 PM, David Nalley da...@gnsa.us wrote: On Wed, Apr 10, 2013 at 7:08 AM, Harikrishna Patnala harikrishna.patn...@citrix.com wrote: Hi all, There are many global parameters which are used to set values

Re: [DISCUSS] Granular Global Parameters

2013-04-11 Thread Nitin Mehta
global config at runtime ( no need to restart mgmt server)? Regards Mice -Original Message- From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com] Sent: Thursday, April 11, 2013 11:37 AM To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Granular Global Parameters On 10/04/13 6

[DISCUSS] Granular Global Parameters

2013-04-10 Thread Harikrishna Patnala
Hi all, There are many global parameters which are used to set values/limits/boolean for various operations, but these parameters effects all zones/clusters/accounts/storage based on the parameter. Here I would like to discuss on granulising these parameters so that these parameters can be

Re: [DISCUSS] Granular Global Parameters

2013-04-10 Thread David Nalley
On Wed, Apr 10, 2013 at 7:08 AM, Harikrishna Patnala harikrishna.patn...@citrix.com wrote: Hi all, There are many global parameters which are used to set values/limits/boolean for various operations, but these parameters effects all zones/clusters/accounts/storage based on the parameter.

Re: [DISCUSS] Granular Global Parameters

2013-04-10 Thread Abhinandan Prateek
On 10/04/13 6:30 PM, David Nalley da...@gnsa.us wrote: On Wed, Apr 10, 2013 at 7:08 AM, Harikrishna Patnala harikrishna.patn...@citrix.com wrote: Hi all, There are many global parameters which are used to set values/limits/boolean for various operations, but these parameters effects all

RE: [DISCUSS] Granular Global Parameters

2013-04-10 Thread Mice Xia
to restart mgmt server)? Regards Mice -Original Message- From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com] Sent: Thursday, April 11, 2013 11:37 AM To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Granular Global Parameters On 10/04/13 6:30 PM, David Nalley da