You are here: 3 Scheduler Commands > Commands > mrmctl

3.29 mrmctl

3.29.1 Synopsis

mrmctl -f [<fobject>] {<rmid>|AM[:<amid>]|ID[:<imid>]}

mrmctl -l [<rmid>|AM[:<amid>]]

mrmctl -m <attr>=<value> [<rmid>]

mrmctl -p {<rmid>|AM[:<amid>]}

mrmctl -q AccountBalanceCache AM[:<amid>]

mrmctl -R {AM[:<amid>]|ID[:<imid>]}

3.29.2 Overview

mrmctl allows an admin to query, list, modify, and ping the resource managers and accounting managers in Moab. mrmctl also allows for a queue (often referred to as a class) to be created for a resource manager.

3.29.3 Access

By default, this command can be run by level 1 and level 2 Moab administrators (see ADMINCFG).

3.29.4 Options

-f
Format -f[<fobject>] where fobject is optional and one of messages[ID[:id]] or stats.
Default If no fobject is specified, then reported failures and performance data will be flushed. If no resource manager id is specified, the first resource manager will be flushed.
Description Clears resource manager statistics. If messages is specified, then reported failures, performance data, and messages will be flushed.
Example
> mrmctl -f base

Moab will clear the statistics for RM base.

-l
Format -l
Default All RMs and AMs (when no RM/AM is specified)
Description List Resource and Accounting Manager(s)
Example
> mrmctl -l

Moab will list all resource and accounting managers.

-m
Format -m <attr>=<val>
Default All RMs and AMs (when no RM/AM is specified).
Description Modify Resource and Accounting Manager(s).
Example
> mrmctl -m state=disabled peer13
-p
Format -p
Default First RM configured.
Description Ping Resource Manager.
Example
> mrmctl -p base

Moab will ping RM base.

-q
Format -q AccountBalanceCache
Default ---
Description When an accounting manager is being used and the fast-allocation accounting mode is configured, this option queries Moab's internal cache of account balances. See 5.5.2 Accounting Mode. Also see Select an Appropriate Accounting Mode in the Moab Accounting Manager Administrator Guide for more information.
Example
> mrmctl -q AccountBalanceCache AM
-R
Format -R
Description Dynamically reloads server information for the identity manager service if ID is specified; if AM is specified, reloads the accounting manager service.
Example
> mrmctl -R ID
Reloads the identity manager on demand.

Resource manager interfaces can be enabled/disabled using the modify operation to change the resource manager state as in the following example:

# disable active resource manager interface
> mrmctl -m state=disabled torque
# restore disabled resource manager interface
> mrmctl -m state=enabled torque

Related Topics 

© 2016 Adaptive Computing