[Hedeby users] Re: [GE users] SDM issues
richard.hierlmeier at sun.com
Mon Aug 3 07:48:33 BST 2009
> Hi Richard,
>>> But, I observed that the startupCloudHosts hook only wake up one host at
>> a time instead of multiple hosts. So I am wondering how the cloud
>> startup hook calculates the number of needed hosts.
>> Try to set the min/max parameter in the cloud adapter config to lets say 5.
>> Cloud Adapter will start in a first step one cloud host. The first cloud
>> host is
>> treated a vpn server and it is started always as a single first host . In
>> second step it will start the next 4 missing hosts in a single action (by
>> calling startupCloudsHost 4).
>> The GE adapter (if it requests 100 hosts) will get first the 1 host (vpn
>> and later the 4 additional hosts. If cloud adapter has no more active
>> (=resources) the resource request of GE adapter can not be fulfilled. GE
>> adapter must wait until the resource amount optimizer has provided the
>> additional hosts. When a resource is moved out of the cloud adapter the
>> amount optimizer tries to fill the gab. I will startup additional cloud
>> It can start more than one host in a single action.
> Are you suggesting to set like below in the optimizer configuration?
> <cloud_adapter:optimizer xsi:type="cloud_adapter:MinMaxResourceAmountOptimizerConfig"
With setting max=5 and min=1 your power saving cloud adapter will keep always 5
hosts alive and it will only startup one resource in one action. At startup of
the cloud adapter it will ensure that 1 resource is started. If there are more
then 5 resources alive it will shutdown the excess.
For your use case setting max=min=n should be more suitable (where n is the
number of spare hosts that should be always kept alive). At startup the cloud
adapter will check that at least n host are alive. GE adapter will get then up
to n hosts for a resource request.
As I wrote in a previous email the resource amount optimizer strategy for the
cloud adapter of SDM 1.0u3 does not fit perfectly for the power saving use case.
However we are working on it for the next feature release.
> - Chansup
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Richard Hierlmeier Phone: ++49 (0)941 3075-223
Software Engineering Fax: ++49 (0)941 3075-222
Sun Microsystems GmbH
Dr.-Leo-Ritter-Str. 7 mailto: richard.hierlmeier at sun.com
D-93049 Regensburg http://www.sun.com/grid
Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
More information about the gridengine-users