The stopNode script

The stopNode script reads the configuration file for the network deployment node agent process. It sends a Java Management Extensions (JMX) command to the node agent that tells the node agent to shut down

Product

The stopNode script is available in the WebSphere Application Server product only.

Authority

To run this script, your user profile must have *ALLOBJ authority. For information on setting explicit authorities for a user profile that does not have *ALLOBJ authority, see Set explicit authorities for the startServer and stopServer scripts.

Syntax

The syntax of the stopNode script is:

stopNode [ -instance instance ] [ -nowait ] [ -quiet ] [ -logfile filename ]
  [ -replacelog ] [ -trace ] [ -timeout seconds ] [ -statusport statusportnumber ]
  [ -port portnumber ] [ -username username ] [ -password password ]
  [ -conntype type ] [ -stopservers ] [ -help | -? ]

Parameters

The parameters of the stopNode script are:

Examples

These examples demonstrate correct syntax:

stopNode

This example stops the node agent for the default instance.

stopNode -instance myNode -nowait

This example stops the node agent associated with the myNode instance and returns control to the user without waiting for the node agent process to stop completely.

stopNode -instance myNode -stopservers

This example stops the node agent associated with the myNode instance and stops all of the application servers that are running on the node.