Peter,
If you are interested we developed (and announced a couple of times on this
list) an alternate version of the standard plugin that uses MAUI
configuration, instead of Torque one, to report the number of job slots,
taking into account the standing reservations configured and accessible to
each queue/VO.
The RPM can be downloaded at
<http://quattorsrv.lal.in2p3.fr/packages/glite/3.2/updates/lcg-info-dynamic-maui-2.0.3-2.noarch.rpm>.
The source code is available at
https://svn.lal.in2p3.fr/LCG/QWG/LAL/GIP/maui (SVN repository).
Cheers,
Michel
--On lundi 15 novembre 2010 13:46 +0100 Öttl Peter <[log in to unmask]> wrote:
> strange... on other Maui sites this gives an output.
>
> Anyway, I think it would be very useful if there's an interface so that
> sites can use their custom script to report the number of free job slots.
>
> Are you willing to implement such an interface?
>
> Cheers,
>
> Peter
>
> On Nov 11, 2010, at 10:45 AM, Jeff Templon wrote:
>
>> Hi Peter,
>>
>> I just tried it with '-c ' for all our queues.
>>
>> stro:~> for q in $(qstat -q | awk '/lhcb/, /atlas/ {print $1}')
>> do
>> echo queue $q
>> showbf -c $q
>> for> done
>>
>> queue lhcb
>> no procs available
>>
>> queue medium
>> no procs available
>>
>> queue infra
>> no procs available
>>
>> queue short
>> no procs available
>>
>> queue dzero
>> no procs available
>>
>> queue alice
>> no procs available
>>
>> queue ekster
>> no procs available
>>
>> queue atlas
>> no procs available
>>
>> I also tried it with a queue we do not have, and got the same answer:
>>
>> stro:~> showbf -c peter.ottl
>> no procs available
>>
>> I can give it many crazy arguments, the only one which appears to
>> generate an error is if I tell it a server host that does not exist:
>>
>> stro:~> showbf -A --host=hairball.nikhef.nl -q lhcdzero -c markus
>> ERROR: cannot connect to 'hairball.nikhef.nl' port 40559
>>
>> The command does not inspire much confidence! If we make the changes
>> you suggest, we will have to emphasize that only experts should use the
>> feature.
>>
>> JT
*************************************************************
* Michel Jouvin Email : [log in to unmask] *
* LAL / CNRS Tel : +33 1 64468932 *
* B.P. 34 Fax : +33 1 69079404 *
* 91898 Orsay Cedex *
* France *
*************************************************************
|