[gridengine users] change qname
prentice at ias.edu
Thu Apr 12 12:57:38 UTC 2012
On 04/12/2012 07:50 AM, Bartosz Biegun wrote:
> It is possible to change name of queue?
> I try qconf -mq name, but with no effects.
Sort of. What you'd really be doing is adding a new queue with the same
configuration as the old queue, and then deleting the old queue. For
example, if I wanted to rename my queue "all.q" to "new.q", I would do this:
1.Use 'qconf -sq' to write the configuration of all.q to a text file:
qconf -sq all.q > new.q.txt
2. Edit new.q.txt and replace the line
3. Use 'qconf -a' to create a new queue, using the configuration
information in the text file new.q.txt:
qconf -Aq new.q.txt
4. Test, test, test! Make sure the new queue works as desired before
deleting the old queue
5. Remove the old queue with 'qconf -dq'
qconf -dq all.q
Keep in mind this will affect accounting statistics. For more
information on that, see the man pages for qacct and accounting
More information about the users