This topic describes how you can run a supplied script to start,
stop, and restart CM Server.
CM
Server is usually started at boot time. If you need to stop or restart CM
Server (for example, to force it to read a changed configuration file), navigate
to the
CM/bin directory and run one of the following
three scripts (for the UNIX
® system and Linux
®) or services (for Windows
®).
These scripts start and stop both IBM
® HTTP Server and WebSphere
® Application Server components
of CM Server:
- cmserver_startup starts CM Server if it is not running.
- cmserver_shutdown stops CM Server.
- cmserver_restart runs the cmserver_shutdown and cmserver_startup commands,
in that order, to restart CM Server.
You can also manually start and stop CM Server by running the
commands contained in the scripts. The following examples stop and start the
default profile:
If you have more than one profile in use (for example, one for CM Server
and another for RequisitePro
® Web),
you must also specify the profile on the command. For example:
- On Windows:
%was_bin%\stopServer server1 -profileName cmprofile
%was_bin%\startServer server1 -profileName cmprofile
- On the UNIX system
and Linux:
$WAS_BIN/stopServer server1 -profileName cmprofile
$WAS_BIN/startServer server1 -profileName cmprofile
On Windows, you can also start, shutdown, or restart
these services by clicking . From here,
you can access the following services:
- IBM HTTP
Server 6.1
- IBM WebSphere Application
Server Version 6.1 - cmprofile