This page provides init scripts, which may be used to start WebMethods services when the system comes up, or shut them down cleanly.
All init scripts are following Red Hat conventions: They are stored in /etc/init.d. They are activated, for example, using
/sbin/chkconfig --add wmbroker
Likewise, services can be disabled using
/sbin/chkconfig --del wmbroker
Each script is configured through a file in /etc/sysconfig. These scripts are specifying variables.
The script wmbroker is used to start/stop the Broker. It is supporting the following variables in /etc/sysconfig/wmbroker:
Configures the brokers home directory, defaults to /opt/webMethods7/Broker.
Configures the user, under which the broker is running. Defaults to wm. May be empty, in which case root is assumed.
The script wmis is used to start/stop the Integration Server. It is supporting the following variables in /etc/sysconfig/wmis:
Configures the integration servers home directory, defaults to /opt/webMethods7/IntegrationServer.
Configures the user, under which the integration server is running. Defaults to wm. May be empty, in which case root is assumed.
The script wmmws is used to start/stop the MWS (My Webmethods Server). It is supporting the following variables in /etc/sysconfig/wmmws:
Configures the servers home directory, defaults to /opt/webMethods7/MWS.
Configures the user, under which the MWS is running. Defaults to wm. May be empty, in which case root is assumed.
The script wmdataCollector is used to start/stop the Optimize Data Collector. It is supporting the following variables in /etc/sysconfig/wmdataCollector:
Configures the data collectors root directory, defaults to /opt/webMethods7/optimize/dataCollector.
Configures the user, under which the data collector is running. Defaults to wm. May be empty, in which case root is assumed.
Note: Due to a bug in the WebMethods installer, setting the user ID in the OPT_DC_USER variable is not sufficient, as of this writing. Additionally, you need to change the variable OPTIMIZE_USER in $OPT_DC_ROOT_DIR/bin/kenobiEnv.sh manually, before using this script. This variable is hard coded to the value
OPTIMIZE_USER=webmbam
Suggested is to comment it out, or enter the same value than OPT_DC_USER:
OPTIMIZE_USER=wm
The script wmanalysis is used to start/stop the Optimize Analytic Engine. It is supporting the following variables in /etc/sysconfig/wmanalysis:
Configures the analytic engines root directory, defaults to /opt/webMethods7/optimize/analysis.
Configures the user, under which the analytic engine is running. Defaults to wm. May be empty, in which case root is assumed.
Note: Due to a bug in the WebMethods installer, setting the user ID in the OPT_AN_USER variable is not sufficient, as of this writing. Additionally, you need to change the variable OPTIMIZE_USER in $OPT_AN_ROOT_DIR/bin/kenobiEnv.sh manually, before using this script. This variable is hard coded to the value
OPTIMIZE_USER=webmbam
Suggested is to comment it out, or enter the same value than OPT_AN_USER:
OPTIMIZE_USER=wm
The script wmprediction is used to start/stop the Optimize Prediction Engine. It is supporting the following variables in /etc/sysconfig/wmprediction:
Configures the prediction engines root directory, defaults to /opt/webMethods7/optimize/prediction.
Configures the user, under which the prediction engine is running. Defaults to wm. May be empty, in which case root is assumed.
Note: Due to a bug in the WebMethods installer, setting the user ID in the OPT_PR_USER variable is not sufficient, as of this writing. Additionally, you need to change the variable OPTIMIZE_USER in $OPT_PR_ROOT_DIR/bin/kenobiEnv manually, before using this script. This variable is hard coded to the value
OPTIMIZE_USER=webmbam
Suggested is to comment it out, or enter the same value than OPT_PR_USER:
OPTIMIZE_USER=wm
The script wmcentrasite is used to start/stop CentraSite GE. It is supporting the following variables in /etc/sysconfig/wmcentrasite:
Configures the CentraSite root directory, defaults to /opt/webMethods7/CentraSiteGE7.
Configures the user, under which CentraSite is running. Defaults to wm. May be empty, in which case root is assumed.