Manage using command line tools

There are several command line tools that you can use to start, stop, and monitor WebSphere server processes and nodes. These tools only work on local servers and nodes. They cannot operate on a remote server or node. To administer a remote server, you can use the wsadmin scripting program connected to the deployment manager for the cell in which the target server or node is configured. See Deploying and managing using scripting for more information about using the wsadmin scripting program. One can also use the V5 administrative console which runs in the deployment manager for the cell. For more information about using the administrative console, see Deploying and managing with the GUI.

To manage using command line tools, perform the following steps:

 

  1. Open a system command prompt.

  2. Change to the bin directory.

  3. Run the command.

 

Results

The command executes the requested function and produces a log file that records useful information about the parameters passed to the command and the output produced by the command. When you use the -trace option for the command, the additional trace data is captured in the command log file. The directory location for the log files is under the default system log root directory except for commands related to a specific server instance, in which case the log directory for that server is used. One can override the default location for the command log file using the -logfile option for the command.


Security and the command line tools
startServer command
stopServer command
startManager command
stopManager command
startNode command
stopNode command
addNode command
serverStatus command
removeNode command
cleanupNode command
syncNode command
backupConfig command
restoreConfig command
EARExpander command

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.