Enable/Disable Plugins
Only use the desired plugins
cray_rur) configuration changes are done within the Cray configuration management framework. Changes are made either during an interactive configurator session or by modifying the cray_rur worksheet. The worksheet method is described in the procedure to initially enable and configure RUR. This procedure invokes an interactive configurator session, which would likely be the method used when only enabling or disabling plugins.- Invoke an interactive configurator session.This example shows that
gpustatis enabled,taskstatis disabled, anddwsis not defined, which renders it disabled.smw# cfgset update -m interactive -s cray_rur -l advanced p0 Service Configuration Menu (Config Set: p0, type: cle) cray_rur [ status: enabled ] [ validation: valid ] ----------------------------------------------------------------- Selected # Settings Value/Status (level=basic) ----------------------------------------------------------------- ... gpustat 10) enable True 11) stage /opt/cray/rur/default/bin/gpustat_stage.py 12) post default=/opt/cray/rur/default/bin/ gpustat_post.py taskstats 13) enable False 14) stage /opt/cray/rur/default/bin/taskstats_stage.py 15) post /opt/cray/rur/default/bin/taskstats_post.py 16) arg json-dict ... dws 31) enable [ unconfigured, default=False ] 32) stage [ unconfigured, default=/opt/cray/rur/default /bin/dws_stage.py ] 33) post [ unconfigured, default=/opt/cray/rur/default /bin/dws_post.py ] ... - Disable a plugin:
- Select the number corresponding to its
enablesetting.RUR service Menu [default: save & exit - Q] $ 10
The setting is highlighted:gpustat * 10) enable True
- Set
enabletofalse.RUR service Menu [default: configure - C] $ C ... ray_rur.settings.gpustat.data.enable [<cr>=keep 'true', <new value>, ?=help, @=less] $ false
Theenablestatus changes.gpustat 10) enable False
- Select the number corresponding to its
- To enable a configured plugin:
- Select the number corresponding to its
enablesetting.RUR service Menu [default: save & exit - Q] $ 13
The setting is highlighted:taskstat * 13) enable False
- Set
enabletotrue.RUR service Menu [default: configure - C] $ C ... ray_rur.settings.taskstat.data.enable [<cr>=keep 'false', <new value>, ?=help, @=less] $ true
Theenablestatus changes.taskstat * 13) enable True
- Select the number corresponding to its
- To enable an unconfigured plugin:
- Select the number corresponding to its
enablesetting.RUR service Menu [default: save & exit - Q] $ 31
The setting is highlighted:dws * 31) enable [ unconfigured, default=False ]
- Set
enabletotrue.RUR service Menu [default: configure - C] $ C ... ray_rur.settings.dws.data.enable [<cr>=keep 'false', <new value>, ?=help, @=less] $ true
Theenablestatus changes.dws * 31) enable True
- Configure all of the plugin's other settings.
RUR service Menu [default: save & exit - Q] $ 32 RUR service Menu [default: configure - C] $ C cray_rur.settings.dws.data.stage [<cr>=set '/opt/cray/rur/default/bin/dws_stage.py', <new value>, ?=help, @=less] $ <cr> RUR service Menu [default: save & exit - Q] $ 33 RUR service Menu [default: configure - C] $ C cray_rur.settings.dws.data.post [<cr>=set '/opt/cray/rur/default/bin/dws_post.py', <new value>, ?=help, @=less] $ <cr>
- Select the number corresponding to its
- Save and exit the configurator.
RUR service Menu [default: save & exit - Q] $ Q
To apply these configuration changes, refresh the appropriate nodes with the updated config set.