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
- Copy the existing AppNode config.ini file (located in the root of the AppNode folder) to a temporary location.
-
Uncomment the engine
ThreadCount property
bw.engine.threadCount and change the default value as needed.
bw.engine.threadCount=8
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
- 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 .
-
Uncomment the engine
ThreadCount property
bw.engine.threadCount and change the default value as needed.
bw.engine.threadCount=8
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
Copyright © Cloud Software Group, Inc. All rights reserved.