Start, Stop and Execute My webMethods Server Commands on Multiple Server Instances
If you want to start, stop, or execute a My webMethods Server command on all server instances at one go, there are commands associated with all server instances, installed on a machine.
You cannot execute My webMethods Server commands on multiple server instances when the instances are running in containers. By default, these scripts are excluded from the official My webMethods Server images and Docker scripts and do not take effect even when explicitly included in a custom image.
To start, stop, or execute a command on all server instances
1. At a command line prompt, type the following command to move to the command’s home directory:
cd Software AG_directory\MWS\bin
2. Type one the following commands:
The following table lists command syntax for executing My webMethods Server commands on multiple server instances:
Purpose | Operating system | Command |
Execute a command on all server instances. The following commands are not supported: run new ant | Windows | mwsall.bat |
UNIX | mwsall.sh |
Start all server instances. The server instances are started consequently in alphabetical order. On Windows operating systems, the command starts a server instance as a service if it has a registered service, otherwise it starts the instance as a process. On UNIX based operating systems, the command starts the instances as processes only. | Windows | startall.bat |
UNIX | startall.sh |
Stop the server instances. The command calls mws.{bat|sh} stopfor all server instances. | Windows | stopall.bat |
UNIX | stopall.sh |