On 10/03/16 10:15, Reuti wrote:

Am 10.03.2016 um 10:45 schrieb William Hay <[email protected]>:

On Thu, Mar 10, 2016 at 08:19:35AM +0000, [email protected]
wrote:
Hi,



Is it possible to keep an old queue name (test.q) we have deleted
already as an alias name for the newly created queue(prod.q).

I've had the same problem recently - and my first thought was along the lines of a queue alias feature. Shame it doesn't exist.

This way we could continue to work with old scripts.
Grid Engine doesn't have direct support for this AFAICT hHowever
you can rewrite the requested queue from a JSV.  Depending on where
you put the jsv you might have to add a dummy test.q to convince
grid engine to accept the queue.

I ended up deciding against a dummy queue - I created a wrapper script that does the queue name verification/rewrite and then aliased qsub to that in the cluster environment setup.

BTW: This is something I wondered about. GridEngine will check
whether the requests are allowed and known before and after the JSV
is run. This leads to exactly the situation that a dummy queue is
needed. Would there be any flaw if the internal check by GridEngine
is done only after the JSV has run? This would allow the JSV to
correct any mis-submission and/or pseudo/dummy/alias to be resolved,
being it names of queues or complexes.

Agree - it would be nice if one had a script hook for a JSV (or something along those lines) that ran before Grid Engine does the verification. Would spare me rather a lot of helpdesk calls :)

Tina

--
Tina Friedrich, Computer Systems Administrator, Diamond Light Source Ltd
Diamond House, Harwell Science and Innovation Campus - 01235 77 8442

--
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to