SGE_EXECD(8) | Grid Engine Administrative Commands | SGE_EXECD(8) |
sge_execd, sge_loadsensor - Grid Engine job execution agent and load sensor interface
sge_execd [ -help ]
sge_execd controls the Grid Engine queues local to the machine on which sge_execd is running and executes/controls the jobs sent from sge_qmaster(8) to be run on these queues via sge_shepherd(8) or the shepherd_cmd of sge_conf(5).
Prints a listing of all options.
One of more load sensors may be configured for sge_execd via the possibilities listed in sge_conf(5): the global host configuration, the execution-host-specific cluster configuration, the default qloadsensor, or qidle (when USE_QIDLE is set - see sge_conf(5)). The executable path of the load sensor is invoked by sge_execd on a regular basis (governed by load_report_time in sge_conf(5)), and delivers one or multiple load figures for the execution host (e.g. users currently logged in) or the complete cluster (e.g. free disk space on a network wide scratch file system). A load sensor may be a script or a binary executable. In either case its handling of the STDIN and STDOUT streams and its control flow must comply with the following rules. Load sensors are restarted if their modification time changes or they are killed. If they read a configuration file, for instance, killing will be necessary to pick up modifications to it unless the sensor will re-read a modified version.
The load sensor must be written as an infinite loop, waiting at a certain point for input from STDIN. If the string "quit" is read from STDIN, the load sensor should exit. When an end-of-line is read from STDIN, a load data retrieval cycle should start. The load sensor then performs whatever operation is necessary to compute the desired load figures. At the end of the cycle the load sensor writes the result to stdout. The format is as follows:
NB. If the runtime of the language in which the sensor is written buffers the output (e.g. Perl), ensure it is flushed on each iteration.
The name of the default cell, i.e. default.
sge_execd usually is started from root on each machine in the Grid Engine pool. If started by a normal user, a spool directory must be used to which the user has read/write access. In this case only jobs being submitted by that same user are handled correctly by the system.
<sge_root>/<cell>/common/configuration Grid Engine global configuration <sge_root>/<cell>/common/local_conf/<host> Grid Engine host specific configuration <sge_root>/<cell>/spool/<host> Default execution host spool directory <sge_root>/<cell>/common/act_qmaster Grid Engine master host file <sge_root>/bin/<arch>/qloadsensor Default load sensor <sge_root>/bin/<arch>/qidle Idle load sensor per USE_QIDLE in execd_params <sge_root>/<cell>/common/sgepasswd Password information used on Microsoft Windows hosts. See sgepasswd(5).
sge_intro(1), sge_conf(5), complex(5), load_parameters(5), sgepasswd(5), sge_shepherd(8), sge_qmaster(8).
See sge_intro(1) for a full statement of rights and permissions.
2011-12-29 | SGE 8.1.3pre |