QconfCommands

From UniCluster

Some Common qconf Commands

qconf is the Grid Engine command line tool used for most administrative tasks. The following list includes the most frequently used options for qconf:


Contents

To add and remove administrative privileges from a host

 qconf -ah # gives host administrative privileges
 
 qconf -dh # removes administrative privileges from host


To add an execution host

1. Make the new host an administrative host:

 qconf -ah <hostname>

2. As root on this new host, run the following script from $SGE_ROOT:

 install_execd


To remove an execution host

1. Delete all queues associated with this host:

 qconf -dq <queuenames...>

2. Delete the host:

 qconf -de <hostname>

3. Delete the configuration for the host:

 qconf -dconf <hostname>


To add and remove submit hosts

 qconf -as <hostname> # host is now a submit host
 
 qconf -ds <hostname> # jobs may not be submitted from host


Display current administrative/submit/execution hosts

 qconf -sh # show current administrative hosts
 
 qconf -ss # show current submit hosts
 
 qconf -sel # show current execution host list


To administer queues

 qconf -aq <queuename> # adding a queue
 
 qconf -dq <queuename> # delete a queue
 
 qconf -mq <queuename> # modify a queue
 
 qconf -Aq <filename> # adding a queue from file
 
 qconf -mattr queue ... # change single attributes of more than one queue


Back to Administrative How Tos.