[Planetlab-devel] Re: [Fwd: [CVS] new_plc_www/planetlab/sites index.php]

Stephen Soltesz soltesz at CS.Princeton.EDU
Mon Jul 23 14:17:39 EDT 2007


Hey, Thierry,

I don't think there is confusion.  It does sound like we have different 
policies for how/when sites get entered in the database.

We started our approach because we maintain different levels of service: 
some sites get only two slices for max_slices, others get 10.

Before Tony verified that the site enable/disable attribute did what we 
want, we removed a site's ability to create slices by setting max_slices to 
zero.  This caused a problem when returning the ability to create slices, 
because we did not know what to reset it to: 2 or 10?  This came up for 
newly registered sites as well as those disabled during day-to-day 
operations, by Monitor, for instance.

Do you have different levels of service like this?  If so, where do you 
store the ultimate value for max_slices between site registration and the 
site's nodes coming online?  We wanted to keep it all in once place, the DB.

Thank you,
Stephen.

Thierry Parmentelat wrote:
> Hi Stephen
> 
> Just so you know, in our implementation:
> * a site marked disabled is a site with pending registration
> * once the paperware has been filled and approved, the site moves to 
> enabled, with max_slices=0
> * and once the nodes are up and running max_slices get increased
> 
> (I vaguely remember having said something one day about that sort of 
> things, I hope I haven't created confusion..)
> 
> -- Thierry
> 
> -------- Original Message --------
> Subject:     [CVS] new_plc_www/planetlab/sites index.php
> Date:     Mon, 23 Jul 2007 10:59:12 -0400
> From:     Stephen Soltesz <soltesz at planet-lab.org>
> To:     cvs at lists.planet-lab.org
> 
> 
> 
> Update of /cvs/new_plc_www/planetlab/sites
> In directory poppins.CS.Princeton.EDU:/tmp/cvs-serv3569
> 
> Modified Files:
>     index.php Log Message:
> 
> + Add an indication of whether the site is enabled or disabled.  This 
> reflects
> the recent change of placing new sites into the DB as 'disabled' rather 
> than
> having max_slices ==0.  Without this patch there is not way to tell the
> difference.
> 
> _______________________________________________
> CVS mailing list
> CVS at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/cvs



More information about the Devel mailing list