bwadmin Command Line

Execute the following commands at the command line to set the engine and job tuning properties at the AppNode level or the AppSpace level.

AppNode level

Procedure

  1. Copy the existing AppNode config.ini file (located in the root of the AppNode folder) to a temporary location.
  2. Uncomment the engine ThreadCount property bw.engine.threadCount and change the default value as needed.
    bw.engine.threadCount=8
  3. Uncomment the engine StepCount property bw.engine.stepCount and change the default value as needed. The default value of -1 allows the engine to determine the necessary value.
    bw.engine.stepCount=-1
  4. Uncomment the application FlowLimit property bw.application.job.flowlimit and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the FlowLimit value will apply to all the components in the application.
    bw.application.job.flowlimit.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=8
  5. Uncomment the application PageThreshold property bw.application.job.pageThreshold and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the PageThreshold value will apply to all the components in the application.
    bw.application.job.pageThreshold.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=10
  6. Uncomment the application paging strategy property bw.application.job.paging.strategy and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the PageThreshold value will apply to all the components in the application.
    bw.application.job.paging.strategy.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=PageOnIdle
  7. Uncomment the application Priority property bw.application.job.priority and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the Priority value will apply to all the components in the application.
    bw.application.job.priority.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=normal
  8. Uncomment the application Retain Faulted Job property bw.application.checkpoint.retainFaultedJob and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the Retain Faulted Job value will apply to all the components in the application.
    bw.application.checkpoint.retainFaultedJob.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=false
  9. Uncomment the application Recover On Restart property bw.application.checkpoint.recoverOnRestart and change the default value as needed.The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the Recover On Restart value will apply to all the components in the application.
    bw.application.checkpoint.recoverOnRestart.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=true
  10. Save the edited file(s) and use theconfig admin command to push the configuration to the AppNode:
    bwadmin[admin]> config –d myDomain -a myAppSpace –n myAppNode 
        –cf <temporaryLocation>/config.ini

AppSpace level

Procedure

  1. Copy the existing AppSpace config.ini file (located in the root of the AppSpace folder), or the AppSpace config.ini template file appspace_config.ini_template (located in BW_HOME/config/) to a temporary location .
  2. Uncomment the engine ThreadCount property bw.engine.threadCount and change the default value as needed.
    bw.engine.threadCount=8
  3. Uncomment the engine StepCount property bw.engine.stepCount and change the default value as needed. The default value of -1 allows the engine to determine the necessary value.
    bw.engine.stepCount=-1
  4. Uncomment the application FlowLimit property bw.application.job.flowlimit and change the default value as needed. Provide the application name. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the FlowLimit value will apply to all the components in the application.
    bw.application.job.flowlimit.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=8
  5. Uncomment the application PageThreshold property bw.application.job.pageThreshold and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the PageThreshold value will apply to all the components in the application.
    bw.application.job.pageThreshold.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=10
  6. Uncomment the application paging strategy property bw.application.job.paging.strategy and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the PageThreshold value will apply to all the components in the application.
    bw.application.job.paging.strategy.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=PageOnIdle
  7. Uncomment the application Priority property bw.application.job.priority and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the Priority value will apply to all the components in the application.
    bw.application.job.priority.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=normal
  8. Uncomment the application Retain Faulted Job property bw.application.checkpoint.retainFaultedJob and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the Retain Faulted Job value will apply to all the components in the application.
    bw.application.checkpoint.retainFaultedJob.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=false
  9. Uncomment the application Recover On Restart property bw.application.checkpoint.recoverOnRestart and change the default value as needed. The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the Recover On Restart value will apply to all the components in the application.
    bw.application.checkpoint.recoverOnRestart.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=true
  10. Save the edited file(s) and use theconfig admin command to push the configuration to the AppSpace:
    bwadmin[admin] > config -d myDomain -a myAppSpace -cf 
    				<temporaryLocation>/config.ini