Hi David, On Thu, Sep 8, 2011 at 1:05 AM, mathog <mat...@caltech.edu> wrote: > Failing that, is there an easy way to dump > the host/queue description to a text file, edit > that, and then re-create from the modified descriptions? There are a > bunch of text configuration files in the > SGE directory, but I'm guessing that editing/renaming those directly > is a big no no.
Well, it'd probably work, but the risk is to forget some. Instead, you can use qconf to dump queue definitions. Something along the lines of: # qconf -sql | while read QUEUE ; do echo "****************** ${QUEUE} **********************" qconf -sq ${QUEUE} done For host renaming, though, the safest route is probably to: 0. remove the old queues (qconf -dq <queue>) 1. remove old nodes from SGE configuration (qconf -de <old_hostname> for execution hosts) 2. change hostnames on the old nodes (depends on your OS) 3. re-add the new old nodes (qconf -ae <new_hostname> for execution hosts) 4. recreate the queues from the previous dump (qconf -aq <queue>, and paste/edit the dumps) Cheers, -- Kilian _______________________________________________ Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf