Michael DeHaan wrote:
Bill Peck wrote:
> Michael DeHaan wrote:
>
>
>> Bill Peck wrote:
>>
>>
>>
>>> Vreman, Peter wrote:
>>>
>>>
>>>
>>>
>>>> Please find a couple of small patches for background tasks:
>>>>
>>>> Improvements:
>>>> - Add background_power_system method. This makes it powering 10 systems
with HP ILO using usefull, because it will take 20 seconds instead of 10x20=200 seconds.
>>>>
>>>>
>>>>
>>>>
>>>>
>>> is this optional? The reason I ask is we have some power bars that can
>>> only have one connection at a time. If you make all the power commands
>>> run in parallel then it will fail for anything but the first command.
>>>
>>>
>>>
>>>
>> I'm wondering if we need to add some logic that needs to exist /outside/
>> the template to do this?
>>
>> In general what Peter speaks of is right, and if it's just a WTI thing
>> perhaps a hack just for that is not so heinous.
>>
>>
>>
> its not just a WTI thing. A lot of these controllers don't have a lot
> of memory so its not uncommon for them to not be able to handle more
> than one connection. Especially if they support ssl connections. They
> don't have much for processors either.
>
> I think it would probably make sense to serialize requests to the same
> FQDN. This would allow for the best of both. ilo is typically per host
> so they would all go through right away.
>
>
To the same power id, perhaps.
Not to the same power id. That doesn't solve anything. Every system
has a different power id.
Look, I want things to be as fast as possible, but Accuracy should be
over speed.
Right now the power method in remote.py is a bit low-tech anyway,
what I
would suggest is to move some of the /action_power/ stuff up there
and see about teaching it about a list of systems, rather than making
one job for each system as it is presently implemented?
(i.e. make most operations operate on not just a single string/id, but a
list of strings/ids)
--Michael
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel