(Click to open topic with navigation)
Synopsis
mrmctl -f [fobject] {rmName|am:[amid]} mrmctl -l [rmid|am:[amid]] mrmctl -m <attr>=<value> [rmid|am:[amid]] mrmctl -p {rmid|am:[amid]} mrmctl -R {am|id}[:rmid]}}
Overview
mrmctl allows an admin to query, list, modify, and ping the resource managers and allocation managers in Moab. mrmctl also allows for a queue (often referred to as a class) to be created for a resource manager.
Access
By default, this command can be run by level 1 and level 2 Moab administrators (see ADMINCFG).
Format
-l - List | |
---|---|
Format | N/A |
Default | All RMs and AMs (when no RM/AM is specified) |
Description | List Resource and Allocation Manager(s) |
Example |
> mrmctl -l Moab will list all resource and allocation managers. |
-m - Modify | |
---|---|
Format | N/A |
Default | All RMs and AMs (when no RM/AM is specified). |
Description | Modify Resource and Allocation Manager(s). |
Example |
> mrmctl -m state=disabled peer13 |
-p - Ping | |
---|---|
Format | N/A |
Default | First RM configured. |
Description | Ping Resource Manager. |
Example |
> mrmctl -p base Moab will ping RM base. |
-R - Reload | |
---|---|
Format | {am|id}[:rmid]}} |
Description | Dynamically reloads server information for the identity manager service if id is specified; if am is specified, reloads the allocation manager service. |
Example |
> mrmctl -R id |
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