create queue
> qconf -aq [queue_name]

delete queue
> qconf -dq [queue_name]

manage queue
> qconf -mq [queue_name]

list queue
> qconf -sql

create parallel environment
> qconf -ap [pe-name]

delete parallel environment
> qconf -dp [pe-name]

manage parallel environment
> qconf -mp [pe-name]

list parallel environment
> qconf -spl

create host_list
> qconf -ah [host_list_name]

* create host_list
The default hostgroup is called @allhosts. To create a new hostgroup use the qconf -Ahgrp file_name command where the configuration file file_name has the structure described in man hostgroup.

Example:
> cat merlin0809.hgrp
group_name @merlin0809
hostlist merlin08 merlin09

>qconf -Ahgrp merlin0809.hgrp
added "@merlin0809" to host group list

> qconf -shgrpl
@allhosts
@merlin0809

> qconf -shgrp @merlin0809
group_name @merlin0809
hostlist merlin08 merlin09

The host groups are stored in the directory $SGE_ROOT/$SGE_CELL/spool/qmaster/hostgroups, e.g.:
> cat /opt/gridengine/default/spool/qmaster/hostgroups/@merlin0809
# Version: GE 6.0u7
#
# DO NOT MODIFY THIS FILE MANUALLY!
#
group_name @merlin0809
hostlist merlin08 merlin09


delete host_list
> qconf -dh [host_list_name]

manage host_list
> qconf -mhgrp [host_list_name]

list host_list
> qconf -shgrpl

list hosts in host_list
> qconf -shgrp [host_list_name]

 

Posted by 옥탑방람보
,