You are here: 17 Object Triggers > References > Resource Manager Triggers

17.14 Resource Manager Triggers

Triggers attached to the resource manager follow the same basic rules and formats as attaching them to other objects; however, not all attribute options are valid for each object. The resource manager, like other objects, has a unique set of trigger rules. The table below details the methods, options, and other notable details that come with attaching triggers to RMs.

17.14.1 Creation Methods

Method Format Example
Command line on existing RM: mschedctl - c mschedctl -c trigger <trigSpec> -o rm:<rmID>

> mschedctl -c trigger EType=start,AType=exec,Action="/tmp/rmStart.sh" -o rm:torque

RM configuration in moab.cfg: RMCFG RMCFG[<name>] TRIGGER=<trigSpec>

RMCFG[base] TRIGGER=EType=fail,AType=exec,Action="/opt/moab/tools/diagnose_rm.pl $OID"

17.14.2 Valid Event Types

17.14.3 Valid Action Types

© 2016 Adaptive Computing