Broker 10.15 | webMethods Broker Documentation | Administering webMethods Broker | Managing Broker Servers | Stopping Broker Server | Stopping Broker Server Using the broker_stop Command
 
Stopping Broker Server Using the broker_stop Command
If you want to stop a Broker Server from the command line, use the broker_stop command-line utility.
The broker_stop utility functions as an admin client and issues the stop request to the Broker Server through the network. If the Broker Server is protected by an access control list (ACL), you must include identity parameters that identify you as an authorized administrator of the Broker Server.
For additional information about the broker_stop command, see broker_stop.
*To stop a Broker Server from the command line (using broker_stop)
1. On the machine where Broker Server is installed, navigate to the following directory:
webMethods Broker_directory /bin
2. Run the following command:
broker_stop hostName:portNum-monitor_port monitorPort idParams
Where...
Specifies...
hostName
The name of the host machine on which the Broker Server is installed. If hostName is omitted, localhost is used.
portNum
The Broker Server's base port number. If portNum is omitted, port 6849 is used.
monitorPort
The port number (default 6850) of the Broker Monitor that is monitoring the Broker Server.
idParams
Your identity as an authorized administrator of the Broker Server. You must include the following identity parameters if the Broker Server is protected by an ACL:
-certfile fileName
The fully-qualified name of the keystore file that contains your certificate.
-password password
Password for the certificate file. The utility will prompt you for the password if you omit this parameter from the command line.
-dn name
The distinguished name associated with the certificate that represents your identity. You can omit this parameter if the certificate file contains only one certificate.
The following examples show how you can use broker_stop:
broker_stop
broker_stop atlas:6845
 
broker_stop atlas:6845 -monitor_port 8850
 
broker_stop atlas -certfile \keystores\myKeystore.cert -password oak11
-dn "CN=Broker Admin,OU=IT,O=webMethods,L=Santa Clara,ST=CA,C=US"
 
broker_stop atlas -monitor_port 8850 -certfile \keystores\myKeystore.cert
-password oak11 -dn "CN=Broker Admin,OU=IT,O=webMethods,L=Santa
Clara,ST=CA,C=US"