Enable/Disable Plugins

Only use the desired plugins

RUR (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.
  1. Invoke an interactive configurator session.
    This example shows that gpustat is enabled, taskstat is disabled, and dws is 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 ]
    ...
  2. Disable a plugin:
    1. Select the number corresponding to its enable setting.
      RUR service Menu [default: save & exit - Q] $ 10
      The setting is highlighted:
                       gpustat
         *     10)       enable              True
    2. Set enable to false.
      RUR service Menu [default: configure - C] $ C
      ...
      ray_rur.settings.gpustat.data.enable
      [<cr>=keep 'true', <new value>, ?=help, @=less] $ false
      The enable status changes.
                       gpustat
               10)       enable              False
  3. To enable a configured plugin:
    1. Select the number corresponding to its enable setting.
      RUR service Menu [default: save & exit - Q] $ 13
      The setting is highlighted:
                       taskstat
         *     13)       enable              False
    2. Set enable to true.
      RUR service Menu [default: configure - C] $ C
      ...
      ray_rur.settings.taskstat.data.enable
      [<cr>=keep 'false', <new value>, ?=help, @=less] $ true
      The enable status changes.
                       taskstat
         *     13)       enable               True
  4. To enable an unconfigured plugin:
    1. Select the number corresponding to its enable setting.
      RUR service Menu [default: save & exit - Q] $ 31
      The setting is highlighted:
                       dws
         *     31)       enable              [ unconfigured, default=False ]
    2. Set enable to true.
      RUR service Menu [default: configure - C] $ C
      ...
      ray_rur.settings.dws.data.enable
      [<cr>=keep 'false', <new value>, ?=help, @=less] $ true
      The enable status changes.
                       dws
         *     31)       enable               True
    3. 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>
      
  5. 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.